Skip to content

Commit fd28249

Browse files
authored
Merge pull request #83 from ArkhamCookie/choose-default
feat: allow choosing default theme in config
2 parents 4f81f0c + 2af9676 commit fd28249

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/templates.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ impl Homepage {
4545

4646
let theme = match &config.theme {
4747
Some(theme_name) => match theme_name.to_ascii_lowercase().as_str() {
48+
"default" => &DEFAULT,
4849
"catppuccin-latte" | "catppuccin_latte" | "latte" => &CATPPUCCIN_LATTE,
4950
"catppuccin" | "catppuccin-frappe" | "catppuccin_frappe" | "frappe" => {
5051
&CATPPUCCIN_FRAPPE

0 commit comments

Comments
 (0)