diff --git a/colors/monokai-pro-light.lua b/colors/monokai-pro-light.lua new file mode 100644 index 0000000..4e87a5b --- /dev/null +++ b/colors/monokai-pro-light.lua @@ -0,0 +1 @@ +require("monokai-pro")._load("light") diff --git a/lua/monokai-pro/colorscheme/init.lua b/lua/monokai-pro/colorscheme/init.lua index 36d921e..fc8a25a 100644 --- a/lua/monokai-pro/colorscheme/init.lua +++ b/lua/monokai-pro/colorscheme/init.lua @@ -25,10 +25,10 @@ local hp = require("monokai-pro.color_helper") ---@param filter Filter ---@return ColorschemeOptions M.get = function(filter) - local filters = { "classic", "machine", "octagon", "pro", "ristretto", "spectrum" } + local filters = { "light", "classic", "machine", "octagon", "pro", "ristretto", "spectrum" } if not vim.tbl_contains(filters, filter) then - local msg = 'Invalid filter, expected "classic", "machine", "octagon", "pro", "ristretto" or "spectrum"' + local msg = 'Invalid filter, expected "light", "classic", "machine", "octagon", "pro", "ristretto" or "spectrum"' local level = "info" filter = "pro" Util.log(msg, level) diff --git a/lua/monokai-pro/colorscheme/palette/light.lua b/lua/monokai-pro/colorscheme/palette/light.lua new file mode 100644 index 0000000..757ff40 --- /dev/null +++ b/lua/monokai-pro/colorscheme/palette/light.lua @@ -0,0 +1,20 @@ +---@type Palette +return { + dark2 = "#d3cdcc", + dark1 = "#ede7e5", + background = "#faf4f2", + text = "#29242a", + accent1 = "#e14775", + accent2 = "#e16032", + accent3 = "#cc7a0a", + accent4 = "#269d69", + accent5 = "#1c8ca8", + accent6 = "#7058be", + dimmed1 = "#706b6e", + dimmed2 = "#918c8e", + dimmed3 = "#a59fa0", + dimmed4 = "#bfb9ba", + dimmed5 = "#d3cdcc", + panel = "#fefaf9", + light = "#ffffff", +} diff --git a/lua/monokai-pro/command.lua b/lua/monokai-pro/command.lua index 5c671b9..8fb0a91 100644 --- a/lua/monokai-pro/command.lua +++ b/lua/monokai-pro/command.lua @@ -9,9 +9,10 @@ M.create_filter_command = function() cmd("MonokaiProSelect", function() local menu = util.ui.create_menu("Set monokai filter", { "classic", + "light", + "machine", "octagon", "pro", - "machine", "ristretto", "spectrum", }, function(item) @@ -32,9 +33,10 @@ M.create_filter_command = function() complete = function() return { "classic", + "light", + "machine", "octagon", "pro", - "machine", "ristretto", "spectrum", } diff --git a/lua/monokai-pro/init.lua b/lua/monokai-pro/init.lua index 5733ca2..c7e5de1 100644 --- a/lua/monokai-pro/init.lua +++ b/lua/monokai-pro/init.lua @@ -10,7 +10,7 @@ M.load = function() util.theme.load(theme.setup()) end ---- @param filter "classic" | "machine" | "octagon" | "pro" | "ristretto" | "spectrum" +--- @param filter "light" | "classic" | "machine" | "octagon" | "pro" | "ristretto" | "spectrum" M._load = function(filter) config.extend({ filter = filter }) M.load()