Switch to onedark theme
This commit is contained in:
parent
e102a548ba
commit
1f1ade1541
3 changed files with 22 additions and 19 deletions
|
|
@ -29,8 +29,8 @@ let
|
|||
|
||||
selected = {
|
||||
foreground = colorPalette.bright.white;
|
||||
background = color.tAlphaRgba (v: 240) colorPalette.dark.blue;
|
||||
underline = colorPalette.dark.white;
|
||||
background = colorPalette.bright.black;
|
||||
underline = colorPalette.normal.white;
|
||||
};
|
||||
|
||||
alert = colorPalette.bright.red;
|
||||
|
|
|
|||
37
rice.nix
37
rice.nix
|
|
@ -7,33 +7,36 @@ let
|
|||
}
|
||||
) {};
|
||||
nord = with nix-rice; palette.tPalette color.hexToRgba (import ./themes/nord.nix);
|
||||
# onedark = with nix-rice; palette.tPalette color.hexToRgba (import ./themes/onedark.nix);
|
||||
onedark = with nix-rice; palette.tPalette color.hexToRgba (import ./themes/onedark.nix);
|
||||
tomorrow-night = with nix-rice; palette.tPalette color.hexToRgba (import ./themes/tomorrow-night.nix);
|
||||
in
|
||||
(
|
||||
rec {
|
||||
rice = nix-rice // {
|
||||
colorPalette = with nix-rice; rec {
|
||||
normal = {
|
||||
black = nord.n1;
|
||||
blue = nord.n10;
|
||||
cyan = nord.n8;
|
||||
green = nord.n14;
|
||||
magenta = nord.n15;
|
||||
red = nord.n11;
|
||||
white = nord.n5;
|
||||
yellow = nord.n13;
|
||||
black = onedark.black;
|
||||
blue = onedark.blue;
|
||||
cyan = onedark.cyan;
|
||||
green = onedark.green;
|
||||
magenta = onedark.magenta;
|
||||
red = onedark.darkRed;
|
||||
white = onedark.white;
|
||||
yellow = onedark.darkYellow;
|
||||
};
|
||||
bright = palette.brighten 10 normal // {
|
||||
blue = nord.n9;
|
||||
black = nord.n2;
|
||||
red = nord.n12;
|
||||
white = nord.n6;
|
||||
red = onedark.lightRed;
|
||||
yellow = onedark.lightYellow;
|
||||
# blue = nord.n9;
|
||||
# black = nord.n2;
|
||||
# red = nord.n12;
|
||||
# white = nord.n6;
|
||||
};
|
||||
dark = palette.darken 10 normal // {
|
||||
black = nord.n0;
|
||||
blue = nord.n3;
|
||||
cyan = nord.n7;
|
||||
white = nord.n4;
|
||||
# black = nord.n0;
|
||||
# blue = nord.n3;
|
||||
# cyan = nord.n7;
|
||||
# white = nord.n4;
|
||||
};
|
||||
};
|
||||
font = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue