fix(home): Fix theme.colors hoisting
This commit is contained in:
parent
9a07f22743
commit
465a717669
1 changed files with 3 additions and 3 deletions
|
@ -93,9 +93,9 @@ in
|
||||||
light = mkColorThemeOpt "light" "dawn";
|
light = mkColorThemeOpt "light" "dawn";
|
||||||
dark = mkColorThemeOpt "dark" "main";
|
dark = mkColorThemeOpt "dark" "main";
|
||||||
|
|
||||||
inherit ("${default}") base;
|
inherit (cfg.colors."${cfg.colors.default}") base;
|
||||||
inherit ("${default}") flavor;
|
inherit (cfg.colors."${cfg.colors.default}") flavor;
|
||||||
inherit ("${default}") accent;
|
inherit (cfg.colors."${cfg.colors.default}") accent;
|
||||||
|
|
||||||
# HACK: Need to come up with a better solution
|
# HACK: Need to come up with a better solution
|
||||||
isRosePine = base == "rose-pine";
|
isRosePine = base == "rose-pine";
|
||||||
|
|
Loading…
Reference in a new issue