primevue-mirror/components/lib/themes/aura/toggleswitch/index.js

43 lines
1.3 KiB
JavaScript
Raw Normal View History

export default {
2024-04-01 12:55:29 +00:00
handle: {
borderRadius: '50%'
},
2024-05-05 16:03:43 +00:00
root: {
borderRadius: '30px'
},
2024-02-20 20:46:42 +00:00
colorScheme: {
light: {
root: {
background: '{surface.300}',
2024-03-13 18:50:24 +00:00
invalidBackground: '{red.400}',
hoverBackground: '{surface.400}',
checkedBackground: '{primary.500}',
2024-05-05 16:03:43 +00:00
checkedHoverBackground: '{primary.600}'
},
2024-02-20 20:46:42 +00:00
handle: {
background: '{surface.0}',
2024-03-13 18:50:24 +00:00
hoverBackground: '{surface.0}',
checkedBackground: '{surface.0}',
checkedHoverBackground: '{surface.0}',
invalidBackground: '{surface.0}'
2024-02-20 20:46:42 +00:00
}
},
dark: {
root: {
background: '{surface.700}',
2024-03-13 18:50:24 +00:00
invalidBackground: '{red.300}',
hoverBackground: '{surface.600}',
checkedBackground: '{primary.400}',
2024-05-05 16:03:43 +00:00
checkedHoverBackground: '{primary.300}'
2024-02-20 20:46:42 +00:00
},
handle: {
background: '{surface.400}',
2024-03-13 18:50:24 +00:00
hoverBackground: '{surface.300}',
checkedBackground: '{surface.900}',
checkedHoverBackground: '{surface.900}',
invalidBackground: '{surface.900}'
}
}
}
};