fix(extras): make generation of extras deterministic (#344)

* fix: make generation deterministic

* fix: copy colors in empty table

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
This commit is contained in:
Riley Martine 2023-04-16 00:10:33 -06:00 committed by GitHub
parent 33efb398e8
commit 715f923435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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", {}, M.default, palette)
util.bg = colors.bg
util.day_brightness = config.options.day_brightness