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

32 lines
1.0 KiB
JavaScript
Raw Normal View History

2024-05-13 14:15:43 +00:00
export default {
handle: {
borderRadius: '50%',
2024-05-14 22:26:11 +00:00
size: '1rem',
background: '{form.field.border.color}',
hoverBackground: '{form.field.border.color}',
checkedBackground: '{primary.contrast.color}',
checkedHoverBackground: '{primary.contrast.color}'
2024-05-13 14:15:43 +00:00
},
root: {
width: '2.5rem',
height: '1.5rem',
borderRadius: '30px',
gap: '0.25rem',
shadow: '{form.field.shadow}',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '{focus.ring.offset}',
shadow: '{focus.ring.shadow}'
},
2024-05-14 22:26:11 +00:00
borderWidth: '1px',
borderColor: '{form.field.border.color}',
invalidBorderColor: '{form.field.invalid.border.color}',
background: '{form.field.background}',
hoverBackground: '{form.field.background}',
checkedBackground: '{primary.color}',
checkedHoverBackground: '{primary.color}'
2024-05-13 14:15:43 +00:00
}
};