86 lines
2 KiB
Nix
86 lines
2 KiB
Nix
self: super: let
|
|
theme = super.lib.nix-rice.kitty-themes.getThemeByName "GruvboxMaterialDarkMedium";
|
|
in rec {
|
|
rice = {
|
|
palette = with super.lib.nix-rice; rec {
|
|
normal = palette.defaultPalette // {
|
|
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.defaultPalette // {
|
|
black = theme.color8;
|
|
red = theme.color9;
|
|
green = theme.color10;
|
|
yellow = theme.color11;
|
|
blue = theme.color12;
|
|
magenta = theme.color13;
|
|
cyan = theme.color14;
|
|
white = theme.color15;
|
|
};
|
|
util = palette.defaultPalette // {
|
|
fg = theme.foreground;
|
|
bg = theme.background;
|
|
fg_sel = theme.selection_foreground;
|
|
bg_sel = theme.selection_background;
|
|
cursor = theme.cursor;
|
|
# cursor_text = theme.cursor_text_color;
|
|
# url = theme.url_color;
|
|
};
|
|
} // theme;
|
|
|
|
fonts = {
|
|
sans = {
|
|
name = "Inria Sans";
|
|
size = 14;
|
|
package = self.inriafonts;
|
|
};
|
|
serif = {
|
|
name = "Inria Serif";
|
|
size = 14;
|
|
package = self.inriafonts;
|
|
};
|
|
monospace = {
|
|
name = "Fira Code";
|
|
size = 10;
|
|
package = self.fira-code;
|
|
};
|
|
emoji = {
|
|
name = "Twitter Color Emoji";
|
|
size = 14;
|
|
package = self.twemoji-color-font;
|
|
};
|
|
};
|
|
|
|
icons = {
|
|
name = "Papirus-Dark";
|
|
package = self.papirus-icon-theme;
|
|
};
|
|
|
|
gtk = {
|
|
package = self.gruvbox-gtk-theme;
|
|
name = "Gruvbox-Dark";
|
|
};
|
|
|
|
kvantum = {
|
|
package = self.gruvbox-kvantum;
|
|
};
|
|
|
|
borders = {
|
|
thickness = 3;
|
|
rounding = 8;
|
|
};
|
|
|
|
bg = {
|
|
image = super.fetchurl {
|
|
sha256 = "sha256-6BCoxgqK5pCxv5P7Rf5MoyLbHAShRd3YuacAcZ916C8=";
|
|
url = "https://gruvbox-wallpapers.pages.dev/wallpapers/irl/flowers-2.jpg";
|
|
};
|
|
};
|
|
}; # /rice
|
|
}
|