Rename colors to theme, clean up color usage
This commit is contained in:
parent
5d9fc8f4f3
commit
a548fbba06
12 changed files with 60 additions and 60 deletions
|
@ -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"] ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue