From 4b1f4f57340878240c7f4216ad5f40a51b7568f0 Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Sat, 1 Nov 2025 15:37:53 -0400 Subject: color/adwaita-dark: wip --- modules/colors/adwaita-dark.nix | 49 +++++++++++++++++++++++++++++++++++++++++ modules/colors/default.nix | 1 + 2 files changed, 50 insertions(+) create mode 100644 modules/colors/adwaita-dark.nix diff --git a/modules/colors/adwaita-dark.nix b/modules/colors/adwaita-dark.nix new file mode 100644 index 0000000..c40bf6c --- /dev/null +++ b/modules/colors/adwaita-dark.nix @@ -0,0 +1,49 @@ +{ + config, + lib, + pkgs, + ... +}: +let + cfg = config.modules.colors.adwaita-dark; + hexColorRegex = ''#([0-9a-fA-F]{3}){1,2}''; + hexColor = { + type = lib.types.strMatching hexColorRegex; + }; +in +{ + options.modules.colors.adwaita-dark = { + enable = lib.mkEnableOption "adwaita-dark theme"; + }; + + config = lib.mkIf cfg.enable { + modules.scheme = { + name = "base16-adwaita-dark"; + base00 = "#1d1d20"; + base01 = "#2a2a2a"; + base03 = "#303030"; + base02 = "#383838"; + base04 = "#5e5c64"; + # base04 = "#383838"; + base05 = "#ffffff"; + base06 = "#c0bfbc"; + base07 = "#f6f5f4"; + base08 = "#c01c28"; + base09 = "#e66100"; + base0A = "#f5c211"; + base0B = "#2ec27e"; + base0C = "#0ab9dc"; + base0D = "#1c71d8"; + base0E = "#813d9c"; + base0F = "#a51d2d"; + base10 = "#000000"; + base11 = "#000000"; + base12 = "#ed333b"; + base13 = "#f8e45c"; + base14 = "#57e389"; + base15 = "#4fd2fd"; + base16 = "#62a0ea"; + base17 = "#c061cb"; + }; + }; +} diff --git a/modules/colors/default.nix b/modules/colors/default.nix index 2bc069d..54889f5 100644 --- a/modules/colors/default.nix +++ b/modules/colors/default.nix @@ -1,6 +1,7 @@ { ... }: { imports = [ + ./adwaita-dark.nix ./mountain.nix ./default-dark.nix ./tomorrow.nix -- cgit v1.2.3