aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-11-01 15:37:53 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-11-01 15:37:53 -0400
commit4b1f4f57340878240c7f4216ad5f40a51b7568f0 (patch)
tree71b9214d223ac91ab1a4160e9a6ee4ba17134f37 /modules
parent1cd7fb64cf719f28d0078185036de28c028e1269 (diff)
downloadhome-4b1f4f57340878240c7f4216ad5f40a51b7568f0.tar.gz
color/adwaita-dark: wip
Diffstat (limited to 'modules')
-rw-r--r--modules/colors/adwaita-dark.nix49
-rw-r--r--modules/colors/default.nix1
2 files changed, 50 insertions, 0 deletions
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