Refactored ToggleSwitch tokens

pull/5701/head
Cagatay Civici 2024-05-05 19:03:43 +03:00
parent 87b6b38f8c
commit 3920dc14f5
1 changed files with 5 additions and 4 deletions

View File

@ -2,6 +2,9 @@ export default {
handle: {
borderRadius: '50%'
},
root: {
borderRadius: '30px'
},
colorScheme: {
light: {
root: {
@ -9,8 +12,7 @@ export default {
invalidBackground: '{red.400}',
hoverBackground: '{surface.400}',
checkedBackground: '{primary.500}',
checkedHoverBackground: '{primary.600}',
borderRadius: '30px'
checkedHoverBackground: '{primary.600}'
},
handle: {
background: '{surface.0}',
@ -26,8 +28,7 @@ export default {
invalidBackground: '{red.300}',
hoverBackground: '{surface.600}',
checkedBackground: '{primary.400}',
checkedHoverBackground: '{primary.300}',
borderRadius: '30px'
checkedHoverBackground: '{primary.300}'
},
handle: {
background: '{surface.400}',