blob: 881a1f4f5934c2bee8e810be50f66d85f9fdce05 (
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
|
{ 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 = "#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";
};
};
}
|