diff --git a/index.html b/index.html index 7471365324..8b93c30f43 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,7 @@ + diff --git a/stylesheets/stylesheet_dark.css b/stylesheets/stylesheet_dark.css new file mode 100644 index 0000000000..9bec1a9b2b --- /dev/null +++ b/stylesheets/stylesheet_dark.css @@ -0,0 +1,19 @@ +/* + * Custom modified stylesheet to support dark mode as upstream doesn't support + * it. + */ +:root { + prefer-color-schemes: light dark; + color-scheme: light dark; +} +@media (prefers-color-scheme: dark) { + a { + color: #2583E2; + } + body { + color: #9F938E; + } + .site-footer-credits { + color: #7E6E67; + } +}