58 lines
1.5 KiB
Nix
58 lines
1.5 KiB
Nix
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);
|
|
in
|
|
(
|
|
rec {
|
|
rice = nix-rice // {
|
|
colorPalette = with nix-rice; rec {
|
|
normal = {
|
|
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 // {
|
|
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;
|
|
};
|
|
};
|
|
font = {
|
|
normal = {
|
|
name = "Cantarell";
|
|
package = final.cantarell-fonts;
|
|
size = 10;
|
|
};
|
|
monospace = {
|
|
name = "FiraCode Nerd Font Mono";
|
|
package = (
|
|
final.nerdfonts.override {
|
|
fonts = [ "FiraCode" ];
|
|
}
|
|
);
|
|
size = 10;
|
|
};
|
|
};
|
|
opacity = 0.95;
|
|
};
|
|
}
|
|
)
|