mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Custom style for ranges
This commit is contained in:
parent
2614bafa74
commit
a0fb228dc1
4 changed files with 22 additions and 6 deletions
|
@ -226,6 +226,11 @@ const theme = ({ dt }) => `
|
|||
color: ${dt('datepicker.date.selected.color')};
|
||||
}
|
||||
|
||||
.p-datepicker-day-selected-range {
|
||||
background: ${dt('datepicker.date.range.selected.background')};
|
||||
color: ${dt('datepicker.date.range.selected.color')};
|
||||
}
|
||||
|
||||
.p-datepicker-today > .p-datepicker-day {
|
||||
background: ${dt('datepicker.today.background')};
|
||||
color: ${dt('datepicker.today.color')};
|
||||
|
@ -236,6 +241,11 @@ const theme = ({ dt }) => `
|
|||
color: ${dt('datepicker.date.selected.color')};
|
||||
}
|
||||
|
||||
.p-datepicker-today > .p-datepicker-day-selected-range {
|
||||
background: ${dt('datepicker.date.range.selected.background')};
|
||||
color: ${dt('datepicker.date.range.selected.color')};
|
||||
}
|
||||
|
||||
.p-datepicker-weeknumber {
|
||||
text-align: center
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue