css: Port to custom properties
This commit is contained in:
+12
-10
@@ -1,18 +1,20 @@
|
||||
@define-color month_separator_color mix(@borders, @light_5, 0.14);
|
||||
@define-color month_today_color alpha(@accent_bg_color, 0.18);
|
||||
@define-color month_today_hover_color alpha(@accent_bg_color, 0.28);
|
||||
@define-color month_selected_today_color alpha(@accent_bg_color, 0.37);
|
||||
@define-color month_selected_today_hover_color alpha(@accent_bg_color, 0.44);
|
||||
@define-color month_selected_border_color alpha(@accent_bg_color, 0.25);
|
||||
@define-color month_selected_background_color alpha(@accent_bg_color, 0.17);
|
||||
@define-color month_selected_background_hover_color alpha(@accent_bg_color, 0.2);
|
||||
:root {
|
||||
--month-separator-color: color-mix(in srgb, var(--borders), var(--light-5) 14%);
|
||||
--month-today-color: rgb(from var(--accent-bg-color) r g b / 18%);
|
||||
--month-today-hover-color: rgb(from var(--accent-bg-color) r g b / 28%);
|
||||
--month-selected-today-color: rgb(from var(--accent-bg-color) r g b / 37%);
|
||||
--month-selected-today-hover-color: rgb(from var(--accent-bg-color) r g b / 44%);
|
||||
--month-selected-border-color: rgb(from var(--accent-bg-color) r g b / 25%);
|
||||
--month-selected-bg-color: rgb(from var(--accent-bg-color) r g b / 17%);
|
||||
--month-selected-bg-hover-color: rgb(from var(--accent-bg-color) r g b / 20%);
|
||||
}
|
||||
|
||||
/*
|
||||
* Event widget
|
||||
*/
|
||||
|
||||
event.timed {
|
||||
color: @light_1;
|
||||
color: var(--light-1);
|
||||
outline-color: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
@@ -21,6 +23,6 @@ event.timed {
|
||||
*/
|
||||
|
||||
searchbutton > popover listview > row:selected {
|
||||
background-color: alpha(@accent_bg_color, 0.2);
|
||||
background-color: rgb(from var(--accent-bg-color) r g b / 20%);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user