diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-05-16 21:37:13 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-05-16 21:37:13 -0400 |
| commit | eb7c71cb218c0a11eda9b3040c111d2924bf842c (patch) | |
| tree | cd2f070601db668601e307b0016311370a32b08c /modules/colors/bright.nix | |
| parent | 3f6fbd8f60a86e3479f8e8e280d4662f6337da5a (diff) | |
| download | home-eb7c71cb218c0a11eda9b3040c111d2924bf842c.tar.gz | |
many changes
Diffstat (limited to 'modules/colors/bright.nix')
| -rw-r--r-- | modules/colors/bright.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/colors/bright.nix b/modules/colors/bright.nix new file mode 100644 index 0000000..2b0a18a --- /dev/null +++ b/modules/colors/bright.nix @@ -0,0 +1,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"; + }; + }; +} |