Skip to content

Commit

Permalink
fix(colors): make extras deterministic. Fixes #344
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Apr 22, 2023
1 parent d78d3de commit 3f18207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/tokyonight/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function M.setup(opts)

-- Color Palette
---@class ColorScheme: Palette
local colors = vim.tbl_deep_extend("force", {}, M.default, palette)
local colors = vim.tbl_deep_extend("force", vim.deepcopy(M.default), palette)

util.bg = colors.bg
util.day_brightness = config.options.day_brightness
Expand Down

0 comments on commit 3f18207

Please sign in to comment.