Skip to content

Commit

Permalink
style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Aug 28, 2024
1 parent 10ca842 commit fda2291
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
Binary file removed src/assets/chart.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/assets/chart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Panels/SalePhaseInfoPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export const SalePhaseInfoPanel = () => {
variant='text'
className={styles.buttonWrapper}
sx={{
background: '#e8eff7',
color: theme.palette.text.secondary,
background: theme.palette.grey[100],
color: theme.palette.text.primary,
}}
onClick={() => openHistoryModal(true)}
data-cy='btn-purchase-history'
Expand Down
6 changes: 1 addition & 5 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ export default class MyDocument extends Document {
<Head>
<link rel='icon' href='/favicon.ico' />

{/* default style for MUI is Roboto */}
<link
rel='stylesheet'
href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap'
/>
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' />
{/* Inject MUI styles first to match with the prepend: true configuration. */}
{(this.props as any).emotionStyleTags}
</Head>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { getBalanceString } from '@/utils/functions';

import { PurchaseHistoryTable } from '@/components';

import Chart from '@/assets/chart.png';
import Chart from '@/assets/chart.svg';
import Config from '@/assets/config.png';
import Manage from '@/assets/manage.png';
import Trade from '@/assets/trade.png';
Expand Down
14 changes: 7 additions & 7 deletions src/utils/muiTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@ let theme = createTheme({
default: '#f6f7fa',
},
primary: {
contrastText: '#ecedef',
main: '#3868a9',
contrastText: '#f6f7fa',
main: '#3758F9',
},
success: {
main: '#68a938',
main: '#13C296',
},
grey: {
100: '#eeeff4',
200: '#8c8c8c',
},
text: {
primary: '#7e8591',
secondary: '#3868a9',
primary: '#637381',
secondary: '#8899A8',
},
common: {
white: '#fff',
},
warning: {
main: '#A93868',
main: '#FCD34D',
},
divider: '#efefef',
divider: '#F3F4F6',
},
typography: {
subtitle1: {
Expand Down
7 changes: 5 additions & 2 deletions styles/global.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
body, html {
body,
html {
height: 100vh;
}

Expand All @@ -8,4 +9,6 @@ body, html {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
font-family: 'Montserrat';
font-weight: 600;
}

0 comments on commit fda2291

Please sign in to comment.