diff options
author | Andrew Dolgov <[email protected]> | 2021-01-26 11:50:00 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-01-26 11:50:00 +0300 |
commit | 78ed6ba971aeecf6e596944d3529357ed30fb3e6 (patch) | |
tree | 18e5b934cfc80c6e66f1aa217434f393835f1980 /css/themes.less | |
parent | ecc201dbf0e2d8674ca2ecf529526e93a1f6e348 (diff) |
night theme: use common css class with warmer fg color
Diffstat (limited to 'css/themes.less')
-rw-r--r-- | css/themes.less | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/css/themes.less b/css/themes.less index 09f11a5..a73ea46 100644 --- a/css/themes.less +++ b/css/themes.less @@ -1,13 +1,25 @@ +.theme-night-common { + &, .loading, html:-webkit-full-screen { + background : #222; + color : #d7cbc1; + } + + a, a:hover { + color : #00bdaa; + } + + .modal { + color : #333; + } + + .footer .spacer .toc-bar-entry.current-position { + background : darkred; + } +} + body.theme-default { @media (prefers-color-scheme: dark) { - &, .loading, html:-webkit-full-screen { - background : #222; - color : #ccc; - } - - .modal { - color : #333; - } + .theme-night-common; } } @@ -67,22 +79,7 @@ body.theme-mocca { } body.theme-night { - &, .loading, html:-webkit-full-screen { - background : #222; - color : #ccc; - } - - a, a:hover { - color : #00bdaa; - } - - .modal { - color : #333; - } - - .footer .spacer .toc-bar-entry.current-position { - background : darkred; - } + .theme-night-common; } body.theme-plan9 { @@ -123,4 +120,5 @@ body.theme-sepia { .footer .spacer .toc-bar-entry.current-position { background : #B85C57; } -}
\ No newline at end of file +} + |