diff --git a/readme.md b/readme.md index d73071a..6a39408 100644 --- a/readme.md +++ b/readme.md @@ -51,7 +51,9 @@ ### Installation -Replace the current color definitions in your [`alacritty.yml`][alacritty-gh-config] configuration file with the content from the [`nord.yaml`][nord-yaml] file. +To install the Nord theme, you have two options: +1. Replace colors in your `alacritty.toml`: Replace the existing color definitions with contents from the [`nord.toml`][nord-toml] file. (See Alacritty's website for TOML configuration help: [alacritty's website][alacritty-tml-config]) +2. Import as a separate file: Create a `nord.toml` file and add the following line to your main alacritty.toml configuration: `import = ["~/.config/alacritty/nord.toml"]` ### Activation @@ -92,4 +94,5 @@ Please report issues/bugs, feature requests and suggestions for improvements to

[alacritty-gh-config]: https://github.com/alacritty/alacritty#configuration -[nord-yaml]: https://github.com/nordtheme/alacritty/blob/main/src/nord.yaml +[alacritty-tml-config]: https://alacritty.org/config-alacritty.html +[nord-toml]: https://github.com/nordtheme/alacritty/blob/main/src/nord.toml diff --git a/src/nord.toml b/src/nord.toml new file mode 100644 index 0000000..066382e --- /dev/null +++ b/src/nord.toml @@ -0,0 +1,69 @@ +# Copyright (c) 2016-present Sven Greb +# This source code is licensed under the MIT license found in the license file. + +[colors.primary] +background = "#2e3440" +foreground = "#d8dee9" +dim_foreground = "#a5abb6" + +[colors.cursor] +cursor = "#d8dee9" +text = "#2e3440" + +[colors.search.matches] +background = "#88c0d0" +foreground = "CellBackground" + +[colors.selection] +background = "#4c566a" +text = "CellForeground" + +[colors.vi_mode_cursor] +cursor = "#d8dee9" +text = "#2e3440" + +[colors.search.focused_match] +foreground = "#2e3440" +background = "#a3be8c" + +[colors.hints.start] +foreground = "#2e3440" +background = "#ebcb8b" + +[colors.hints.end] +foreground = "#2e3440" +background = "#d8dee9" + +[colors.footer_bar] +background = "#2e3440" +foreground = "#d8dee9" + +[colors.normal] +black = "#3b4252" +blue = "#81a1c1" +cyan = "#88c0d0" +green = "#a3be8c" +magenta = "#b48ead" +red = "#bf616a" +white = "#e5e9f0" +yellow = "#ebcb8b" + +[colors.bright] +black = "#4c566a" +blue = "#81a1c1" +cyan = "#8fbcbb" +green = "#a3be8c" +magenta = "#b48ead" +red = "#bf616a" +white = "#eceff4" +yellow = "#ebcb8b" + +[colors.dim] +black = "#373e4d" +blue = "#68809a" +cyan = "#6d96a5" +green = "#809575" +magenta = "#8c738c" +red = "#94545d" +white = "#aeb3bb" +yellow = "#b29e75" diff --git a/src/nord.yaml b/src/nord.yaml deleted file mode 100644 index b52b087..0000000 --- a/src/nord.yaml +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright (c) 2016-present Sven Greb -# This source code is licensed under the MIT license found in the license file. - -colors: - primary: - background: "#2e3440" - foreground: "#d8dee9" - dim_foreground: "#a5abb6" - cursor: - text: "#2e3440" - cursor: "#d8dee9" - vi_mode_cursor: - text: "#2e3440" - cursor: "#d8dee9" - selection: - text: CellForeground - background: "#4c566a" - search: - matches: - foreground: CellBackground - background: "#88c0d0" - bar: - background: "#434c5e" - foreground: "#d8dee9" - normal: - black: "#3b4252" - red: "#bf616a" - green: "#a3be8c" - yellow: "#ebcb8b" - blue: "#81a1c1" - magenta: "#b48ead" - cyan: "#88c0d0" - white: "#e5e9f0" - bright: - black: "#4c566a" - red: "#bf616a" - green: "#a3be8c" - yellow: "#ebcb8b" - blue: "#81a1c1" - magenta: "#b48ead" - cyan: "#8fbcbb" - white: "#eceff4" - dim: - black: "#373e4d" - red: "#94545d" - green: "#809575" - yellow: "#b29e75" - blue: "#68809a" - magenta: "#8c738c" - cyan: "#6d96a5" - white: "#aeb3bb"