From ed18e47c99a0a03c64895ad5139d2f32b3c34e95 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Fri, 2 Apr 2021 11:00:25 +0200 Subject: [PATCH] feat(alacritty): Add gruvbox and solarized Signed-off-by: Matej Focko --- .../alacritty/colors/gruvbox_dark.yml | 65 +++++++++++++++++++ .../alacritty/colors/gruvbox_light.yml | 36 ++++++++++ .../alacritty/colors/solarized_dark.yml | 33 ++++++++++ .../alacritty/colors/solarized_light.yml | 33 ++++++++++ 4 files changed, 167 insertions(+) create mode 100644 playbooks/roles/shell/templates/alacritty/colors/gruvbox_dark.yml create mode 100644 playbooks/roles/shell/templates/alacritty/colors/gruvbox_light.yml create mode 100644 playbooks/roles/shell/templates/alacritty/colors/solarized_dark.yml create mode 100644 playbooks/roles/shell/templates/alacritty/colors/solarized_light.yml diff --git a/playbooks/roles/shell/templates/alacritty/colors/gruvbox_dark.yml b/playbooks/roles/shell/templates/alacritty/colors/gruvbox_dark.yml new file mode 100644 index 0000000..204bd9b --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/gruvbox_dark.yml @@ -0,0 +1,65 @@ +# Colors (Gruvbox dark) +colors: + primary: + # hard contrast + background: &gruvbox_dark_bg "#1d2021" + + # medium contrast + # background: &gruvbox_dark_bg "#282828" + + # soft contrast + # background: &gruvbox_dark_bg "#32302f" + + foreground: "#fbf1c7" + bright_foreground: "#f9f5d7" + dim_foreground: "#f2e5bc" + cursor: + text: CellBackground + cursor: CellForeground + vi_mode_cursor: + text: CellBackground + cursor: CellForeground + # search: + # matches: + # foreground: '#000000' + # background: '#ffffff' + # focused_match: + # foreground: CellBackground + # background: CellForeground + # bar: + # background: '' + # foreground: '' + # line_indicator: + # foreground: None + # background: None + selection: + text: CellBackground + background: CellForeground + bright: + black: "#928374" + red: "#fb4934" + green: "#b8bb26" + yellow: "#fabd2f" + blue: "#83a598" + magenta: "#d3869b" + cyan: "#8ec07c" + white: "#ebdbb2" + normal: + black: *gruvbox_dark_bg + red: "#cc241d" + green: "#98971a" + yellow: "#d79921" + blue: "#458588" + magenta: "#b16286" + cyan: "#689d6a" + white: "#a89984" + dim: + black: "#32302f" + red: "#9d0006" + green: "#79740e" + yellow: "#b57614" + blue: "#076678" + magenta: "#8f3f71" + cyan: "#427b58" + white: "#928374" + # indexed_colors: [] diff --git a/playbooks/roles/shell/templates/alacritty/colors/gruvbox_light.yml b/playbooks/roles/shell/templates/alacritty/colors/gruvbox_light.yml new file mode 100644 index 0000000..1728965 --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/gruvbox_light.yml @@ -0,0 +1,36 @@ +# Colors (Gruvbox light) +colors: + # Default colors + primary: + # hard contrast + background: "#f9f5d7" + + # medium contrast + # background: "#fbf1c7" + + # soft contrast + # background: "#f2e5bc" + + foreground: "#3c3836" + + # Normal colors + normal: + black: "#fbf1c7" + red: "#cc241d" + green: "#98971a" + yellow: "#d79921" + blue: "#458588" + magenta: "#b16286" + cyan: "#689d6a" + white: "#7c6f64" + + # Bright colors + bright: + black: "#928374" + red: "#9d0006" + green: "#79740e" + yellow: "#b57614" + blue: "#076678" + magenta: "#8f3f71" + cyan: "#427b58" + white: "#3c3836" diff --git a/playbooks/roles/shell/templates/alacritty/colors/solarized_dark.yml b/playbooks/roles/shell/templates/alacritty/colors/solarized_dark.yml new file mode 100644 index 0000000..8735778 --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/solarized_dark.yml @@ -0,0 +1,33 @@ +# Colors (Solarized Dark) +colors: + # Default colors + primary: + background: "#002b36" # base03 + foreground: "#839496" # base0 + + # Cursor colors + cursor: + text: "#002b36" # base03 + cursor: "#839496" # base0 + + # Normal colors + normal: + black: "#073642" # base02 + red: "#dc322f" # red + green: "#859900" # green + yellow: "#b58900" # yellow + blue: "#268bd2" # blue + magenta: "#d33682" # magenta + cyan: "#2aa198" # cyan + white: "#eee8d5" # base2 + + # Bright colors + bright: + black: "#002b36" # base03 + red: "#cb4b16" # orange + green: "#586e75" # base01 + yellow: "#657b83" # base00 + blue: "#839496" # base0 + magenta: "#6c71c4" # violet + cyan: "#93a1a1" # base1 + white: "#fdf6e3" # base3 diff --git a/playbooks/roles/shell/templates/alacritty/colors/solarized_light.yml b/playbooks/roles/shell/templates/alacritty/colors/solarized_light.yml new file mode 100644 index 0000000..3df2a6c --- /dev/null +++ b/playbooks/roles/shell/templates/alacritty/colors/solarized_light.yml @@ -0,0 +1,33 @@ +# Colors (Solarized Light) +colors: + # Default colors + primary: + background: "#fdf6e3" # base3 + foreground: "#657b83" # base00 + + # Cursor colors + cursor: + text: "#fdf6e3" # base3 + cursor: "#657b83" # base00 + + # Normal colors + normal: + black: "#073642" # base02 + red: "#dc322f" # red + green: "#859900" # green + yellow: "#b58900" # yellow + blue: "#268bd2" # blue + magenta: "#d33682" # magenta + cyan: "#2aa198" # cyan + white: "#eee8d5" # base2 + + # Bright colors + bright: + black: "#002b36" # base03 + red: "#cb4b16" # orange + green: "#586e75" # base01 + yellow: "#657b83" # base00 + blue: "#839496" # base0 + magenta: "#6c71c4" # violet + cyan: "#93a1a1" # base1 + white: "#fdf6e3" # base3