Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lua/catppuccin/palettes/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ function M.get_palette(flavour)
--]]
if O.kitty then
for accent, hex in pairs(ans) do
local red_green_string = hex:sub(1, 5)
local blue_value = tonumber(hex:sub(6, 7), 16)
local red_green_string = hex:sub(1, 4)
local blue_value = tonumber(hex:sub(5, 6), 16)

-- Slightly increase or decrease brightness of the blue channel
blue_value = blue_value == 255 and blue_value - 1 or blue_value + 1
Expand Down
Loading