Skip to content

Commit 7dea5a9

Browse files
sample dark mode
1 parent 78d12b9 commit 7dea5a9

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

_quarto.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ format:
6262
html:
6363
theme:
6464
light: cosmo
65+
dark: [solar, theming/theme-dark.scss]
6566
css: theming/styles.css
6667
toc: true
6768
smooth-scroll: true

theming/theme-dark.scss

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*-- scss:defaults --*/
2+
$navbar-bg: #073c44;
3+
$navbar-fg: #fff;
4+
$footer-bg: #073c44;
5+
$footer-fg: #fff;
6+
$body-color: #fff;
7+
$toc-color: #fff;
8+
9+
* {
10+
color: #fff !important;
11+
}
12+
13+
a {
14+
color: #2aa198 !important;
15+
16+
}
17+
.team-member {
18+
background-color: #073c44 !important;
19+
}
20+
21+
.team-member li a {
22+
color: #2aa198 !important;
23+
}
24+
25+
code {
26+
background-color: #2aa198 !important;
27+
}
28+
29+
.quarto-title-banner {
30+
background-color: #073c44 !important;
31+
color: #fff !important;
32+
}
33+
34+
.quarto-listing a {
35+
color: #fff !important;
36+
}

0 commit comments

Comments
 (0)