mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +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
|
* 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 **/
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user