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

52 lines
1.7 KiB
JavaScript
Raw Normal View History

2024-05-13 14:15:43 +00:00
export default {
root: {
2024-05-14 11:32:19 +00:00
padding: '0.5rem 0.75rem',
2024-05-13 14:15:43 +00:00
borderRadius: '{content.border.radius}',
gap: '0.5rem',
fontWeight: '500',
2024-05-14 11:32:19 +00:00
background: '{form.field.background}',
borderColor: '{form.field.border.color}',
color: '{form.field.color}',
hoverColor: '{form.field.color}',
checkedBackground: '{highlight.background}',
checkedColor: '{highlight.color}',
2024-05-15 07:57:21 +00:00
checkedBorderColor: '{form.field.border.color}',
2024-05-13 14:15:43 +00:00
disabledBackground: '{form.field.disabled.background}',
disabledBorderColor: '{form.field.disabled.background}',
disabledColor: '{form.field.disabled.color}',
invalidBorderColor: '{form.field.invalid.border.color}',
focusRing: {
2024-05-14 11:32:19 +00:00
width: '{form.field.focus.ring.width}',
style: '{form.field.focus.ring.style}',
color: '{form.field.focus.ring.color}',
offset: '{form.field.focus.ring.offset}',
shadow: '{form.field.focus.ring.shadow}'
},
transitionDuration: '{form.field.transition.duration}'
2024-05-13 14:15:43 +00:00
},
icon: {
2024-05-14 11:32:19 +00:00
color: '{text.muted.color}',
hoverColor: '{text.muted.color}',
checkedColor: '{highlight.color}',
2024-05-13 14:15:43 +00:00
disabledColor: '{form.field.disabled.color}'
},
content: {
left: '0.25rem',
top: '0.25rem',
2024-05-14 11:32:19 +00:00
checkedBackground: 'transparent',
checkedShadow: 'none'
2024-05-13 14:15:43 +00:00
},
colorScheme: {
light: {
root: {
2024-05-14 11:32:19 +00:00
hoverBackground: '{surface.200}'
2024-05-13 14:15:43 +00:00
}
},
dark: {
root: {
2024-05-14 11:32:19 +00:00
hoverBackground: '{surface.700}'
2024-05-13 14:15:43 +00:00
}
}
}
};