MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
Lighten dark background |
||
| Line 1: | Line 1: | ||
/* Lighten dark theme background — closer to Vikunja dark gray */ | |||
:root.skin-citizen-dark, | |||
:root[data-theme="dark"], | |||
:root.skin-theme-clientpref-night, | |||
html.skin-citizen-dark { | |||
--color-surface-0-oklch__l: 18% !important; | |||
--color-surface-0-oklch__c: 0.015 !important; | |||
--color-surface-0-hsl__l: 10% !important; | |||
--color-surface-0-hsl__s: 20% !important; | |||
} | |||
/* Also override pure-black mode for any user who has it enabled */ | |||
:root.citizen-feature-pure-black-clientpref-1 { | |||
--color-surface-0-oklch__l: 18% !important; | |||
--color-surface-0-oklch__c: 0.015 !important; | |||
--color-surface-0-hsl__l: 10% !important; | |||
--color-surface-0-hsl__s: 20% !important; | |||
} | |||
Revision as of 19:34, 7 April 2026
/* Lighten dark theme background — closer to Vikunja dark gray */
:root.skin-citizen-dark,
:root[data-theme="dark"],
:root.skin-theme-clientpref-night,
html.skin-citizen-dark {
--color-surface-0-oklch__l: 18% !important;
--color-surface-0-oklch__c: 0.015 !important;
--color-surface-0-hsl__l: 10% !important;
--color-surface-0-hsl__s: 20% !important;
}
/* Also override pure-black mode for any user who has it enabled */
:root.citizen-feature-pure-black-clientpref-1 {
--color-surface-0-oklch__l: 18% !important;
--color-surface-0-oklch__c: 0.015 !important;
--color-surface-0-hsl__l: 10% !important;
--color-surface-0-hsl__s: 20% !important;
}