nixos-config/overlays/rice.nix

55 lines
1.3 KiB
Nix
Raw Normal View History

2025-02-07 09:31:51 -05:00
self: super:
2025-02-08 10:27:43 -05:00
with super.pkgs.lib.nix-rice;
let theme = kitty-themes.getThemeByName "Monokai_Pro";
2025-02-07 09:31:51 -05:00
in {
rice = {
colorPalette = rec {
normal = palette.defaultPalette // {
2025-02-08 10:27:43 -05:00
background = {
a = 1.0;
r = 17;
g = 17;
b = 17;
};
2025-02-07 09:31:51 -05:00
black = theme.color0;
red = theme.color1;
green = theme.color2;
yellow = theme.color3;
blue = theme.color4;
magenta = theme.color5;
cyan = theme.color6;
white = theme.color7;
};
bright = palette.brighten 10 normal // {
2025-02-08 10:27:43 -05:00
background = {
a = 1.0;
r = 17;
g = 17;
b = 17;
};
2025-02-07 09:31:51 -05:00
black = theme.color8;
red = theme.color9;
green = theme.color10;
yellow = theme.color11;
blue = theme.color12;
magenta = theme.color13;
cyan = theme.color14;
white = theme.color15;
};
dark = palette.darken 10 normal;
} // theme;
font = {
monospace = {
2025-02-08 10:27:43 -05:00
name = "JetBrainsMono Nerd Font";
package = self.nerdfonts.override { fonts = [ "Jetbrains-Mono" ]; };
size = 12;
};
normal = {
name = "JetBrainsMono Nerd Font";
package = self.nerdfonts.override { fonts = [ "Jetbrains-Mono" ]; };
size = 12;
2025-02-07 09:31:51 -05:00
};
};
};
}