Skip to content

Commit 4db1f3f

Browse files
committed
added dark theme
1 parent 0142603 commit 4db1f3f

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

Diff for: _quarto.yml

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ format:
147147
html:
148148
theme:
149149
light: cosmo
150+
dark: [solar, theming/theme-dark.scss]
150151
css: theming/styles.css
151152
toc: true
152153
smooth-scroll: true

Diff for: theming/theme-dark.scss

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*-- scss:defaults --*/
2+
3+
$navbar-bg: #192222;
4+
$navbar-fg: #1bb3ac;
5+
$footer-bg: #192222;
6+
$footer-fg: #1bb3ac;
7+
$body-color: #fff;
8+
$body-bg: #131818;
9+
10+
a {
11+
color: #2aa198 !important;
12+
}
13+
14+
a:hover {
15+
color: #31dce6 !important;
16+
}
17+
18+
code, p code, ol code, li code, h1 code {
19+
background-color: #172424 !important;
20+
color: #2aa198;
21+
}
22+
23+
.cell, .anchored code {
24+
background-color: #172424 !important;
25+
color: #2aa198;
26+
}
27+
28+
div.sourceCode {
29+
background-color: #172424 !important;
30+
}
31+
32+
li {
33+
color: #979c9c !important;
34+
}
35+
36+
.menu-text:hover {
37+
color: #31dce6 !important;
38+
}
39+
40+
p {
41+
color: #979c9c !important;
42+
}
43+
44+
::selection {
45+
color: #31dce6;
46+
background: #192222;
47+
}

0 commit comments

Comments
 (0)