aboutsummaryrefslogtreecommitdiff
path: root/modules/colors/mountain.nix
blob: 0158b8f4ec8246ae33054abbfcf7be08e6742662 (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
{ 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";
      base10 = "#0d0d0d";
      base11 = "#0a0a0a";
      base12 = "#c49ea0";
      base13 = "#c4c19e";
      base14 = "#9ec49f";
      base15 = "#9ec3c4";
      base16 = "#a39ec4";
      base17 = "#c49ec4";
    };
  };
}