Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Alacritty TOML #41

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -92,4 +94,5 @@ Please report issues/bugs, feature requests and suggestions for improvements to
</p>

[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
69 changes: 69 additions & 0 deletions src/nord.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Copyright (c) 2016-present Sven Greb <[email protected]>
# 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"
51 changes: 0 additions & 51 deletions src/nord.yaml

This file was deleted.