more dynamic color

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-29 22:17:03 +02:00
parent 1db9cf76f7
commit 5c92ded93d
7 changed files with 83 additions and 78 deletions

View File

@@ -72,7 +72,6 @@
"obsidian"
"zoom-us"
"zoom"
"vscode-extension-MS-python-vscode-pylance"
] ++ nvidia.unfree;
inecure-packages = [
@@ -94,11 +93,11 @@
bright = (0.5);
alter = let f = rice.lib.alter-luminace-hex; in color-name: color-value: { base = color-value; dark = f color-value dark; bright = f color-value bright; };
ccolor = builtins.mapAttrs alter {
black = "#110022"; # "#111111" "#001100";
white = "#dddddd"; # "#dddddd" "#66dd66";
black = "#000022"; # "#111111" "#001100";
white = "#ddddff"; # "#dddddd" "#66dd66";
blue = "#6611dd"; # "#3333dd" "#003300";
cyan = "#11dddd"; # "#11dddd" "#00dd55";
green = "#00ddaa"; # "#11dd11" "#11dd11";
green = "#11dd11"; # "#11dd11" "#11dd11";
magenta = "#dd00dd"; # "#dd11dd" "#005500";
red = "#dd1166"; # "#dd1111" "#00aa00";
yellow = "#dd6611"; # "#dddd11" "#ffff00";
@@ -106,10 +105,11 @@
xcolor = with ccolor; {
background = black.dark;
foreground = white.base;
border = green.base;
border = cyan.base;
border2 = blue.base;
accent = magenta.base;
tertiary = blue.base;
accent = cyan;
secondary = magenta;
tertiary = blue;
};
in ccolor // xcolor;
font = {