New theme + Cava config

This commit is contained in:
Filippo Berto 2022-08-01 16:35:00 +02:00
parent f643371195
commit 78b6962d8a
4 changed files with 50 additions and 12 deletions

View file

@ -3,27 +3,20 @@ let
# nord = prev.lib.rice.palette.tPalette prev.lib.rice.color.hexToRgba (import ./themes/nord.nix);
# onedark = prev.lib.rice.palette.tPalette prev.lib.rice.color.hexToRgba (import ./themes/onedark.nix);
# tomorrow-night = prev.lib.rice.palette.tPalette prev.lib.rice.color.hexToRgba (import ./themes/tomorrow-night.nix);
mkpm = with prev.lib.rice; palette.tPalette color.hexToRgba (import ./themes/monokai-pro-machine.nix);
# 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);
in
(
rec {
rice = {
colorPalette = with prev.lib.rice; rec {
normal = palette.defaultPalette // {
black = mkpm.base2;
blue = mkpm.blue;
green = mkpm.green;
red = mkpm.red;
white = mkpm.base8;
yellow = mkpm.yellow;
inherit (bloom.normal) black red green yellow blue magenta cyan white;
};
bright = palette.brighten 10 normal // {
red = mkpm.orange;
black = mkpm.base3;
};
dark = palette.darken 10 normal // {
black = mkpm.base0;
inherit (bloom.bright) black red green yellow blue magenta cyan white;
};
dark = palette.darken 10 normal;
};
font = {
normal = {