diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-04-07 17:53:00 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-04-07 17:53:00 -0400 |
| commit | 2ddf877c6cb78a10bfcb5b33142195b47232d622 (patch) | |
| tree | 15e541c450756b78c652f204ff60a622f504e3ff /modules/colors/tomorrow.nix | |
| parent | 3be52f10d1ed9844da116ad9364099d72cb6ded4 (diff) | |
| download | home-2ddf877c6cb78a10bfcb5b33142195b47232d622.tar.gz | |
zathura and more colorscheme stuff
Diffstat (limited to 'modules/colors/tomorrow.nix')
| -rw-r--r-- | modules/colors/tomorrow.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/colors/tomorrow.nix b/modules/colors/tomorrow.nix new file mode 100644 index 0000000..9cfcb25 --- /dev/null +++ b/modules/colors/tomorrow.nix @@ -0,0 +1,36 @@ +{ config, lib, pkgs, ... }: +let + cfg = config.modules.colors.tomorrow; + hexColorRegex = ''#([0-9a-fA-F]{3}){1,2}''; + hexColor = { + type = lib.types.strMatching hexColorRegex; + }; +in +{ + options.modules.colors.tomorrow = { + enable = lib.mkEnableOption "tomorrow theme"; + }; + + config = lib.mkIf cfg.enable { + modules.scheme = { + light = true; + name = "base16-tomorrow"; + base00 = "#ffffff"; + base01 = "#e0e0e0"; + base02 = "#d6d6d6"; + base03 = "#8e908c"; + base04 = "#969896"; + base05 = "#4d4d4c"; + base06 = "#282a2e"; + base07 = "#1d1f21"; + base08 = "#c82829"; + base09 = "#f5871f"; + base0A = "#eab700"; + base0B = "#718c00"; + base0C = "#3e999f"; + base0D = "#4271ae"; + base0E = "#8959a8"; + base0F = "#a3685a"; + }; + }; +} |