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
*/
/** 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 **/

View File

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

View File

@ -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
{