Switch to module-based rice
This commit is contained in:
parent
a8ee39aaa3
commit
61329e5f96
19 changed files with 505 additions and 547 deletions
|
|
@ -1,17 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, nixosConfig, ... }:
|
||||
with nixosConfig.nix-rice.lib;
|
||||
let
|
||||
inherit (pkgs.rice) colorPalette;
|
||||
inherit (pkgs.lib) nix-rice;
|
||||
inherit (nixosConfig.nix-rice.rice) colorPalette font;
|
||||
alpha = 0.9;
|
||||
custom = nix-rice.palette.toRGBHex {
|
||||
custom = palette.toRGBHex {
|
||||
inherit (colorPalette.primary) background foreground;
|
||||
alpha_background = nix-rice.color.setAlphaRgba alpha colorPalette.primary.background;
|
||||
alpha_background = color.setAlphaRgba alpha colorPalette.primary.background;
|
||||
primary_accent = colorPalette.normal.blue;
|
||||
secondary_accent = colorPalette.normal.cyan;
|
||||
tertiary_accent = colorPalette.primary.yellow;
|
||||
palette = {
|
||||
primary_background_rgba = colorPalette.primary.background;
|
||||
tertiary_background_hex = nix-rice.color.setAlphaRgba alpha colorPalette.primary.background;
|
||||
tertiary_background_hex = color.setAlphaRgba alpha colorPalette.primary.background;
|
||||
};
|
||||
};
|
||||
swaync-client = "${pkgs.swaynotificationcenter}/bin/swaync-client";
|
||||
|
|
@ -184,7 +184,7 @@ in
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
font-family: ${pkgs.rice.font.monospace.name};
|
||||
font-family: ${font.monospace.name};
|
||||
font-size: 10px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue