Refactored Slider tokens

pull/5701/head
Cagatay Civici 2024-05-05 18:58:31 +03:00
parent 3d02c40974
commit 87b6b38f8c
1 changed files with 10 additions and 16 deletions

View File

@ -1,29 +1,23 @@
export default {
track: {
background: '{content.border.color}'
},
range: {
background: '{primary.color}'
},
handle: {
background: '{content.border.color}',
hoverBackground: '{content.border.color}'
},
colorScheme: {
light: {
track: {
background: '{surface.200}'
},
handle: {
background: '{surface.200}',
hoverBackground: '{surface.200}',
contentBackground: '{surface.0}'
},
range: {
background: '{primary.color}'
}
},
dark: {
track: {
background: '{surface.700}'
},
handle: {
background: '{surface.700}',
hoverBackground: '{surface.700}',
contentBackground: '{surface.950}'
},
range: {
background: '{primary.color}'
}
}
}