|
@@ -2,7 +2,7 @@
|
|
export const Colors = {
|
|
export const Colors = {
|
|
neutral: {
|
|
neutral: {
|
|
'0': '#FFFFFF',
|
|
'0': '#FFFFFF',
|
|
- '3': '#f9fafa',
|
|
|
|
|
|
+ '3': '#F9FAFA',
|
|
'5': '#F1F2F3',
|
|
'5': '#F1F2F3',
|
|
'10': '#E3E6E8',
|
|
'10': '#E3E6E8',
|
|
'15': '#D5DADD',
|
|
'15': '#D5DADD',
|
|
@@ -28,14 +28,19 @@ export const Colors = {
|
|
'60': '#29A352',
|
|
'60': '#29A352',
|
|
},
|
|
},
|
|
brand: {
|
|
brand: {
|
|
|
|
+ '5': '#E8E8FC',
|
|
|
|
+ '10': '#D1D1FA',
|
|
'20': '#A3A3F5',
|
|
'20': '#A3A3F5',
|
|
- '50': '#4F4FFF',
|
|
|
|
- '55': '#1717CF',
|
|
|
|
- '60': '#1414B8',
|
|
|
|
|
|
+ '50': '#4C4CFF',
|
|
|
|
+ '60': '#1717CF',
|
|
|
|
+ '70': '#1414B8',
|
|
},
|
|
},
|
|
red: {
|
|
red: {
|
|
'10': '#FAD1D1',
|
|
'10': '#FAD1D1',
|
|
|
|
+ '20': '#F5A3A3',
|
|
'50': '#E51A1A',
|
|
'50': '#E51A1A',
|
|
|
|
+ '55': '#CF1717',
|
|
|
|
+ '60': '#B81414',
|
|
},
|
|
},
|
|
yellow: {
|
|
yellow: {
|
|
'10': '#FFEECC',
|
|
'10': '#FFEECC',
|
|
@@ -95,14 +100,15 @@ const theme = {
|
|
button: {
|
|
button: {
|
|
primary: {
|
|
primary: {
|
|
backgroundColor: {
|
|
backgroundColor: {
|
|
- normal: Colors.brand[50],
|
|
|
|
- hover: Colors.brand[55],
|
|
|
|
- active: Colors.brand[60],
|
|
|
|
|
|
+ normal: Colors.brand[5],
|
|
|
|
+ hover: Colors.brand[10],
|
|
|
|
+ active: Colors.brand[20],
|
|
|
|
+ disabled: Colors.neutral[5],
|
|
},
|
|
},
|
|
- color: Colors.neutral[0],
|
|
|
|
|
|
+ color: Colors.neutral[90],
|
|
invertedColors: {
|
|
invertedColors: {
|
|
normal: Colors.brand[50],
|
|
normal: Colors.brand[50],
|
|
- hover: Colors.brand[55],
|
|
|
|
|
|
+ hover: Colors.brand[60],
|
|
active: Colors.brand[60],
|
|
active: Colors.brand[60],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -119,6 +125,20 @@ const theme = {
|
|
active: Colors.neutral[90],
|
|
active: Colors.neutral[90],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
+ danger: {
|
|
|
|
+ backgroundColor: {
|
|
|
|
+ normal: Colors.red[50],
|
|
|
|
+ hover: Colors.red[55],
|
|
|
|
+ active: Colors.red[60],
|
|
|
|
+ disabled: Colors.red[20],
|
|
|
|
+ },
|
|
|
|
+ color: Colors.neutral[90],
|
|
|
|
+ invertedColors: {
|
|
|
|
+ normal: Colors.brand[50],
|
|
|
|
+ hover: Colors.brand[60],
|
|
|
|
+ active: Colors.brand[60],
|
|
|
|
+ },
|
|
|
|
+ },
|
|
height: {
|
|
height: {
|
|
S: '24px',
|
|
S: '24px',
|
|
M: '32px',
|
|
M: '32px',
|
|
@@ -138,13 +158,14 @@ const theme = {
|
|
menu: {
|
|
menu: {
|
|
backgroundColor: {
|
|
backgroundColor: {
|
|
normal: Colors.neutral[0],
|
|
normal: Colors.neutral[0],
|
|
- hover: Colors.neutral[5],
|
|
|
|
- active: Colors.neutral[10],
|
|
|
|
|
|
+ hover: Colors.neutral[3],
|
|
|
|
+ active: Colors.neutral[5],
|
|
},
|
|
},
|
|
color: {
|
|
color: {
|
|
normal: Colors.neutral[50],
|
|
normal: Colors.neutral[50],
|
|
- hover: Colors.neutral[50],
|
|
|
|
- active: Colors.neutral[90],
|
|
|
|
|
|
+ hover: Colors.neutral[70],
|
|
|
|
+ active: Colors.brand[70],
|
|
|
|
+ isOpen: Colors.neutral[90],
|
|
},
|
|
},
|
|
statusIconColor: {
|
|
statusIconColor: {
|
|
online: Colors.green[40],
|
|
online: Colors.green[40],
|
|
@@ -330,9 +351,10 @@ const theme = {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
switch: {
|
|
switch: {
|
|
- unchecked: Colors.neutral[30],
|
|
|
|
- checked: Colors.green[60],
|
|
|
|
|
|
+ unchecked: Colors.brand[20],
|
|
|
|
+ checked: Colors.brand[50],
|
|
circle: Colors.neutral[0],
|
|
circle: Colors.neutral[0],
|
|
|
|
+ disabled: Colors.neutral[10],
|
|
},
|
|
},
|
|
pageLoader: {
|
|
pageLoader: {
|
|
borderColor: Colors.brand[50],
|
|
borderColor: Colors.brand[50],
|
|
@@ -398,8 +420,11 @@ const theme = {
|
|
icons: {
|
|
icons: {
|
|
closeIcon: Colors.neutral[30],
|
|
closeIcon: Colors.neutral[30],
|
|
warningIcon: Colors.yellow[20],
|
|
warningIcon: Colors.yellow[20],
|
|
- messageToggleIconOpened: Colors.neutral[90],
|
|
|
|
- messageToggleIconClosed: Colors.neutral[30],
|
|
|
|
|
|
+ messageToggleIcon: {
|
|
|
|
+ normal: Colors.brand[50],
|
|
|
|
+ hover: Colors.brand[20],
|
|
|
|
+ active: Colors.brand[60],
|
|
|
|
+ },
|
|
verticalElipsisIcon: Colors.neutral[50],
|
|
verticalElipsisIcon: Colors.neutral[50],
|
|
liveIcon: {
|
|
liveIcon: {
|
|
circleBig: Colors.red[10],
|
|
circleBig: Colors.red[10],
|