Refactored tokens of panel components

This commit is contained in:
Cagatay Civici 2024-05-04 14:47:06 +03:00
parent 3e0c68734f
commit 4bdc38e892
17 changed files with 190 additions and 326 deletions

View file

@ -1,46 +1,21 @@
export default {
colorScheme: {
light: {
connector: {
background: '{surface.200}',
activeBackground: '{primary.color}'
},
title: {
color: '{surface.700}',
activeColor: '{primary.color}'
},
marker: {
background: '{surface.0}',
activeBackground: '{surface.0}',
borderColor: '{surface.200}',
color: '{surface.500}',
activeColor: '{primary.color}'
},
content: {
background: '{surface.0}',
color: '{surface.700}'
}
},
dark: {
connector: {
background: '{surface.700}',
activeBackground: '{primary.color}'
},
title: {
color: '{surface.0}',
activeColor: '{primary.color}'
},
marker: {
background: '{surface.900}',
activeBackground: '{surface.900}',
borderColor: '{surface.700}',
color: '{surface.400}',
activeColor: '{primary.color}'
},
content: {
background: '{surface.900}',
color: '{surface.0}'
}
}
separator: {
background: '{content.border.color}',
activeBackground: '{primary.color}'
},
itemTitle: {
color: '{text.color}',
activeColor: '{primary.color}'
},
itemNumber: {
background: '{content.background}',
activeBackground: '{content.background}',
borderColor: '{content.border.color}',
color: '{text.muted.color}',
activeColor: '{primary.color}'
},
panelContent: {
background: '{content.background}',
color: '{content.color}'
}
};