Skip to content

Commit 0fd31c7

Browse files
authored
Merge pull request #905 from amitamrutiya/add-token-new
feat: add new electedComponents token to sistent with new grey shades
2 parents b8ea04e + 8688851 commit 0fd31c7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/theme/colors/colors.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ export const charcoal = {
104104

105105
export const gray = {
106106
10: '#1A1A1A',
107-
20: '#212121'
107+
20: '#212121',
108+
30: '#303030'
108109
};
109110

110111
export const accentGrey = {

src/theme/palette.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module '@mui/material/styles' {
1919
default: string;
2020
};
2121
tabs?: string;
22+
elevatedComponents?: string;
2223
card?: string;
2324
tertiary?: string;
2425
hover?: string;
@@ -198,6 +199,7 @@ export const lightModePalette: PaletteOptions = {
198199
tertiary: Colors.accentGrey[80],
199200
tabs: Colors.accentGrey[100], // TODO: Make this name or token to more genric
200201
card: Colors.charcoal[100],
202+
elevatedComponents: Colors.WHITE,
201203
hover: Colors.charcoal[90],
202204
supplementary: Colors.accentGrey[40],
203205
blur: {
@@ -316,6 +318,7 @@ export const darkModePalette: PaletteOptions = {
316318
tertiary: Colors.accentGrey[30],
317319
tabs: Colors.gray[10], // TODO: Make this name or token to more genric
318320
card: Colors.gray[20],
321+
elevatedComponents: Colors.gray[30],
319322
hover: Colors.charcoal[20],
320323
supplementary: Colors.accentGrey[40],
321324
blur: {

0 commit comments

Comments
 (0)