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

52 lines
1.6 KiB
JavaScript
Raw Normal View History

2024-05-05 20:35:38 +00:00
export default {
2024-05-08 23:50:16 +00:00
root: {
padding: '0.625rem 1rem',
borderRadius: '{content.border.radius}',
gap: '0.5rem',
fontWeight: '500',
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-08 23:50:16 +00:00
disabledBackground: '{form.field.disabled.background}',
disabledBorderColor: '{form.field.disabled.background}',
disabledColor: '{form.field.disabled.color}',
invalidBorderColor: '{form.field.invalid.border.color}',
focusRing: {
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-08 23:50:16 +00:00
},
icon: {
color: '{text.muted.color}',
hoverColor: '{text.muted.color}',
checkedColor: '{highlight.color}',
disabledColor: '{form.field.disabled.color}'
},
content: {
left: '0.25rem',
top: '0.25rem',
checkedBackground: 'transparent',
checkedShadow: 'none'
},
2024-05-05 20:35:38 +00:00
colorScheme: {
light: {
root: {
2024-05-08 23:50:16 +00:00
hoverBackground: '{surface.100}'
2024-05-05 20:35:38 +00:00
}
},
dark: {
root: {
2024-05-08 23:50:16 +00:00
hoverBackground: '{surface.800}'
2024-05-05 20:35:38 +00:00
}
}
}
};