Kdots: Use same darkmode values as pixelegg

This commit is contained in:
nathan 2024-07-11 08:44:05 -06:00
parent 86aba27035
commit f2710b4749
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
* Note that light / dark colors should go in framework_light.less & framework_dark.less * Note that light / dark colors should go in framework_light.less & framework_dark.less
*/ */
/** Theme customisations **/ /** Theme customisations **/
html[data-darkmode="true"] body { html[data-darkmode="1"] body {
background-color: black; background-color: black;
color: var(--sl-color-neutral-700); color: var(--sl-color-neutral-700);
/*** HEADER ***/ /*** HEADER ***/
@ -14,13 +14,13 @@ html[data-darkmode="true"] body {
/* This should mostly go away with webcomponents */ /* This should mostly go away with webcomponents */
/** End WIDGETS **/ /** 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; 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); --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; color: #96bcd9;
} }
/** End theme customisations **/ /** End theme customisations **/

View File

@ -1,4 +1,4 @@
html[data-darkmode="true"] body { html[data-darkmode="1"] body {
background-color: black; background-color: black;
color: var(--sl-color-neutral-700); color: var(--sl-color-neutral-700);

View File

@ -62,7 +62,7 @@ export class EgwDarkmodeToggle extends LitElement
this.darkmode = force; this.darkmode = force;
if(force) if(force)
{ {
document.documentElement.setAttribute("data-darkmode", "true"); document.documentElement.setAttribute("data-darkmode", "1");
} }
else else
{ {