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

71 lines
2.3 KiB
JavaScript

export default {
root: {
padding: '0.5rem 1rem',
borderRadius: '{content.border.radius}',
gap: '0.5rem',
fontWeight: '500',
disabledBackground: '{form.field.disabled.background}',
disabledBorderColor: '{form.field.disabled.background}',
disabledColor: '{form.field.disabled.color}',
invalidBorderColor: '{form.field.invalid.border.color}',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '{focus.ring.offset}',
shadow: '{focus.ring.shadow}'
},
transitionDuration: '{form.field.transition.duration}'
},
icon: {
disabledColor: '{form.field.disabled.color}'
},
content: {
left: '0.25rem',
top: '0.25rem',
checkedShadow: '0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)'
},
colorScheme: {
light: {
root: {
background: '{surface.100}',
checkedBackground: '{surface.100}',
hoverBackground: '{surface.100}',
borderColor: '{surface.100}',
color: '{surface.500}',
hoverColor: '{surface.700}',
checkedColor: '{surface.900}',
checkedBorderColor: '{surface.100}'
},
content: {
checkedBackground: '{surface.0}'
},
icon: {
color: '{surface.500}',
hoverColor: '{surface.700}',
checkedColor: '{surface.900}'
}
},
dark: {
root: {
background: '{surface.950}',
checkedBackground: '{surface.950}',
hoverBackground: '{surface.950}',
borderColor: '{surface.950}',
color: '{surface.400}',
hoverColor: '{surface.300}',
checkedColor: '{surface.0}',
checkedBorderColor: '{surface.950}'
},
content: {
checkedBackground: '{surface.800}'
},
icon: {
color: '{surface.400}',
hoverColor: '{surface.300}',
checkedColor: '{surface.0}'
}
}
}
};