Enable dark mode in browser UI (#4089)

This commit is contained in:
Alexey Pyltsyn
2021-11-12 00:36:01 +03:00
committed by GitHub
parent 719aa3c377
commit eb84de7444
2 changed files with 8 additions and 0 deletions

View File

@@ -17,10 +17,16 @@
/* Write your own custom base styles here */
html {
color-scheme: light;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: transparent;
}
html.dark {
color-scheme: dark;
}
html,
body {
height: 100%;

View File

@@ -3,6 +3,8 @@
*/
html .sp-wrapper {
color-scheme: inherit;
/* palette */
--sp-colors-fg-active: #24292e !important;
--sp-colors-fg-default: #959da5 !important;