aboutsummaryrefslogtreecommitdiff
path: root/modules/colors/bright.nix
blob: 2b0a18a9ba94807357db5491245a038cd0fe9a3b (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
{ config, lib, pkgs, ... }:
let
  cfg = config.modules.colors.bright;
  hexColorRegex = ''#([0-9a-fA-F]{3}){1,2}'';
  hexColor = {
    type = lib.types.strMatching hexColorRegex;
  };
in
{
  options.modules.colors.bright = {
    enable = lib.mkEnableOption "bright theme";
  };
  config = lib.mkIf cfg.enable {
    modules.scheme = {
      name = "base16-bright";
      base00 = "#000000";
      base01 = "#303030";
      base02 = "#505050";
      base03 = "#b0b0b0";
      base04 = "#d0d0d0";
      base05 = "#e0e0e0";
      base06 = "#f5f5f5";
      base07 = "#ffffff";
      base08 = "#fb0120";
      base09 = "#fc6d24";
      base0A = "#fda331";
      base0B = "#a1c659";
      base0C = "#76c7b7";
      base0D = "#6fb3d2";
      base0E = "#d381c3";
      base0F = "#be643c";
    };
  };
}