Refactored Menu component tokens

This commit is contained in:
Cagatay Civici 2024-05-04 20:06:51 +03:00
parent b2a5787d4a
commit 4870d66609
20 changed files with 256 additions and 416 deletions

View file

@ -1,42 +1,22 @@
export default {
colorScheme: {
light: {
root: {
background: '{surface.0}',
borderColor: '{surface.200}',
color: '{surface.700}'
},
item: {
focusBackground: '{surface.100}',
color: '{surface.700}',
focusColor: '{surface.800}',
icon: {
color: '{surface.400}',
focusColor: '{surface.500}'
}
},
separator: {
borderColor: '{surface.200}'
}
},
dark: {
root: {
background: '{surface.900}',
borderColor: '{surface.700}',
color: '{surface.0}'
},
item: {
focusBackground: '{surface.800}',
color: '{surface.0}',
focusColor: '{surface.0}',
icon: {
color: '{surface.500}',
focusColor: '{surface.400}'
}
},
separator: {
borderColor: '{surface.700}'
}
root: {
background: '{content.background}',
borderColor: '{content.border.color}',
color: '{content.color}'
},
item: {
hoverBackground: '{navigation.item.hover.background}',
color: '{navigation.item.color}',
hoverColor: '{navigation.item.hover.color}',
icon: {
color: '{navigation.item.icon.color}',
hoverColor: '{navigation.item.icon.hover.color}'
}
},
submenuItem: {
color: '{navigation.submenu.label.color}'
},
separator: {
borderColor: '{content.border.color}'
}
};