theme edits
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
with lib;
|
||||
let
|
||||
cfg = config.mjallen.programs.mako;
|
||||
nord = import (lib.snowfall.fs.get-file "modules/home/desktop/theme/nord.nix");
|
||||
palette = import cfg.theme.file;
|
||||
in
|
||||
{
|
||||
imports = [ ./options.nix ];
|
||||
@@ -22,10 +22,10 @@ in
|
||||
max-icon-size = 64;
|
||||
default-timeout = 5000;
|
||||
|
||||
background-color = nord.polarNight.nord0;
|
||||
text-color = nord.snowStorm.nord6;
|
||||
border-color = nord.frost.nord10;
|
||||
progress-color = "over ${nord.frost.nord8}";
|
||||
background-color = palette.colors.bg;
|
||||
text-color = palette.colors.text;
|
||||
border-color = palette.colors.primary;
|
||||
progress-color = "over ${palette.colors.info}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -8,5 +8,19 @@ with lib;
|
||||
type = types.str;
|
||||
default = "DejaVu Sans";
|
||||
};
|
||||
|
||||
theme = mkOption {
|
||||
type = types.submodule {
|
||||
options = {
|
||||
file = mkOption {
|
||||
type = types.path;
|
||||
default = lib.snowfall.fs.get-file "modules/home/desktop/theme/palettes/nord.nix";
|
||||
description = "Nix file exporting a palette attrset.";
|
||||
};
|
||||
};
|
||||
};
|
||||
default = { };
|
||||
description = "Mako theme palette configuration.";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user