mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
hotfix(styles): Updated dark mode
This commit is contained in:
parent
a4becb47b4
commit
d99b0734f8
@ -1,17 +1,5 @@
|
|||||||
// Add your own CSS here!
|
// Add your own CSS here!
|
||||||
:root {
|
:root {
|
||||||
--light: #faf8f8;
|
|
||||||
--dark: #141021;
|
|
||||||
--secondary: #284b63;
|
|
||||||
--tertiary: #84a59d;
|
|
||||||
--visited: #afbfc9;
|
|
||||||
--primary: #f28482;
|
|
||||||
--gray: #4e4e4e;
|
|
||||||
--lightgray: #f0f0f0;
|
|
||||||
--outlinegray: #dadada;
|
|
||||||
}
|
|
||||||
|
|
||||||
[saved-theme="dark"] {
|
|
||||||
--light: #1e1e21 !important;
|
--light: #1e1e21 !important;
|
||||||
--dark: #fbfffe !important;
|
--dark: #fbfffe !important;
|
||||||
--secondary: #6b879a !important;
|
--secondary: #6b879a !important;
|
||||||
@ -23,6 +11,18 @@
|
|||||||
--outlinegray: #343434 !important;
|
--outlinegray: #343434 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[saved-theme="dark"] {
|
||||||
|
--light: #faf8f8;
|
||||||
|
--dark: #141021;
|
||||||
|
--secondary: #284b63;
|
||||||
|
--tertiary: #84a59d;
|
||||||
|
--visited: #afbfc9;
|
||||||
|
--primary: #f28482;
|
||||||
|
--gray: #4e4e4e;
|
||||||
|
--lightgray: #f0f0f0;
|
||||||
|
--outlinegray: #dadada;
|
||||||
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--text-accent: rgb(238, 27, 231);
|
--text-accent: rgb(238, 27, 231);
|
||||||
--background-primary-alt: #000;
|
--background-primary-alt: #000;
|
||||||
|
|||||||
@ -23,6 +23,10 @@
|
|||||||
{{$finalCss := $css | resources.Concat "styles.css" | resources.Fingerprint "md5" | resources.Minify }}
|
{{$finalCss := $css | resources.Concat "styles.css" | resources.Fingerprint "md5" | resources.Minify }}
|
||||||
<link href="{{$finalCss.Permalink}}" rel="stylesheet">
|
<link href="{{$finalCss.Permalink}}" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- {{ $darkMode := resources.Get "js/darkmode.js" | resources.Fingerprint "md5" | resources.Minify }}-->
|
||||||
|
<!-- <script src="{{$darkMode.Permalink}}"></script>-->
|
||||||
|
{{partial "katex.html" .}}
|
||||||
|
|
||||||
<!-- Preload page vars -->
|
<!-- Preload page vars -->
|
||||||
{{$linkIndex := resources.Get "indices/linkIndex.json" | resources.Fingerprint "md5" | resources.Minify | }}
|
{{$linkIndex := resources.Get "indices/linkIndex.json" | resources.Fingerprint "md5" | resources.Minify | }}
|
||||||
{{$contentIndex := resources.Get "indices/contentIndex.json" | resources.Fingerprint "md5" | resources.Minify }}
|
{{$contentIndex := resources.Get "indices/contentIndex.json" | resources.Fingerprint "md5" | resources.Minify }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user