blob: 4269f11e4f2cde94f348f556ea26b4f58c9f6f1f (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
{ config, lib, pkgs, ... }:
let
cfg = config.modules.colors.mountain;
hexColorRegex = ''#([0-9a-fA-F]{3}){1,2}'';
hexColor = {
type = lib.types.strMatching hexColorRegex;
};
in
{
options.modules.colors.mountain = {
enable = lib.mkEnableOption "mountain theme";
};
config = lib.mkIf cfg.enable {
modules.scheme = {
name = "base16-mountain";
base00 = "#0f0f0f";
base01 = "#191919";
base02 = "#262626";
base03 = "#393939";
base04 = "#4c4c4c";
base05 = "#cacaca";
base06 = "#e7e7e7";
base07 = "#f0f0f0";
base08 = "#ac8a8c";
base09 = "#ceb188";
base0A = "#aca98a";
base0B = "#8aac8b";
base0C = "#8aabac";
base0D = "#8f8aac";
base0E = "#ac8aac";
base0F = "#ac8a8c";
# base00 = "#0f0f0f";
# base01 = "#191919";
# base02 = "#262626";
# base03 = "#4c4c4c";
# base04 = "#ac8a8c";
# base05 = "#cacaca";
# base06 = "#e7e7e7";
# base07 = "#f0f0f0";
# base08 = "#ac8a8c";
# base09 = "#ceb188";
# base0A = "#aca98a";
# base0B = "#8aac8b";
# base0C = "#8aabac";
# base0D = "#8f8aac";
# base0E = "#ac8aac";
# base0F = "#ac8a8c";
};
};
}
|