Extreme cleaup + new nix rice + commit hooks

This commit is contained in:
Filippo Berto 2022-06-02 20:16:20 +02:00
parent bc28d964d3
commit c9eeeb9dc4
59 changed files with 319 additions and 400 deletions

View file

@ -1,19 +1,13 @@
final: prev:
let
nix-rice = final.callPackage (
fetchTarball {
url = "https://github.com/bertof/nix-rice/archive/refs/tags/v0.2.1.tar.gz";
sha256 = "1is70gjf59sxccwhz1hl9hdxsd4z8vqsr2rdk3imnmxj9n3jf6j8";
}
) {};
nord = with nix-rice; palette.tPalette color.hexToRgba (import ./themes/nord.nix);
onedark = with nix-rice; palette.tPalette color.hexToRgba (import ./themes/onedark.nix);
tomorrow-night = with nix-rice; palette.tPalette color.hexToRgba (import ./themes/tomorrow-night.nix);
# nord = prev.lib.rice.palette.tPalette prev.lib.rice.color.hexToRgba (import ./themes/nord.nix);
onedark = prev.lib.rice.palette.tPalette prev.lib.rice.color.hexToRgba (import ./themes/onedark.nix);
# tomorrow-night = prev.lib.rice.palette.tPalette prev.lib.rice.color.hexToRgba (import ./themes/tomorrow-night.nix);
in
(
rec {
rice = nix-rice // {
colorPalette = with nix-rice; rec {
rice = {
colorPalette = with prev.lib.rice; palette.defaultPalette // rec {
normal = {
black = onedark.black;
blue = onedark.blue;
@ -32,12 +26,14 @@ in
# 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
# // {
# # black = nord.n0;
# # blue = nord.n3;
# # cyan = nord.n7;
# # white = nord.n4;
# }
;
};
font = {
normal = {