fix(home): Fix theme.colors hoisting

This commit is contained in:
punkfairie 2024-11-16 23:41:21 -08:00
parent 9a07f22743
commit 465a717669
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -93,9 +93,9 @@ in
light = mkColorThemeOpt "light" "dawn";
dark = mkColorThemeOpt "dark" "main";
inherit ("${default}") base;
inherit ("${default}") flavor;
inherit ("${default}") accent;
inherit (cfg.colors."${cfg.colors.default}") base;
inherit (cfg.colors."${cfg.colors.default}") flavor;
inherit (cfg.colors."${cfg.colors.default}") accent;
# HACK: Need to come up with a better solution
isRosePine = base == "rose-pine";