Use modules folder

This commit is contained in:
Elnu 2023-01-25 20:15:06 -08:00
parent e42f845f09
commit 2903676336
46 changed files with 21 additions and 21 deletions

11
modules/theme/default.nix Normal file
View file

@ -0,0 +1,11 @@
let
theme = import ./everforest;
colors = {
undefined = "#ff00ff";
fg1 = "#ffffff";
};
in
{
css = lib: lib.strings.concatStringsSep "\n" (lib.attrValues (lib.mapAttrs (k: v: " --${k}: ${v};") theme.colors));
}
// theme // { colors = theme.colors // colors; }