Switch to new nix-rice version
This commit is contained in:
parent
b25d9b68f8
commit
bd6b04c6a4
7 changed files with 65 additions and 52 deletions
|
|
@ -1,6 +1,31 @@
|
|||
{ pkgs, lib, ... }:
|
||||
let
|
||||
strPalette = with pkgs.rice; palette.toRgbHex colorPalette;
|
||||
strPalette = with pkgs.rice; palette.toRgbHex rec {
|
||||
inherit (colorPalette) normal bright;
|
||||
dim = colorPalette.dark;
|
||||
|
||||
primary = {
|
||||
background = normal.black;
|
||||
foreground = normal.white;
|
||||
dim_foreground = dim.white;
|
||||
};
|
||||
cursor = {
|
||||
cursor = normal.white;
|
||||
text = normal.black;
|
||||
};
|
||||
vi_mode_cursor = {
|
||||
cursor = normal.white;
|
||||
text = normal.black;
|
||||
};
|
||||
selection.background = dim.blue;
|
||||
search = {
|
||||
matches.background = dim.cyan;
|
||||
bar = {
|
||||
foreground = dim.cyan;
|
||||
background = dim.yellow;
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
# Include fonts packages
|
||||
|
|
@ -20,22 +45,9 @@ in
|
|||
# hide_when_typing = true;
|
||||
hints.modifiers = "Control";
|
||||
};
|
||||
|
||||
colors = with pkgs.rice; strPalette // {
|
||||
selection = {
|
||||
text = "CellForeground";
|
||||
background = strPalette.dim.blue;
|
||||
};
|
||||
search = {
|
||||
matches = {
|
||||
foreground = "CellForeground";
|
||||
background = strPalette.dim.cyan;
|
||||
};
|
||||
bar = {
|
||||
foreground = strPalette.dim.cyan;
|
||||
background = strPalette.dim.yellow;
|
||||
};
|
||||
};
|
||||
selection.text = "CellForeground";
|
||||
search.matches.foreground = "CellForeground";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue