From 65c0379abe11bfb113c0b1a5348f47cfc7a4edb0 Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Tue, 13 Jan 2026 15:27:43 -0500 Subject: modules/colors: add kanagawa dragon scheme --- modules/colors/default.nix | 1 + modules/colors/evenok-dark.nix | 8 ++++++ modules/colors/kanagawa-dragon.nix | 50 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 modules/colors/kanagawa-dragon.nix diff --git a/modules/colors/default.nix b/modules/colors/default.nix index 54889f5..13b13a3 100644 --- a/modules/colors/default.nix +++ b/modules/colors/default.nix @@ -10,5 +10,6 @@ ./grayscale-dark.nix ./evenok-dark.nix ./bright.nix + ./kanagawa-dragon.nix ]; } diff --git a/modules/colors/evenok-dark.nix b/modules/colors/evenok-dark.nix index 814362d..7f3a1d7 100644 --- a/modules/colors/evenok-dark.nix +++ b/modules/colors/evenok-dark.nix @@ -34,6 +34,14 @@ in base0D = "#00aff2"; base0E = "#9095ff"; base0F = "#d47ada"; + base10 = "#000000"; + base11 = "#202020"; + base12 = "#f5708a"; + base13 = "#b8a300"; + base14 = "#54bc5c"; + base15 = "#00bab3"; + base16 = "#9095ff"; + base17 = "#d47ada"; }; }; } diff --git a/modules/colors/kanagawa-dragon.nix b/modules/colors/kanagawa-dragon.nix new file mode 100644 index 0000000..77ae24d --- /dev/null +++ b/modules/colors/kanagawa-dragon.nix @@ -0,0 +1,50 @@ +{ + config, + lib, + pkgs, + ... +}: +let + cfg = config.modules.colors.kanagawa-dragon; + hexColorRegex = ''#([0-9a-fA-F]{3}){1,2}''; + hexColor = { + type = lib.types.strMatching hexColorRegex; + }; +in +{ + options.modules.colors.kanagawa-dragon = { + enable = lib.mkEnableOption "kanagawa-dragon theme"; + }; + + config = lib.mkIf cfg.enable { + modules.scheme = { + name = "kanagawa-dragon"; + + base00 = "#181616"; + base01 = "#282727"; + base02 = "#393836"; + base03 = "#625e5a"; + base04 = "#737c73"; + base05 = "#c5c9c5"; + base06 = "#c8c093"; + base07 = "#c5c9c5"; + base08 = "#c4746e"; + base09 = "#b6927b"; + base0A = "#c4b28a"; + base0B = "#8a9a7b"; + base0C = "#8ea4a2"; + base0D = "#8ba4b0"; + base0E = "#a292a3"; + base0F = "#b98d7b"; + base10 = "#12120f"; + base11 = "#0d0c0c"; + base12 = "#e46876"; + base13 = "#e6c384"; + base14 = "#87a987"; + base15 = "#7aa89f"; + base16 = "#7fb4ca"; + base17 = "#938aa9"; + + }; + }; +} -- cgit v1.2.3