fix: different terminal colors for black and bright black #28 #25

This commit is contained in:
Folke Lemaitre 2021-05-02 10:16:56 +02:00
parent 8a759c7579
commit 7dce3b82dc
8 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,7 @@ colors:
# Bright colors # Bright colors
bright: bright:
black: '0x15161E' black: '0x414868'
red: '0xf7768e' red: '0xf7768e'
green: '0x9ece6a' green: '0x9ece6a'
yellow: '0xe0af68' yellow: '0xe0af68'

View File

@ -18,7 +18,7 @@ colors:
# Bright colors # Bright colors
bright: bright:
black: '0x1D202F' black: '0x414868'
red: '0xf7768e' red: '0xf7768e'
green: '0x9ece6a' green: '0x9ece6a'
yellow: '0xe0af68' yellow: '0xe0af68'

View File

@ -15,7 +15,7 @@
#tab_bar_background #15161E #tab_bar_background #15161E
# normal # normal
color0 #414868 color0 #15161E
color1 #f7768e color1 #f7768e
color2 #9ece6a color2 #9ece6a
color3 #e0af68 color3 #e0af68

View File

@ -15,7 +15,7 @@
#tab_bar_background #1D202F #tab_bar_background #1D202F
# normal # normal
color0 #414868 color0 #1D202F
color1 #f7768e color1 #f7768e
color2 #9ece6a color2 #9ece6a
color3 #e0af68 color3 #e0af68

View File

@ -2,7 +2,7 @@
local config local config
-- shim vim for kitty and other generators -- shim vim for kitty and other generators
vim = vim or { g = {} } vim = vim or { g = {}, o = {} }
local function opt(key, default) local function opt(key, default)
key = "tokyonight_" .. key key = "tokyonight_" .. key

View File

@ -32,7 +32,7 @@ colors:
# Bright colors # Bright colors
bright: bright:
black: '${black}' black: '${terminal_black}'
red: '${red}' red: '${red}'
green: '${green}' green: '${green}'
yellow: '${yellow}' yellow: '${yellow}'

View File

@ -24,7 +24,7 @@ function M.kitty(config)
#tab_bar_background ${black} #tab_bar_background ${black}
# normal # normal
color0 ${terminal_black} color0 ${black}
color1 ${red} color1 ${red}
color2 ${green} color2 ${green}
color3 ${yellow} color3 ${yellow}

View File

@ -133,7 +133,7 @@ function util.syntax(syntax) for group, colors in pairs(syntax) do util.highligh
---@param colors ColorScheme ---@param colors ColorScheme
function util.terminal(colors) function util.terminal(colors)
-- dark -- dark
vim.g.terminal_color_0 = colors.terminal_black vim.g.terminal_color_0 = colors.black
vim.g.terminal_color_8 = colors.terminal_black vim.g.terminal_color_8 = colors.terminal_black
-- light -- light