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:
black: '0x15161E'
black: '0x414868'
red: '0xf7768e'
green: '0x9ece6a'
yellow: '0xe0af68'

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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