Switch to new nix-rice version

This commit is contained in:
Filippo Berto 2021-09-06 12:36:08 +02:00
parent b25d9b68f8
commit bd6b04c6a4
7 changed files with 65 additions and 52 deletions

View file

@ -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";
};
};
};