cleanup and styling with nix-rice
This commit is contained in:
parent
762be96a71
commit
88fad0ccac
9 changed files with 90 additions and 63 deletions
|
@ -1,10 +1,16 @@
|
|||
self: super:
|
||||
with super.lib.nix-rice;
|
||||
let theme = kitty-themes.getThemeByName "Molokai";
|
||||
with super.pkgs.lib.nix-rice;
|
||||
let theme = kitty-themes.getThemeByName "Monokai_Pro";
|
||||
in {
|
||||
rice = {
|
||||
colorPalette = rec {
|
||||
normal = palette.defaultPalette // {
|
||||
background = {
|
||||
a = 1.0;
|
||||
r = 17;
|
||||
g = 17;
|
||||
b = 17;
|
||||
};
|
||||
black = theme.color0;
|
||||
red = theme.color1;
|
||||
green = theme.color2;
|
||||
|
@ -15,6 +21,12 @@ in {
|
|||
white = theme.color7;
|
||||
};
|
||||
bright = palette.brighten 10 normal // {
|
||||
background = {
|
||||
a = 1.0;
|
||||
r = 17;
|
||||
g = 17;
|
||||
b = 17;
|
||||
};
|
||||
black = theme.color8;
|
||||
red = theme.color9;
|
||||
green = theme.color10;
|
||||
|
@ -25,24 +37,18 @@ in {
|
|||
white = theme.color15;
|
||||
};
|
||||
dark = palette.darken 10 normal;
|
||||
primary = {
|
||||
inherit (theme) background foreground;
|
||||
bright_foreground = color.brighten 10 theme.foreground;
|
||||
dim_foreground = color.darken 10 theme.foreground;
|
||||
};
|
||||
} // theme;
|
||||
font = {
|
||||
normal = {
|
||||
name = "Cantarell";
|
||||
package = self.cantarell-fonts;
|
||||
size = 10;
|
||||
};
|
||||
monospace = {
|
||||
name = "FiraCode Nerd Font Mono";
|
||||
package = self.nerdfonts.override { fonts = [ "FiraCode" ]; };
|
||||
size = 10;
|
||||
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;
|
||||
};
|
||||
};
|
||||
opacity = 0.95;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue