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

134 lines
3.9 KiB
JavaScript
Raw Normal View History

2024-05-05 20:35:38 +00:00
export default {
2024-05-08 22:52:39 +00:00
panel: {
2024-05-05 20:35:38 +00:00
background: '{content.background}',
borderColor: '{content.border.color}',
2024-05-08 22:52:39 +00:00
color: '{content.color}',
borderRadius: '{content.border.radius}',
shadow: '{overlay.popover.shadow}',
padding: '{overlay.popover.padding}'
2024-05-05 20:35:38 +00:00
},
header: {
background: '{content.background}',
borderColor: '{content.border.color}',
2024-05-08 22:52:39 +00:00
color: '{content.color}',
padding: '0 0 0.75rem 0'
},
title: {
gap: '0.5rem',
fontWeight: '700'
2024-05-05 20:35:38 +00:00
},
dropdown: {
width: '2.5rem',
borderColor: '{form.field.border.color}',
hoverBorderColor: '{form.field.border.color}',
activeBorderColor: '{form.field.border.color}',
2024-05-08 22:52:39 +00:00
borderRadius: '{form.field.border.radius}',
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}'
}
},
inputIcon: {
color: '{form.field.icon.color}'
2024-05-05 20:35:38 +00:00
},
viewMonth: {
hoverBackground: '{content.hover.background}',
color: '{content.color}',
2024-05-08 22:52:39 +00:00
hoverColor: '{content.hover.color}',
padding: '0.375rem',
borderRadius: '{content.border.radius}'
2024-05-05 20:35:38 +00:00
},
viewYear: {
hoverBackground: '{content.hover.background}',
color: '{content.color}',
2024-05-08 22:52:39 +00:00
hoverColor: '{content.hover.color}',
padding: '0.375rem',
borderRadius: '{content.border.radius}'
2024-05-05 20:35:38 +00:00
},
group: {
2024-05-08 22:52:39 +00:00
borderColor: '{content.border.color}',
gap: '{overlay.popover.padding}'
},
dayView: {
margin: '0.75rem 0 0 0'
},
weekDay: {
padding: '0.375rem',
fontWeight: '700',
color: '{content.color}'
2024-05-05 20:35:38 +00:00
},
date: {
hoverBackground: '{content.hover.background}',
selectedBackground: '{highlight.background}',
color: '{content.color}',
hoverColor: '{content.hover.color}',
2024-05-08 22:52:39 +00:00
selectedColor: '{highlight.color}',
width: '2.5rem',
height: '2.5rem',
borderRadius: '50%',
padding: '0.375rem',
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}'
}
},
monthView: {
margin: '0.75rem 0 0 0'
},
month: {
borderRadius: '{content.border.radius}'
},
yearView: {
margin: '0.75rem 0 0 0'
},
year: {
borderRadius: '{content.border.radius}'
2024-05-05 20:35:38 +00:00
},
buttonbar: {
2024-05-08 22:52:39 +00:00
padding: '0.75rem 0 0 0',
2024-05-05 20:35:38 +00:00
borderColor: '{content.border.color}'
},
timePicker: {
2024-05-08 22:52:39 +00:00
padding: '0.75rem 0 0 0',
borderColor: '{content.border.color}',
gap: '0.5rem',
buttonGap: '0.25rem'
2024-05-05 20:35:38 +00:00
},
colorScheme: {
light: {
2024-05-08 22:52:39 +00:00
dropdown: {
background: '{surface.100}',
hoverBackground: '{surface.200}',
activeBackground: '{surface.300}',
color: '{surface.600}',
hoverColor: '{surface.700}',
activeColor: '{surface.800}'
},
2024-05-05 20:35:38 +00:00
today: {
background: '{surface.200}',
color: '{surface.900}'
}
},
dark: {
2024-05-08 22:52:39 +00:00
dropdown: {
background: '{surface.800}',
hoverBackground: '{surface.700}',
activeBackground: '{surface.600}',
color: '{surface.300}',
hoverColor: '{surface.200}',
activeColor: '{surface.100}'
},
2024-05-05 20:35:38 +00:00
today: {
background: '{surface.700}',
color: '{surface.0}'
}
}
}
};