mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
Kdots: Use same darkmode values as pixelegg
This commit is contained in:
parent
86aba27035
commit
f2710b4749
@ -4,7 +4,7 @@
|
||||
* Note that light / dark colors should go in framework_light.less & framework_dark.less
|
||||
*/
|
||||
/** Theme customisations **/
|
||||
html[data-darkmode="true"] body {
|
||||
html[data-darkmode="1"] body {
|
||||
background-color: black;
|
||||
color: var(--sl-color-neutral-700);
|
||||
/*** HEADER ***/
|
||||
@ -14,13 +14,13 @@ html[data-darkmode="true"] body {
|
||||
/* This should mostly go away with webcomponents */
|
||||
/** End WIDGETS **/
|
||||
}
|
||||
html[data-darkmode="true"] body #egw_fw_topmenu_info_items #topmenu_info_timer:before {
|
||||
html[data-darkmode="1"] body #egw_fw_topmenu_info_items #topmenu_info_timer:before {
|
||||
filter: initial;
|
||||
}
|
||||
html[data-darkmode="true"] body egw-app {
|
||||
html[data-darkmode="1"] body egw-app {
|
||||
--application-header-text-color: var(--sl-color-neutral-700);
|
||||
}
|
||||
html[data-darkmode="true"] body .nextmatch_sortheader {
|
||||
html[data-darkmode="1"] body .nextmatch_sortheader {
|
||||
color: #96bcd9;
|
||||
}
|
||||
/** End theme customisations **/
|
||||
|
@ -1,4 +1,4 @@
|
||||
html[data-darkmode="true"] body {
|
||||
html[data-darkmode="1"] body {
|
||||
background-color: black;
|
||||
color: var(--sl-color-neutral-700);
|
||||
|
||||
|
@ -62,7 +62,7 @@ export class EgwDarkmodeToggle extends LitElement
|
||||
this.darkmode = force;
|
||||
if(force)
|
||||
{
|
||||
document.documentElement.setAttribute("data-darkmode", "true");
|
||||
document.documentElement.setAttribute("data-darkmode", "1");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user