From 0dc687871a859f78652ad959f7f9a9df7ee1a2e9 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Tue, 14 May 2024 17:24:25 -0700 Subject: Restructuring --- modules/home/colors.nix | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 modules/home/colors.nix (limited to 'modules/home/colors.nix') diff --git a/modules/home/colors.nix b/modules/home/colors.nix deleted file mode 100644 index ecafe62..0000000 --- a/modules/home/colors.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, ... }: - -with lib; - -{ - options.colors = - let - mkColorOption = name: { - inherit name; - value = mkOption { -# type = types.strMatching "[a-fA-F0-9]{6}"; - type = types.strMatching "[a-fA-F0-9]*"; - description = "Color ${name}."; - }; - }; - in listToAttrs (map mkColorOption [ - "primary" "secondary" - "foreground" "foregroundAlt" - "background" "backgroundAlt" - - "accent" - - "black" "red" "green" "yellow" "blue" "magenta" "cyan" "white" - "brightBlack" "brightRed" "brightGreen" "brightYellow" "brightBlue" "brightMagenta" "brightCyan" "brightWhite" - - "bg" "bg0" "bg1" "bg2" "bg3" "bg4" - "fg" "fg0" "fg1" "fg2" "fg3" "fg4" - - "orange" "brightOrange" - ]); -} -- cgit v1.2.3