From 812812acacd4c06287453b9b72dde4d1dab53e5e Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Mon, 24 Mar 2025 18:43:35 +0100 Subject: [PATCH] modules/style: add gruvbox --- modules/options/style/colors.nix | 4 ++-- modules/options/style/palettes/gruvbox.nix | 25 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 modules/options/style/palettes/gruvbox.nix diff --git a/modules/options/style/colors.nix b/modules/options/style/colors.nix index c9ad218..ba2a272 100644 --- a/modules/options/style/colors.nix +++ b/modules/options/style/colors.nix @@ -34,9 +34,9 @@ in { options.modules.style = { colorScheme = { name = mkOption { - type = nullOr (enum ["Catppuccin Mocha" "Zenburn" "Black Metal Venom"]); + type = nullOr (enum ["Catppuccin Mocha" "Zenburn" "Black Metal Venom" "Gruvbox"]); description = "The colorscheme that should be used globally to theme your system."; - default = "Catppuccin Mocha"; + default = "Gruvbox"; }; slug = mkOption { diff --git a/modules/options/style/palettes/gruvbox.nix b/modules/options/style/palettes/gruvbox.nix new file mode 100644 index 0000000..62bd708 --- /dev/null +++ b/modules/options/style/palettes/gruvbox.nix @@ -0,0 +1,25 @@ +{ + colorscheme = { + slug = "gruvbox"; + name = "Gruvbox"; + variant = "dark"; + palette = { + base00 = "#282828"; # ---- + base01 = "#3c3836"; # --- + base02 = "#504945"; # -- + base03 = "#665c54"; # - + base04 = "#bdae93"; # + + base05 = "#d5c4a1"; # ++ + base06 = "#ebdbb2"; # +++ + base07 = "#fbf1c7"; # ++++ + base08 = "#fb4934"; # red + base09 = "#fe8019"; # orange + base0A = "#fabd2f"; # yellow + base0B = "#b8bb26"; # green + base0C = "#8ec07c"; # aqua/cyan + base0D = "#83a598"; # blue + base0E = "#d3869b"; # purple + base0F = "#d65d0e"; # brown + }; + }; +}