Skip to content

Commit bac257d

Browse files
fix order of color customization
1 parent eddfd9f commit bac257d

File tree

5 files changed

+10
-36
lines changed

5 files changed

+10
-36
lines changed

content/_quarto.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ website:
2222
format:
2323
html:
2424
theme:
25-
light: [ flatly, styles.scss, styles-light.scss ]
26-
dark: [ darkly, styles.scss, styles-dark.scss ]
25+
light: [ flatly, brand, styles.scss, styles-light.scss ]
26+
dark: [ darkly, brand, styles.scss, styles-dark.scss ]
2727
respect-user-color-scheme: true
2828

2929
brand:

content/brand-dark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ typography:
1212
fonts:
1313
- family: Fira Sans
1414
source: google
15-
- family: Fira Sans Code
15+
- family: Fira Code
1616
source: google
1717
base: Fira Sans
1818
headings: Fira Sans

content/styles-dark.scss

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
/*-- scss:defaults --*/
22

3-
$body-bg: #222222; // dark background
4-
$body-color: #ddeaf1; // soft light text
5-
6-
$primary: #78B159; // Clojure green
7-
$secondary: #4B8FD7; // Clojure blue
8-
$tertiary: #A4C49C; // soft green
9-
$quaternary: #294135; // deep greenish slate
10-
$quinary: #C4E5CA; // pale minty green to pop gently
11-
12-
$headings-color: $primary;
13-
$navbar-bg: $quaternary;
14-
$navbar-fg: $body-color;
15-
16-
$code-bg: $quaternary;
17-
$code-color: $quinary;
18-
3+
$code-bg: #294135;
4+
$code-color: #C4E5CA;
5+
$navbar-bg: $code-bg;
196
$text-muted: #888888;

content/styles-light.scss

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
/*-- scss:defaults --*/
22

3-
$body-bg: #F0F4F8; // soft light background
4-
$body-color: #222222; // dark text
5-
6-
$primary: #78B159; // Clojure green
7-
$secondary: #4B8FD7; // Clojure blue
8-
$tertiary: #A4C49C; // soft green
9-
$quaternary: #E0EFF8;
10-
$quinary: #CD7F32;
11-
12-
$headings-color: #2A4B7C;
13-
$navbar-bg: $quaternary; // light blue navbar
14-
$navbar-fg: $body-color;
15-
16-
$code-bg: $quaternary; // subtle green tint for code
17-
$code-color: $quinary; // dark code text
18-
3+
$code-bg: #E0EFF8;
4+
$code-color: #CD7F32;
5+
$navbar-bg: $code-bg;
196
$text-muted: #888888;

content/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pre code {
1818
}
1919

2020
div.quarto-post h3 a {
21-
color: $headings-color;
21+
color: $primary;
2222
}
2323

2424
.quarto-listing .quarto-post {

0 commit comments

Comments
 (0)