blob: 850ca8bf71d8b99814ac93b413171e82e78be048 (
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.google-dark;
hexColorRegex = ''#([0-9a-fA-F]{3}){1,2}'';
hexColor = {
type = lib.types.strMatching hexColorRegex;
};
in
{
options.modules.colors.google-dark = {
enable = lib.mkEnableOption "google-dark theme";
};
config = lib.mkIf cfg.enable {
modules.scheme = {
name = "base16-google-dark";
base00 = "#1d1f21";
base01 = "#282a2e";
base02 = "#373b41";
base03 = "#969896";
base04 = "#b4b7b4";
base05 = "#c5c8c6";
base06 = "#e0e0e0";
base07 = "#ffffff";
base08 = "#CC342B";
base09 = "#F96A38";
base0A = "#FBA922";
base0B = "#198844";
base0C = "#3971ED";
base0D = "#3971ED";
base0E = "#A36AC7";
base0F = "#3971ED";
};
};
}
|