mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
refactor: centralize theme
This commit is contained in:
parent
89cefcd610
commit
234ab50a2c
10 changed files with 253 additions and 180 deletions
|
|
@ -5,6 +5,7 @@
|
|||
...
|
||||
}:
|
||||
lib.mkIf config.fireproof.homelab.enable (let
|
||||
hsl = config.fireproof.theme.hsl;
|
||||
domain = "glance.nickolaj.com";
|
||||
port = 8088;
|
||||
|
||||
|
|
@ -50,10 +51,10 @@ in {
|
|||
base-url = "https://${domain}";
|
||||
};
|
||||
theme = {
|
||||
background-color = "30 4 11"; # #1C1B1A (HSL)
|
||||
primary-color = "14 56 55"; # #CF6A4C accent (HSL)
|
||||
positive-color = "72 59 38"; # #879A39 green (HSL)
|
||||
negative-color = "5 64 54"; # #D14D41 red (HSL)
|
||||
background-color = hsl.bg;
|
||||
primary-color = hsl.accent;
|
||||
positive-color = hsl.green;
|
||||
negative-color = hsl.red;
|
||||
contrast-multiplier = 1.1;
|
||||
text-saturation-multiplier = 1.0;
|
||||
custom-css-file = "https://${domain}/custom.css";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue