forces the dark mode that wikipedia natively has on english onto all languages
wikipedia force dark mode 28/10/2024 by Tomveloper
Details
AuthorTomveloper
LicenseNo License
Categorywikipedia.org
Created
Updated
Size3.3 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name wikipedia force dark mode 28/10/2024
@namespace github.com/openstyles/stylus
@version 1.0.0
@description forces the dark mode that wikipedia natively has on english onto all languages
@author Tom
==/UserStyle== */
@-moz-document domain("wikipedia.org") {
#skin-client-prefs-skin-theme {
display: none !important; /* hide theme picker since this stylesheet is forced */
}
:root {
color-scheme: dark;
--color-base: #eaecf0;
--color-base--hover: #f8f9fa;
--color-emphasized: #f8f9fa;
--color-subtle: #a2a9b1;
--color-inverted: #101418;
--color-progressive: #88a3e8;
--color-progressive--hover: #b0c1f0;
--color-progressive--active: #cbd6f6;
--color-destructive: #fd7865;
--color-destructive--hover: #fea898;
--color-destructive--active: #ffc8bd;
--color-visited: #a799cd;
--color-destructive--visited: #c99391;
--color-error: #fd7865;
--color-warning: #fecc44;
--color-success: #2cb491;
--color-notice: #f8f9fa;
--color-content-added: #80cdb3;
--color-content-removed: #fd7865;
--color-base--subtle: #a2a9b1;
--box-shadow-color-base: #fff;
--box-shadow-color-progressive--focus: #6b8edf;
--box-shadow-color-destructive--focus: #6b8edf;
--box-shadow-color-inverted: #000;
--background-color-base: #101418;
--background-color-neutral: #27292d;
--background-color-neutral-subtle: #202122;
--background-color-interactive: #27292d;
--background-color-interactive-subtle: #202122;
--background-color-disabled: #54595d;
--background-color-disabled-subtle: #404244;
--background-color-inverted: #f8f9fa;
--background-color-progressive--focus: #6b8edf;
--background-color-progressive-subtle: #233566;
--background-color-destructive--focus: #6b8edf;
--background-color-destructive-subtle: #612419;
--background-color-error: #fc493b;
--background-color-error--hover: #fd7865;
--background-color-error--active: #fea898;
--background-color-error-subtle: #612419;
--background-color-warning-subtle: #453217;
--background-color-success-subtle: #153d31;
--background-color-notice-subtle: #27292d;
--background-color-content-added: #233566;
--background-color-content-removed: #453217;
--background-color-backdrop-light: rgba(0, 0, 0, 0.65);
--background-color-backdrop-dark: rgba(255, 255, 255, 0.65);
--border-color-base: #72777d;
--border-color-subtle: #54595d;
--border-color-muted: #404244;
--border-color-interactive: #a2a9b1;
--border-color-disabled: #54595d;
--border-color-inverted: #101418;
--border-color-progressive--focus: #6b8edf;
--border-color-destructive--focus: #6b8edf;
--border-color-error: #fc493b;
--border-color-error--hover: #fd7865;
--border-color-warning: #fecc44;
--border-color-success: #2cb491;
--border-color-notice: #c8ccd1;
--border-color-content-added: #233566;
--border-color-content-removed: #987027;
}
}