kitty-themes based rice
This commit is contained in:
parent
a0d460ca40
commit
bd43302fd8
6 changed files with 196 additions and 67 deletions
|
|
@ -40,7 +40,7 @@ in
|
|||
package = pkgs.unstable.helix;
|
||||
languages = [ ];
|
||||
settings = {
|
||||
theme = "ayu_mirage";
|
||||
theme = "evergreen_dark";
|
||||
editor.lsp.display-messages = true;
|
||||
editor.scrolloff = 5;
|
||||
editor.true-color = true;
|
||||
|
|
|
|||
|
|
@ -1,25 +1,27 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
strPalette = with pkgs.rice;
|
||||
pkgs.lib.rice.palette.toRgbHex rec {
|
||||
inherit (colorPalette.primary) background foreground;
|
||||
color0 = colorPalette.normal.black;
|
||||
color1 = colorPalette.normal.red;
|
||||
color2 = colorPalette.normal.green;
|
||||
color3 = colorPalette.normal.yellow;
|
||||
color4 = colorPalette.normal.blue;
|
||||
color5 = colorPalette.normal.magenta;
|
||||
color6 = colorPalette.normal.cyan;
|
||||
color7 = colorPalette.normal.white;
|
||||
color8 = colorPalette.bright.black;
|
||||
color9 = colorPalette.bright.red;
|
||||
color10 = colorPalette.bright.green;
|
||||
color11 = colorPalette.bright.yellow;
|
||||
color12 = colorPalette.bright.blue;
|
||||
color13 = colorPalette.bright.magenta;
|
||||
color14 = colorPalette.bright.cyan;
|
||||
color15 = colorPalette.bright.white;
|
||||
};
|
||||
strPalette = with pkgs.rice; pkgs.lib.rice.palette.toRgbHex {
|
||||
inherit (colorPalette)
|
||||
background
|
||||
foreground
|
||||
color0
|
||||
color1
|
||||
color2
|
||||
color3
|
||||
color4
|
||||
color5
|
||||
color6
|
||||
color7
|
||||
color8
|
||||
color9
|
||||
color10
|
||||
color11
|
||||
color12
|
||||
color13
|
||||
color14
|
||||
color15
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.kitty = {
|
||||
|
|
|
|||
|
|
@ -33,20 +33,20 @@ let
|
|||
palette.toARGBHex rec {
|
||||
|
||||
normal = {
|
||||
foreground = colorPalette.normal.white;
|
||||
background = color.setAlphaRgba alpha colorPalette.normal.black;
|
||||
underline = colorPalette.dark.blue;
|
||||
foreground = color.darken 10 colorPalette.foreground;
|
||||
background = color.setAlphaRgba alpha colorPalette.background;
|
||||
underline = colorPalette.normal.blue;
|
||||
};
|
||||
|
||||
active = {
|
||||
foreground = colorPalette.bright.white;
|
||||
background = color.setAlphaRgba alpha colorPalette.normal.black;
|
||||
inherit (colorPalette) foreground;
|
||||
background = color.setAlphaRgba alpha colorPalette.background;
|
||||
underline = colorPalette.normal.yellow;
|
||||
};
|
||||
|
||||
selected = {
|
||||
foreground = colorPalette.bright.white;
|
||||
background = color.setAlphaRgba alpha (color.brighten 10 colorPalette.bright.black);
|
||||
inherit (colorPalette) foreground;
|
||||
background = color.setAlphaRgba alpha colorPalette.background;
|
||||
underline = colorPalette.bright.red;
|
||||
};
|
||||
|
||||
|
|
@ -193,12 +193,12 @@ in
|
|||
};
|
||||
in
|
||||
{
|
||||
focused = recursiveUpdate colors.selected common;
|
||||
occupied = recursiveUpdate colors.active common;
|
||||
urgent = recursiveUpdate (recursiveUpdate colors.active common) {
|
||||
focused = recursiveUpdate common colors.selected;
|
||||
occupied = recursiveUpdate common colors.active;
|
||||
urgent = recursiveUpdate (recursiveUpdate common colors.active) {
|
||||
background = colors.alert;
|
||||
};
|
||||
empty = recursiveUpdate (recursiveUpdate colors.normal common) {
|
||||
empty = recursiveUpdate (recursiveUpdate common colors.normal) {
|
||||
# text = "⏺";
|
||||
padding = 1;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue