117 lines
2.8 KiB
Nix
117 lines
2.8 KiB
Nix
final: prev:
|
|
with prev.lib.nix-rice; let
|
|
# theme = kitty-themes.parseTheme (
|
|
# builtins.fetchurl {
|
|
# url = "https://github.com/rebelot/kanagawa.nvim/blob/master/extras/kanagawa.conf?raw=true";
|
|
# sha256 = "1r95lkq24a2ygrjv1mkqfrksgfvnyc16xrsldw04phnsa555x51l";
|
|
# }
|
|
# );
|
|
theme = kitty-themes.getThemeByName "everforest_dark_hard";
|
|
in rec {
|
|
rice = {
|
|
palette =
|
|
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.brighten 15 normal
|
|
// {
|
|
black = theme.color8;
|
|
white = theme.color15;
|
|
};
|
|
# 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;
|
|
url = theme.url_color;
|
|
};
|
|
}
|
|
// theme;
|
|
|
|
fonts = rec {
|
|
sans = {
|
|
name = "Inria Sans";
|
|
size = 12;
|
|
package = final.inriafonts;
|
|
};
|
|
serif = {
|
|
name = "Inria Serif";
|
|
size = 12;
|
|
package = final.inriafonts;
|
|
};
|
|
monospace = {
|
|
name = "Fira Code";
|
|
size = 10;
|
|
package = final.fira-code;
|
|
};
|
|
emoji = {
|
|
name = "Twitter Color Emoji";
|
|
size = 12;
|
|
package = final.twemoji-color-font;
|
|
};
|
|
pkgs = with final; [
|
|
sans.package
|
|
serif.package
|
|
monospace.package
|
|
emoji.package
|
|
meslo-lgs-nf
|
|
];
|
|
};
|
|
|
|
icons = rec {
|
|
name = "Papirus-Dark";
|
|
package = final.papirus-icon-theme;
|
|
pkgs = with final; [
|
|
package
|
|
# material-icons
|
|
# material-design-icons
|
|
];
|
|
};
|
|
|
|
gtk-theme = {
|
|
name = "Everforest-Dark";
|
|
package = final.everforest-theme;
|
|
};
|
|
|
|
|
|
borders = {
|
|
thickness = 1;
|
|
rounding = 0;
|
|
gaps_in = 0;
|
|
gaps_out = 0;
|
|
};
|
|
|
|
bg = {
|
|
image = prev.fetchurl {
|
|
url = "https://github.com/Apeiros-46B/everforest-walls/blob/main/close_up/circuit_1.png?raw=true";
|
|
sha256 = "sha256-5V9XlJtC8n3zZueg5y/pWW1Oz75YPcEydLU/E/+z+2k=";
|
|
};
|
|
};
|
|
}; # /rice
|
|
}
|