blob: 814362db17bdfff7bb82a43730df5714abab3100 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.colors.evenok-dark;
hexColorRegex = ''#([0-9a-fA-F]{3}){1,2}'';
hexColor = {
type = lib.types.strMatching hexColorRegex;
};
in
{
options.modules.colors.evenok-dark = {
enable = lib.mkEnableOption "evenok-dark theme";
};
config = lib.mkIf cfg.enable {
modules.scheme = {
name = "base16-evenok-dark";
base00 = "#000000";
base01 = "#202020";
base02 = "#303030";
base03 = "#505050";
base04 = "#b0b0b0";
base05 = "#d0d0d0";
base06 = "#e0e0e0";
base07 = "#ffffff";
base08 = "#f5708a";
base09 = "#ee8122";
base0A = "#b8a300";
base0B = "#54bc5c";
base0C = "#00bab3";
base0D = "#00aff2";
base0E = "#9095ff";
base0F = "#d47ada";
};
};
}
|