Skip to content

Commit

Permalink
fix(kitty): respect transparent_background option (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
vollowx authored Oct 26, 2024
1 parent d9ee9a3 commit 08efbef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/catppuccin/palettes/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function M.get_palette(flavour)
local _, palette = pcall(require, "catppuccin.palettes." .. flvr)
local O = require("catppuccin").options
local ans = vim.tbl_deep_extend("keep", O.color_overrides.all or {}, O.color_overrides[flvr] or {}, palette or {})
if O.kitty then -- https://github.com/kovidgoyal/kitty/issues/2917
if O.kitty and O.transparent_background then -- https://github.com/kovidgoyal/kitty/issues/2917
for accent, hex in pairs(ans) do
local red_green_string = hex:sub(1, 5)
local blue_value = tonumber(hex:sub(6, 7), 16)
Expand Down

0 comments on commit 08efbef

Please sign in to comment.