aboutsummaryrefslogtreecommitdiff
path: root/modules/mountain.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mountain.nix')
-rw-r--r--modules/mountain.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/mountain.nix b/modules/mountain.nix
new file mode 100644
index 0000000..94066d6
--- /dev/null
+++ b/modules/mountain.nix
@@ -0,0 +1,35 @@
+{ config, lib, pkgs, ... }:
+let
+ cfg = config.modules.mountain;
+ hexColorRegex = ''#([0-9a-fA-F]{3}){1,2}'';
+ hexColor = {
+ type = lib.types.strMatching hexColorRegex;
+ };
+in
+{
+ options.modules.mountain = {
+ enable = lib.mkEnableOption "mountain theme";
+ };
+
+ config = lib.mkIf cfg.enable {
+ modules.scheme = {
+ name = "base16-default-dark";
+ base00 = "#0f0f0f";
+ base01 = "#191919";
+ base02 = "#262626";
+ base03 = "#4c4c4c";
+ base04 = "#ac8a8c";
+ base05 = "#cacaca";
+ base06 = "#e7e7e7";
+ base07 = "#f0f0f0";
+ base08 = "#ac8a8c";
+ base09 = "#ceb188";
+ base0A = "#aca98a";
+ base0B = "#8aac8b";
+ base0C = "#8aabac";
+ base0D = "#8f8aac";
+ base0E = "#ac8aac";
+ base0F = "#ac8a8c";
+ };
+ };
+}