1
1
< style >
2
2
: root {
3
- --primary-color : # 382929 ;
4
- --primary-text-color : # d7d7d7 ;
5
- --primary-text-color-over : # FFF ;
6
- --primary-link-color : # 9b9b9b ;
7
- --secondary-color : # 282828 ;
8
- --secondary-text-color : # f2f2f2 ;
9
- --navbar-background-color-hover : # 362525 ;
10
- --toc-highlight-text-color : # f2f2f2 ;
11
- --toc-background-color : # 3a3a3a ;
12
- --code-color : black;
3
+ /* Primary theme color */
4
+ --primary-color : # FEB33F ;
5
+ /* Primary theme text color */
6
+ --primary-text-color : # 543631 ;
7
+ --primary-text-color-over : # 000 ;
8
+ /* Primary theme link color */
9
+ --primary-link-color : # d09a07 ;
10
+ /* Secondary color: the background body color */
11
+ --secondary-color : # fcfaf6 ;
12
+ --secondary-text-color : # 303030 ;
13
+ /* Highlight text color of table of content */
14
+ --toc-highlight-text-color : # d46e13 ;
15
+ --toc-background-color : white;
16
+ --code-color : # 4a4a4a ;
13
17
--code-background-color : white;
14
18
15
- --shadow-color : # 202020 ;
19
+ --shadow-color : # 7a7a7a ;
20
+
21
+ /* Font used for headers (h1 & h2) */
16
22
--header-font-family : "Fira Sans" , sans-serif;
23
+ /* Font used for text */
17
24
--text-font-family : "Fira Sans" , sans-serif;
18
25
}
26
+
27
+ @media (prefers-color-scheme : dark) {
28
+ : root {
29
+ --primary-color : # 382929 ;
30
+ --primary-text-color : # d7d7d7 ;
31
+ --primary-text-color-over : # FFF ;
32
+ --primary-link-color : # 9b9b9b ;
33
+ --secondary-color : # 282828 ;
34
+ --secondary-text-color : # f2f2f2 ;
35
+ --navbar-background-color-hover : # 362525 ;
36
+ --toc-highlight-text-color : # f2f2f2 ;
37
+ --toc-background-color : # 3a3a3a ;
38
+ --code-color : black;
39
+ --code-background-color : white;
40
+
41
+ --shadow-color : # 202020 ;
42
+ --header-font-family : "Fira Sans" , sans-serif;
43
+ --text-font-family : "Fira Sans" , sans-serif;
44
+ }
45
+ }
19
46
</ style >
0 commit comments