kitty-themes based rice

This commit is contained in:
Filippo Berto 2022-12-31 00:14:35 +01:00
parent a0d460ca40
commit bd43302fd8
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
6 changed files with 196 additions and 67 deletions

View file

@ -6,26 +6,39 @@ let
# mkpm = with prev.lib.rice; palette.tPalette color.hexToRgba (import ./themes/monokai-pro-machine.nix);
# bloom = with prev.lib.rice;
# palette.tPalette color.hexToRgba (import ./themes/bloom.nix);
ayu-mirage = with super.lib.rice;
palette.tPalette color.hexToRgba (import ./themes/ayu-mirage.nix);
theme = with super.lib.rice;
kitty-themes.getThemeByName "everforest_dark_medium";
in
rec {
rice = {
colorPalette = with super.lib.rice; rec {
normal = palette.defaultPalette // {
inherit (ayu-mirage.normal) black red green yellow blue magenta cyan white;
black = theme.color0;
red = theme.color1;
green = theme.color2;
yellow = theme.color0;
blue = theme.color4;
magenta = theme.color5;
cyan = theme.color6;
white = theme.color7;
};
bright = palette.brighten 10 normal // {
inherit (ayu-mirage.bright) black red green yellow blue magenta cyan white;
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;
primary = {
background = color.black;
foreground = color.white;
bright_foreground = color.white;
dim_foreground = dark.white;
} // ayu-mirage.primary;
};
inherit (theme) background foreground;
bright_foreground = color.brighten 10 theme.foreground;
dim_foreground = color.darken 10 theme.foreground;
};
} // theme;
font = {
normal = {
name = "Cantarell";