fixed colors

This commit is contained in:
Rouven Seifert 2023-02-12 14:56:42 +01:00
parent a2fd39e7ab
commit 19580dd4f2
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 48 additions and 40 deletions

View file

@ -24,24 +24,28 @@
console = { console = {
keyMap = "dvorak"; keyMap = "dvorak";
font = "Lat2-Terminus16"; font = "Lat2-Terminus16";
colors = [ colors =
# hardcoded dracula since nix-colors only provides a home manager module let
"282936" colors = config.home-manager.users.rouven.colorScheme.colors;
"3a3c4e" in
"4d4f68" [
"626483" colors.base00
"62d6e8" colors.base08
"e9e9f4" colors.base0A
"f1f2f8" colors.base0B
"f7f7fb" colors.base0D
"ea51b2" colors.base0E
"b45bcf" colors.base0C
"00f769" colors.base05
"ebff87"
"a1efe4" colors.base03
"62d6e8" colors.base08
"b45bcf" colors.base0A
"00f769" colors.base0B
colors.base0D
colors.base0E
colors.base0C
colors.base07
]; ];
}; };

View file

@ -13,26 +13,30 @@
font = "monospace:size=8"; font = "monospace:size=8";
}; };
cursor.color = "${colors.background} ${colors.foreground}"; cursor.color = "${colors.background} ${colors.foreground}";
colors = { colors =
let
colors = config.colorScheme.colors;
in
{
alpha = 0.0; alpha = 0.0;
background = config.colorScheme.colors.base00; background = colors.base00;
foreground = config.colorScheme.colors.base05; foreground = colors.base05;
regular0 = config.colorScheme.colors.base00; regular0 = colors.base02;
regular1 = config.colorScheme.colors.base01; regular1 = colors.base08;
regular2 = config.colorScheme.colors.base02; regular2 = colors.base0A;
regular3 = config.colorScheme.colors.base03; regular3 = colors.base0B;
regular4 = config.colorScheme.colors.base04; regular4 = colors.base0D;
regular5 = config.colorScheme.colors.base05; regular5 = colors.base0E;
regular6 = config.colorScheme.colors.base06; regular6 = colors.base0C;
regular7 = config.colorScheme.colors.base07; regular7 = colors.base05;
bright0 = config.colorScheme.colors.base08; bright0 = colors.base03;
bright1 = config.colorScheme.colors.base09; bright1 = colors.base08;
bright2 = config.colorScheme.colors.base0A; bright2 = colors.base0A;
bright3 = config.colorScheme.colors.base0B; bright3 = colors.base0B;
bright4 = config.colorScheme.colors.base0C; bright4 = colors.base0D;
bright5 = config.colorScheme.colors.base0D; bright5 = colors.base0E;
bright6 = config.colorScheme.colors.base0E; bright6 = colors.base0C;
bright7 = config.colorScheme.colors.base0F; bright7 = colors.base07;
}; };
}; };
}; };