blob: c40bf6cdaf9a80a9ce72e34a541a12b25d09d18d (
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
|
{
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.colors.adwaita-dark;
hexColorRegex = ''#([0-9a-fA-F]{3}){1,2}'';
hexColor = {
type = lib.types.strMatching hexColorRegex;
};
in
{
options.modules.colors.adwaita-dark = {
enable = lib.mkEnableOption "adwaita-dark theme";
};
config = lib.mkIf cfg.enable {
modules.scheme = {
name = "base16-adwaita-dark";
base00 = "#1d1d20";
base01 = "#2a2a2a";
base03 = "#303030";
base02 = "#383838";
base04 = "#5e5c64";
# base04 = "#383838";
base05 = "#ffffff";
base06 = "#c0bfbc";
base07 = "#f6f5f4";
base08 = "#c01c28";
base09 = "#e66100";
base0A = "#f5c211";
base0B = "#2ec27e";
base0C = "#0ab9dc";
base0D = "#1c71d8";
base0E = "#813d9c";
base0F = "#a51d2d";
base10 = "#000000";
base11 = "#000000";
base12 = "#ed333b";
base13 = "#f8e45c";
base14 = "#57e389";
base15 = "#4fd2fd";
base16 = "#62a0ea";
base17 = "#c061cb";
};
};
}
|