Skip to content

Commit

Permalink
fix: better display effect on transparent background (#301)
Browse files Browse the repository at this point in the history
* fix(vertical split): better display effect on transparent background

* fix(buffline): add offset_spearator
  • Loading branch information
emxxjnm authored Oct 12, 2022
1 parent 2ea154d commit 4878d6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lua/catppuccin/groups/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function M.get()
Directory = { fg = cp.blue }, -- directory names (and other special names in listings)
EndOfBuffer = { fg = cp.base }, -- filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|.
ErrorMsg = { fg = cp.red, style = { "bold", "italic" } }, -- error messages on the command line
VertSplit = { fg = cnf.transparent_background and cp.none or cp.crust }, -- the column separating vertically split windows
VertSplit = { fg = cnf.transparent_background and cp.surface1 or cp.crust }, -- the column separating vertically split windows
Folded = { fg = cp.blue, bg = cp.surface1 }, -- line used for closed folds
FoldColumn = { fg = cp.overlay0 }, -- 'foldcolumn'
SignColumn = { fg = cp.surface1 }, -- column where |signs| are displayed
Expand Down
1 change: 1 addition & 0 deletions lua/catppuccin/groups/integrations/bufferline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function M.get(user_config)
separator = { fg = cp.crust, bg = inactive_bg },
separator_visible = { fg = cp.crust, bg = inactive_bg },
separator_selected = { fg = cp.crust, bg = active_bg },
offset_separator = { fg = cnf.transparent_background and cp.surface1 or cp.crust, bg = active_bg },
-- close buttons
close_button = { fg = cp.surface1, bg = inactive_bg },
close_button_visible = { fg = cp.surface1, bg = inactive_bg },
Expand Down

0 comments on commit 4878d6e

Please sign in to comment.