Update rice

This commit is contained in:
Filippo Berto 2022-06-05 17:27:17 +02:00
parent 601cd4d429
commit 26a4a16638
6 changed files with 66 additions and 45 deletions

View file

@ -1,39 +1,30 @@
final: prev:
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);
# 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);
in
(
rec {
rice = {
colorPalette = with prev.lib.rice; palette.defaultPalette // rec {
normal = {
black = onedark.black;
blue = onedark.blue;
cyan = onedark.cyan;
green = onedark.green;
magenta = onedark.magenta;
red = onedark.darkRed;
white = onedark.white;
yellow = onedark.darkYellow;
colorPalette = with prev.lib.rice; rec {
normal = palette.defaultPalette // {
black = mkpm.base2;
blue = mkpm.blue;
green = mkpm.green;
red = mkpm.red;
white = mkpm.base7;
yellow = mkpm.yellow;
};
bright = palette.brighten 10 normal // {
red = onedark.lightRed;
yellow = onedark.lightYellow;
# blue = nord.n9;
# black = nord.n2;
# red = nord.n12;
# white = nord.n6;
red = mkpm.orange;
black = mkpm.base3;
white = mkpm.base8;
};
dark = palette.darken 10 normal // {
black = mkpm.base0;
};
dark = palette.darken 10 normal
# // {
# # black = nord.n0;
# # blue = nord.n3;
# # cyan = nord.n7;
# # white = nord.n4;
# }
;
};
font = {
normal = {