mirror of
https://github.com/ozntel/oz-calendar.git
synced 2026-07-22 07:40:24 +00:00
Selected Day Background Color
This commit is contained in:
parent
41684037a0
commit
ddf510ac1e
1 changed files with 15 additions and 3 deletions
18
styles.css
18
styles.css
|
|
@ -14,7 +14,14 @@ settings:
|
|||
-
|
||||
id: oz-calendar-selected-daycolor
|
||||
title: Selected Day Text Color
|
||||
description: Set the color of selected day in the month view, defaulted to the interactive-accent
|
||||
description: Set the color of selected day in the month view, defaulted to text-normal
|
||||
type: variable-color
|
||||
format: hex
|
||||
default: '#'
|
||||
-
|
||||
id: oz-calendar-selected-day-background
|
||||
title: Selected Day Background Color
|
||||
description: Set the color of selected day background in the month view, defaulted to the interactive-accent
|
||||
type: variable-color
|
||||
format: hex
|
||||
default: '#'
|
||||
|
|
@ -30,8 +37,9 @@ settings:
|
|||
.theme-light,
|
||||
.theme-dark {
|
||||
--oz-calendar-weekend-color: #f76a6a;
|
||||
--oz-calendar-selected-daycolor: var(----interactive-accent);
|
||||
--oz-calendar-header-date-color: var(----interactive-accent);
|
||||
--oz-calendar-selected-daycolor: var(--text-normal);
|
||||
--oz-calendar-selected-day-background: var(--interactive-accent);
|
||||
--oz-calendar-header-date-color: var(--interactive-accent);
|
||||
}
|
||||
|
||||
.oz-cal-coffee-div,
|
||||
|
|
@ -52,6 +60,10 @@ settings:
|
|||
background: var(--background-secondary-alt);
|
||||
}
|
||||
|
||||
.oz-calendar-plugin-view .react-calendar__tile--active {
|
||||
background-color: var(--oz-calendar-selected-day-background) !important;
|
||||
}
|
||||
|
||||
.oz-calendar-plugin-view .react-calendar button:enabled:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue