Skip to content

Commit

Permalink
fix(alacritty): update alacritty theme to use the new terminal colors (
Browse files Browse the repository at this point in the history
…#656)

## Description

Refs: #648
  • Loading branch information
Juhan280 authored Dec 2, 2024
1 parent c2725eb commit cc18688
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions lua/tokyonight/extra/alacritty.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ local M = {}
function M.generate(colors)
local alacritty = util.template(
[=[
# -----------------------------------------------------------------------------
# TokyoNight Alacritty Colors
# Theme: ${_style_name}
# Upstream: ${_upstream_url}
# -----------------------------------------------------------------------------
# Default colors
[colors.primary]
background = '${bg}'
Expand All @@ -18,25 +23,25 @@ foreground = '${fg}'
# Normal colors
[colors.normal]
black = '${black}'
red = '${red}'
green = '${green}'
yellow = '${yellow}'
blue = '${blue}'
magenta = '${magenta}'
cyan = '${cyan}'
white = '${fg_dark}'
black = '${terminal.black}'
red = '${terminal.red}'
green = '${terminal.green}'
yellow = '${terminal.yellow}'
blue = '${terminal.blue}'
magenta = '${terminal.magenta}'
cyan = '${terminal.cyan}'
white = '${terminal.white}'
# Bright colors
[colors.bright]
black = '${terminal_black}'
red = '${red}'
green = '${green}'
yellow = '${yellow}'
blue = '${blue}'
magenta = '${magenta}'
cyan = '${cyan}'
white = '${fg}'
black = '${terminal.black_bright}'
red = '${terminal.red_bright}'
green = '${terminal.green_bright}'
yellow = '${terminal.yellow_bright}'
blue = '${terminal.blue_bright}'
magenta = '${terminal.magenta_bright}'
cyan = '${terminal.cyan_bright}'
white = '${terminal.white_bright}'
# Indexed Colors
[[colors.indexed_colors]]
Expand Down

0 comments on commit cc18688

Please sign in to comment.