This commit is contained in:
Luke Bentley-Fox 2020-07-23 12:28:12 +01:00
parent 60af3a798e
commit 55e3bf85fe
No known key found for this signature in database
GPG Key ID: A02C35CAD21C9BC4

View File

@ -5,7 +5,7 @@ with lib;
let
cfg = config.themes.base16;
inherit (builtins) pathExists;
schemes = importJSON ./schemes.json;
templates = importJSON ./templates.json;
@ -66,7 +66,10 @@ in
type=types.str;
default="tomorrow";
};
themes.base16.tone = mkOption
themes.base16.tone = mkOption {
type=types.str;
default="light";
};
};
config = {
lib.base16.base16template = mustache cfg.scheme cfg.variant;