diff --git a/home/themes/default.nix b/home/themes/default.nix index 2f7e73d..3ea1897 100644 --- a/home/themes/default.nix +++ b/home/themes/default.nix @@ -19,4 +19,8 @@ in type = with types; attrsOf themeType; }; }; + + config.my.home.themes = { + solarizedLight = import ./solarizedLight; + }; } diff --git a/home/themes/solarizedLight/colors.nix b/home/themes/solarizedLight/colors.nix new file mode 100644 index 0000000..7c7f771 --- /dev/null +++ b/home/themes/solarizedLight/colors.nix @@ -0,0 +1,12 @@ +{ + background = "#282828"; + red = "#cc241d"; + green = "#98971a"; + yellow = "#d79921"; + blue = "#458588"; + purple = "#b16286"; + aqua = "#689d68"; + gray = "#a89984"; + darkGray = "#1d2021"; + white = "#ffffff"; +} diff --git a/home/themes/solarizedLight/default.nix b/home/themes/solarizedLight/default.nix new file mode 100644 index 0000000..f0646f6 --- /dev/null +++ b/home/themes/solarizedLight/default.nix @@ -0,0 +1,3 @@ +{ + i3Theme = import ./i3.nix; +} diff --git a/home/themes/solarizedLight/i3.nix b/home/themes/solarizedLight/i3.nix new file mode 100644 index 0000000..75399b3 --- /dev/null +++ b/home/themes/solarizedLight/i3.nix @@ -0,0 +1,64 @@ +let + colors = import ./colors.nix; +in +with colors; +{ + bar = { + background = background; + statusline = yellow; + separator = red; + + focusedWorkspace = { + border = aqua; + background = aqua; + text = darkGray; + }; + inactiveWorkspace = { + border = darkGray; + background = darkGray; + text = yellow; + }; + activeWorkspace = { + border = aqua; + background = darkGray; + text = yellow; + }; + urgentWorkspace = { + border = red; + background = red; + text = background; + }; + }; + + focused = { + border = blue; + background = blue; + text = darkGray; + indicator = purple; + childBorder = darkGray; + }; + + focusedInactive = { + border = darkGray; + background = darkGray; + text = yellow; + indicator = purple; + childBorder = darkGray; + }; + + unfocused = { + border = darkGray; + background = darkGray; + text = yellow; + indicator = purple; + childBorder = darkGray; + }; + + urgent = { + border = red; + background = red; + text = white; + indicator = red; + childBorder = red; + }; +}