From 05d71acf07ec5832ef740a4dbe5e5883e346e6e0 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Thu, 4 Jan 2024 17:00:42 +0100 Subject: [PATCH] alacritty: migrate config --- .config/alacritty/alacritty.toml | 8 +++ .config/alacritty/alacritty.yml | 93 -------------------------------- .config/alacritty/one-dark.toml | 47 ++++++++++++++++ .config/alacritty/one-light.toml | 47 ++++++++++++++++ 4 files changed, 102 insertions(+), 93 deletions(-) create mode 100644 .config/alacritty/alacritty.toml delete mode 100644 .config/alacritty/alacritty.yml create mode 100644 .config/alacritty/one-dark.toml create mode 100644 .config/alacritty/one-light.toml diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..4a9b3c4 --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,8 @@ +import = ["~/.config/alacritty/one-dark.toml"] + +[font] +size = 14 + +[font.normal] +family = "Fira Code" +style = "Regular" diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml deleted file mode 100644 index 76db044..0000000 --- a/.config/alacritty/alacritty.yml +++ /dev/null @@ -1,93 +0,0 @@ -font: - normal: - family: Noto Color Emoji - family: Fira Code - style: Regular - size: 14 - -color-schemes: - one-dark: &one-dark - primary: - background: "#282c34" # syntax-bg - foreground: "#abb2bf" # syntax-fg - cursor: - text: CellBackground - cursor: CellForeground - vi_mode_cursor: - text: CellBackground - cursor: CellForeground - search: - matches: - foreground: CellForeground - background: "#314365" # (manually extracted via color picker) - focused_match: - foreground: CellForeground - background: "#3E4451" # (manually extracted via color picker) - footer_bar: - background: "#1B1D23" # (manually extracted via color picker) - foreground: "#abb2bf" # syntax-fg - selection: - text: CellForeground - background: "#3e4451" # syntax-selection-color - normal: - black: "#282c34" # syntax-bg - red: "#e06c75" # red 1 - green: "#98c379" # green - yellow: "#e5c07b" # orange 2 - blue: "#61afef" # blue - magenta: "#c678dd" # purple - cyan: "#56b6c2" # cyan - white: "#abb2bf" # syntax-fg - bright: - black: "#5c6370" # mono-3 - red: "#be5046" # red 2 - green: "#98c379" # green - yellow: "#d19a66" # orange 1 - blue: "#61afef" # blue - magenta: "#c678dd" # purple - cyan: "#56b6c2" # cyan - white: "#636d83" # syntax-gutter-text-color - - one-light: &one-light - primary: - background: "#fafafa" # syntax-bg - foreground: "#383a42" # syntax-fg - cursor: - text: CellBackground - cursor: CellForeground - vi_mode_cursor: - text: CellBackground - cursor: CellForeground - search: - matches: - foreground: CellForeground - background: "#d8defb" # (manually extracted via color picker) - focused_match: - foreground: CellForeground - background: "#e5e5e6" # (manually extracted via color picker) - footer_bar: - background: "#ffffff" # (manually extracted via color picker) - foreground: "#383a42" # syntax-fg - selection: - text: CellForeground - background: "#e5e5e6" # syntax-selection-color - normal: - black: "#383a42" # syntax-fg - red: "#ca1243" # red 2 - green: "#50a14f" # green - yellow: "#b76b01" # orange 1 - blue: "#4078f2" # blue - magenta: "#a626a4" # purple - cyan: "#0184bc" # cyan - white: "#fafafa" # syntax-bg - bright: - black: "#696c77" # mono-2 - red: "#e45649" # red 1 - green: "#50a14f" # green - yellow: "#cb7701" # orange 2 - blue: "#4078f2" # blue - magenta: "#a626a4" # purple - cyan: "#0184bc" # cyan - white: "#9d9d9f" # syntax-gutter-text-color - -colors: *one-dark diff --git a/.config/alacritty/one-dark.toml b/.config/alacritty/one-dark.toml new file mode 100644 index 0000000..462a630 --- /dev/null +++ b/.config/alacritty/one-dark.toml @@ -0,0 +1,47 @@ +[colors.primary] +background = "#282c34" # syntax-bg +foreground = "#abb2bf" # syntax-fg + +[colors.cursor] +text = "CellBackground" +cursor = "CellForeground" + +[colors.vi_mode_cursor] +text = "CellBackground" +cursor = "CellForeground" + +[colors.search.matches] +background = "#314365" # (manually extracted via color picker) +foreground = "CellForeground" + +[colors.search.focused_match] +background = "#3E4451" # (manually extracted via color picker) +foreground = "CellForeground" + +[colors.footer_bar] +background = "#1B1D23" # (manually extracted via color picker) +foreground = "#abb2bf" # syntax-fg + +[colors.selection] +background = "#3e4451" # syntax-selection-color +text = "CellForeground" + +[colors.normal] +black = "#282c34" # syntax-bg +red = "#e06c75" # red 1 +green = "#98c379" # green +yellow = "#e5c07b" # orange 2 +blue = "#61afef" # blue +magenta = "#c678dd" # purple +cyan = "#56b6c2" # cyan +white = "#abb2bf" # syntax-fg + +[colors.bright] +black = "#5c6370" # mono-3 +red = "#be5046" # red 2 +green = "#98c379" # green +yellow = "#d19a66" # orange 1 +blue = "#61afef" # blue +magenta = "#c678dd" # purple +cyan = "#56b6c2" # cyan +white = "#636d83" # syntax-gutter-text-color diff --git a/.config/alacritty/one-light.toml b/.config/alacritty/one-light.toml new file mode 100644 index 0000000..80a0f0e --- /dev/null +++ b/.config/alacritty/one-light.toml @@ -0,0 +1,47 @@ +[colors.primary] +background = "#fafafa" # syntax-bg +foreground = "#383a42" # syntax-fg + +[colors.cursor] +text = "CellBackground" +cursor = "CellForeground" + +[colors.vi_mode_cursor] +text = "CellBackground" +cursor = "CellForeground" + +[colors.search.matches] +background = "#d8defb" # (manually extracted via color picker) +foreground = "CellForeground" + +[colors.search.focused_match] +background = "#e5e5e6" # (manually extracted via color picker) +foreground = "CellForeground" + +[colors.footer_bar] +background = "#ffffff" # (manually extracted via color picker) +foreground = "#383a42" # syntax-fg + +[colors.selection] +background = "#e5e5e6" # syntax-selection-color +text = "CellForeground" + +[colors.normal] +black = "#383a42" # syntax-fg +red = "#ca1243" # red 2 +green = "#50a14f" # green +yellow = "#b76b01" # orange 1 +blue = "#4078f2" # blue +magenta = "#a626a4" # purple +cyan = "#0184bc" # cyan +white = "#fafafa" # syntax-bg + +[colors.bright] +black = "#696c77" # mono-2 +red = "#e45649" # red 1 +green = "#50a14f" # green +yellow = "#cb7701" # orange 2 +blue = "#4078f2" # blue +magenta = "#a626a4" # purple +cyan = "#0184bc" # cyan +white = "#9d9d9f" # syntax-gutter-text-color