{ 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"; }; }; }