aboutsummaryrefslogtreecommitdiff
path: root/modules/colors/bright.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/colors/bright.nix')
-rw-r--r--modules/colors/bright.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/colors/bright.nix b/modules/colors/bright.nix
new file mode 100644
index 0000000..2b0a18a
--- /dev/null
+++ b/modules/colors/bright.nix
@@ -0,0 +1,34 @@
+{ config, lib, pkgs, ... }:
+let
+ cfg = config.modules.colors.bright;
+ hexColorRegex = ''#([0-9a-fA-F]{3}){1,2}'';
+ hexColor = {
+ type = lib.types.strMatching hexColorRegex;
+ };
+in
+{
+ options.modules.colors.bright = {
+ enable = lib.mkEnableOption "bright theme";
+ };
+ config = lib.mkIf cfg.enable {
+ modules.scheme = {
+ name = "base16-bright";
+ base00 = "#000000";
+ base01 = "#303030";
+ base02 = "#505050";
+ base03 = "#b0b0b0";
+ base04 = "#d0d0d0";
+ base05 = "#e0e0e0";
+ base06 = "#f5f5f5";
+ base07 = "#ffffff";
+ base08 = "#fb0120";
+ base09 = "#fc6d24";
+ base0A = "#fda331";
+ base0B = "#a1c659";
+ base0C = "#76c7b7";
+ base0D = "#6fb3d2";
+ base0E = "#d381c3";
+ base0F = "#be643c";
+ };
+ };
+}