Switch to new nix-rice version

This commit is contained in:
Filippo Berto 2021-09-06 12:36:08 +02:00
parent b25d9b68f8
commit bd6b04c6a4
7 changed files with 65 additions and 52 deletions

View file

@ -13,17 +13,17 @@ let
colors = with pkgs.rice; palette.toARGBHex rec {
normal = {
foreground = colorPalette.primary.foreground;
background = colorPalette.primary.background;
foreground = colorPalette.normal.white;
background = colorPalette.normal.black;
underline = colorPalette.normal.blue;
};
active = palette.tPalette (c: color.brighten c "50%") normal;
active = palette.brighten "50%" normal;
selected = {
foreground = colorPalette.bright.white;
background = color.tAlphaRgba (v: 240) colorPalette.dim.blue;
underline = colorPalette.dim.white;
background = color.tAlphaRgba (v: 240) colorPalette.dark.blue;
underline = colorPalette.dark.white;
};
alert = colorPalette.bright.red;
@ -168,7 +168,7 @@ in
focused = colors.selected // common;
occupied = colors.active // common;
urgent = colors.active // common // { background = colors.alert; };
empty = colors.normal // common // { text = "󰧟"; padding = 0 ; };
empty = colors.normal // common // { text = "󰧟"; padding = 0; };
};
};