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

Replace YAML files with TOML #2

Open
wants to merge 1 commit 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
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@ Pull requests welcome.

## Usage

Copy the contents of [tokyo-night.yaml](https://github.com/zatchheems/tokyo-night-alacritty-theme/blob/master/tokyo-night.yaml)
into `~/alacritty/alacritty.yml`, then set:
### Imports

```yaml
# normal dark theme
colors: *tokyo-night
Clone the repository or download the `.toml` files to a directory of your choice.
Add an import of the desired color scheme to your `alacritty.toml`:

# OR:

# "storm" uses a lighter BG color
colors: *tokyo-night-storm
```
import = [ "<PATH-TO-DIR>/tokyo-night.toml" ] # or tokyo-night-storm.toml
```

Make sure to use the absolute path leading to the `.toml` file.

### Manually

Copy the contents of [tokyo-night.toml](https://github.com/zatchheems/tokyo-night-alacritty-theme/blob/master/tokyo-night.toml) or [tokyo-night-storm.toml](https://github.com/zatchheems/tokyo-night-alacritty-theme/blob/master/tokyo-night-storm.toml)
into the root level of your existing `alacritty.toml`.
23 changes: 23 additions & 0 deletions tokyo-night-storm.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[colors.bright]
black = "#444b6a"
blue = "#7da6ff"
cyan = "#0db9d7"
green = "#b9f27c"
magenta = "#bb9af7"
red = "#ff7a93"
white = "#acb0d0"
yellow = "#ff9e64"

[colors.normal]
black = "#32344a"
blue = "#7aa2f7"
cyan = "#449dab"
green = "#9ece6a"
magenta = "#ad8ee6"
red = "#f7768e"
white = "#9699a8"
yellow = "#e0af68"

[colors.primary]
background = "#24283b"
foreground = "#a9b1d6"
23 changes: 23 additions & 0 deletions tokyo-night.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[colors.bright]
black = "#444b6a"
blue = "#7da6ff"
cyan = "#0db9d7"
green = "#b9f27c"
magenta = "#bb9af7"
red = "#ff7a93"
white = "#acb0d0"
yellow = "#ff9e64"

[colors.normal]
black = "#32344a"
blue = "#7aa2f7"
cyan = "#449dab"
green = "#9ece6a"
magenta = "#ad8ee6"
red = "#f7768e"
white = "#787c99"
yellow = "#e0af68"

[colors.primary]
background = "#1a1b26"
foreground = "#a9b1d6"
59 changes: 0 additions & 59 deletions tokyo-night.yaml

This file was deleted.