57 lines
1.6 KiB
Nix
57 lines
1.6 KiB
Nix
final: prev:
|
|
let
|
|
# 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 = {
|
|
colorPalette = with prev.lib.rice; palette.defaultPalette // rec {
|
|
normal = {
|
|
black = onedark.black;
|
|
blue = onedark.blue;
|
|
cyan = onedark.cyan;
|
|
green = onedark.green;
|
|
magenta = onedark.magenta;
|
|
red = onedark.darkRed;
|
|
white = onedark.white;
|
|
yellow = onedark.darkYellow;
|
|
};
|
|
bright = palette.brighten 10 normal // {
|
|
red = onedark.lightRed;
|
|
yellow = onedark.lightYellow;
|
|
# 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;
|
|
};
|
|
}
|
|
)
|