rice syntax
This commit is contained in:
@@ -6,8 +6,7 @@ pkgs: rec {
|
|||||||
rounding = 3;
|
rounding = 3;
|
||||||
gap-size = 5;
|
gap-size = 5;
|
||||||
border-width = 2;
|
border-width = 2;
|
||||||
color =
|
color = let
|
||||||
let
|
|
||||||
dark = (-0.5);
|
dark = (-0.5);
|
||||||
bright = (0.5);
|
bright = (0.5);
|
||||||
alter-set = let f = lib.alter-luminace-hex; in color-name: color-value: { base = color-value; dark = f color-value dark; bright = f color-value bright; };
|
alter-set = let f = lib.alter-luminace-hex; in color-name: color-value: { base = color-value; dark = f color-value dark; bright = f color-value bright; };
|
||||||
@@ -26,7 +25,7 @@ pkgs: rec {
|
|||||||
facolor = builtins.mapAttrs alter-set (builtins.fromJSON (builtins.readFile ./colors.json)).to_alter;
|
facolor = builtins.mapAttrs alter-set (builtins.fromJSON (builtins.readFile ./colors.json)).to_alter;
|
||||||
fbcolor = (builtins.fromJSON (builtins.readFile ./colors.json)).base;
|
fbcolor = (builtins.fromJSON (builtins.readFile ./colors.json)).base;
|
||||||
fcolor = facolor // fbcolor;
|
fcolor = facolor // fbcolor;
|
||||||
xcolor = with ccolor; with fcolor; rec {
|
xcolor = with ccolor; with fcolor; {
|
||||||
background = "#000000";
|
background = "#000000";
|
||||||
# foreground = "#dddddd";
|
# foreground = "#dddddd";
|
||||||
# accent = blue;
|
# accent = blue;
|
||||||
|
|||||||
Reference in New Issue
Block a user