86 lines
2.1 KiB
Nix
86 lines
2.1 KiB
Nix
self: super: let
|
|
theme = super.lib.nix-rice.kitty-themes.getThemeByName "rose-pine";
|
|
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 = "oomox-Rose-Pine-Main";
|
|
package = self.rose-pine-icons;
|
|
};
|
|
|
|
gtk = {
|
|
package = self.rose-pine-theme;
|
|
name = "RosePine-Main";
|
|
};
|
|
|
|
# kvantum = {
|
|
# package = self.gruvbox-kvantum;
|
|
# };
|
|
|
|
borders = {
|
|
thickness = 3;
|
|
rounding = 8;
|
|
};
|
|
|
|
bg = {
|
|
image = super.fetchurl {
|
|
sha256 = "sha256-8OQCXMy27IImp1Oc/X4i14/8k9XjuuU+6clh0rRcAQY=";
|
|
url = "https://github.com/rose-pine/wallpapers/blob/main/rose_pine_contourline.png?raw=true";
|
|
};
|
|
};
|
|
}; # /rice
|
|
}
|