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

137 lines
3.8 KiB
JavaScript
Raw Normal View History

2024-02-21 07:46:48 +00:00
export default {
root: {
transitionDuration: '{transition.duration}'
},
2024-05-08 22:52:39 +00:00
panel: {
2024-05-05 17:35:03 +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 17:35:03 +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.5rem 0',
fontWeight: '500',
gap: '0.5rem'
},
title: {
gap: '0.5rem',
fontWeight: '500'
2024-05-05 17:35:03 +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: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '{focus.ring.offset}',
shadow: '{focus.ring.shadow}'
}
},
inputIcon: {
color: '{form.field.icon.color}'
2024-05-05 17:35:03 +00:00
},
viewMonth: {
hoverBackground: '{content.hover.background}',
color: '{content.color}',
2024-05-08 22:52:39 +00:00
hoverColor: '{content.hover.color}',
padding: '0.25rem'
2024-05-05 17:35:03 +00:00
},
viewYear: {
hoverBackground: '{content.hover.background}',
color: '{content.color}',
2024-05-08 22:52:39 +00:00
hoverColor: '{content.hover.color}',
padding: '0.25rem'
2024-05-05 17:35:03 +00:00
},
group: {
2024-05-08 22:52:39 +00:00
borderColor: '{content.border.color}',
gap: '{overlay.popover.padding}'
},
dayView: {
margin: '0.5rem 0 0 0'
},
weekDay: {
padding: '0.25rem',
fontWeight: '500',
color: '{content.color}'
2024-05-05 17:35:03 +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: '2rem',
height: '2rem',
borderRadius: '50%',
padding: '0.25rem',
focusRing: {
width: '{focus.ring.width}',
style: '{focus.ring.style}',
color: '{focus.ring.color}',
offset: '{focus.ring.offset}',
shadow: '{focus.ring.shadow}'
}
},
monthView: {
margin: '0.5rem 0 0 0'
},
month: {
borderRadius: '{content.border.radius}'
},
yearView: {
margin: '0.5rem 0 0 0'
},
year: {
borderRadius: '{content.border.radius}'
2024-05-05 17:35:03 +00:00
},
buttonbar: {
2024-05-08 22:52:39 +00:00
padding: '0.5rem 0 0 0',
2024-05-05 17:35:03 +00:00
borderColor: '{content.border.color}'
},
timePicker: {
2024-05-08 22:52:39 +00:00
padding: '0.5rem 0 0 0',
borderColor: '{content.border.color}',
gap: '0.5rem',
buttonGap: '0.25rem'
2024-05-05 17:35:03 +00:00
},
2024-02-21 07:59:25 +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-02-21 07:59:25 +00:00
today: {
background: '{surface.200}',
2024-03-13 11:59:34 +00:00
color: '{surface.900}'
2024-02-21 07:59:25 +00:00
}
},
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-02-21 07:59:25 +00:00
today: {
background: '{surface.700}',
2024-03-13 11:59:34 +00:00
color: '{surface.0}'
2024-02-21 07:46:48 +00:00
}
}
}
};