Rename colors to theme, clean up color usage

This commit is contained in:
Elnu 2023-01-25 19:05:59 -08:00
parent 5d9fc8f4f3
commit a548fbba06
12 changed files with 60 additions and 60 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, lib, ... }:
let
colors = import ../colors;
theme = import ../theme;
startpageDir = import ./dir.nix;
out = "${startpageDir}.tmp/";
in
@ -11,7 +11,7 @@ in
source = ./html;
recursive = true;
};
"${out}colors.css".text = ":root {\n" + (colors.css lib) + "\n}";
"${out}colors.css".text = ":root {\n" + (theme.css lib) + "\n}";
};
# Make files not symlinks, this causes issues displaying in Firefox
home.activation.startpage = lib.hm.dag.entryAfter["writeBoundary"] ''