Skip to content

Commit 6ffc4e5

Browse files
committed
style: add new green color
1 parent e16eb2a commit 6ffc4e5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/extension-polkagate/src/fullscreen/homeFullScreen/partials/TotalBalancePieChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function TotalBalancePieChart ({ setGroupedAssets }: Props): React.ReactElement
231231
withCountUp
232232
withSmallDecimal
233233
/>
234-
<Typography sx={{ color: !youHave.change ? 'secondary.contrastText' : youHave.change > 0 ? 'success.main' : 'warning.main', fontSize: '16px', fontWeight: 500 }}>
234+
<Typography sx={{ color: !youHave.change ? 'secondary.contrastText' : youHave.change > 0 ? 'success.contrastText' : 'warning.main', fontSize: '16px', fontWeight: 500 }}>
235235
<CountUp
236236
decimals={countDecimalPlaces(portfolioChange) || PORTFOLIO_CHANGE_DECIMAL}
237237
duration={1}

packages/extension-polkagate/src/popup/home/YouHave.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export default function YouHave (): React.ReactElement {
122122
/>
123123
</Grid>
124124
</Stack>
125-
<Typography sx={{ color: !youHave?.change ? 'secondary.contrastText' : youHave.change > 0 ? 'success.main' : 'warning.main', fontSize: '15px', fontWeight: 400 }}>
125+
<Typography sx={{ color: !youHave?.change ? 'secondary.contrastText' : youHave.change > 0 ? 'success.contrastText' : 'warning.main', fontSize: '15px', fontWeight: 400 }}>
126126
<CountUp
127127
decimals={countDecimalPlaces(portfolioChange) || PORTFOLIO_CHANGE_DECIMAL}
128128
duration={1}

packages/extension-polkagate/src/themes/dark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const darkTheme: ThemeOptions = {
4242
backgroundFL: { primary: '#000000', secondary: '#171717' },
4343
text: { primary: '#D5D5D5', secondary: '#000000', disabled: '#4B4B4B' },
4444
action: { disabled: '#fff', disabledBackground: '#4B4B4B', focus: '#BA82A5' },
45-
success: { main: '#1F7720', light: '#46890C' },
45+
success: { main: '#1F7720', light: '#46890C', contrastText: '#2ECC71' },
4646
warning: { main: '#FF002B' },
4747
divider: 'rgba(255, 255, 255, 0.1)'
4848
},

packages/extension-polkagate/src/themes/light.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const lightTheme: ThemeOptions = {
4141
backgroundFL: { primary: '#DFDFDF', secondary: '#F1F1F1' },
4242
text: { primary: '#63364D', secondary: '#FFFFFF', disabled: '#747474' },
4343
action: { disabled: '#fff', disabledBackground: '#989898', focus: '#BA82A5' },
44-
success: { main: '#1F7720', light: '#46890C' },
44+
success: { main: '#1F7720', light: '#46890C', contrastText: '#228B22' },
4545
warning: { main: '#FF002B' },
4646
divider: '#cecece'
4747
},

0 commit comments

Comments
 (0)