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

42 lines
1.3 KiB
JavaScript
Raw Normal View History

export default {
2024-04-01 12:55:29 +00:00
handle: {
borderRadius: '50%'
},
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}',
checkedHoverBackground: '{primary.600}',
2024-02-20 20:46:42 +00:00
borderRadius: '30px'
},
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}',
checkedHoverBackground: '{primary.300}',
2024-02-20 20:46:42 +00:00
borderRadius: '30px'
},
handle: {
background: '{surface.400}',
2024-03-13 18:50:24 +00:00
hoverBackground: '{surface.300}',
checkedBackground: '{surface.900}',
checkedHoverBackground: '{surface.900}',
invalidBackground: '{surface.900}'
}
}
}
};