Gnome extensions + better theme integration

This commit is contained in:
Filippo Berto 2021-09-06 17:04:06 +02:00
parent bd6b04c6a4
commit d304c4c65a
4 changed files with 61 additions and 17 deletions

View file

@ -6,7 +6,7 @@ let
sha256 = "1is70gjf59sxccwhz1hl9hdxsd4z8vqsr2rdk3imnmxj9n3jf6j8";
}
) {};
nord = import ../themes/nord.nix;
nord = with nix-rice; palette.tPalette color.hexToRgba (import ../themes/nord.nix);
onedark = import ../themes/onedark.nix;
in
(
@ -14,20 +14,27 @@ in
rice = nix-rice // {
colorPalette = with nix-rice; rec {
normal = {
black = color.hexToRgba nord.n0;
red = color.hexToRgba nord.n11;
green = color.hexToRgba nord.n14;
yellow = color.hexToRgba nord.n13;
blue = color.hexToRgba nord.n10;
magenta = color.hexToRgba nord.n15;
cyan = color.hexToRgba nord.n8;
white = color.hexToRgba nord.n4;
black = nord.n1;
blue = nord.n10;
cyan = nord.n8;
green = nord.n14;
magenta = nord.n15;
red = nord.n11;
white = nord.n5;
yellow = nord.n13;
};
bright = palette.brighten 10 normal // {
white = color.hexToRgba nord.n6;
red = color.hexToRgba nord.n12;
blue = nord.n9;
black = nord.n2;
red = nord.n12;
white = nord.n6;
};
dark = palette.darken 10 normal // {
black = nord.n0;
blue = nord.n3;
cyan = nord.n7;
white = nord.n4;
};
dark = palette.darken 10 normal;
};
font = {
normal = {
@ -45,7 +52,7 @@ in
size = 10;
};
};
opacity = 0.9;
opacity = 0.95;
};
}
)