a39544b93d
and remove some outdated firefox profiles
32 lines
522 B
Lua
32 lines
522 B
Lua
local H = require("my.tempest")
|
|
|
|
local M = {
|
|
"rose-pine/neovim",
|
|
name = "rose-pine",
|
|
lazy = false,
|
|
enabled = H.theme_contains("Rosé Pine"),
|
|
}
|
|
|
|
function M.config()
|
|
local variant = H.theme_variant("Rosé Pine")
|
|
|
|
if variant == "dawn" then
|
|
vim.o.background = "light"
|
|
else
|
|
vim.o.background = "dark"
|
|
end
|
|
|
|
local dark_variants = {
|
|
[""] = "main",
|
|
moon = "moon",
|
|
}
|
|
|
|
require("rose-pine").setup({
|
|
dark_variant = dark_variants[variant],
|
|
})
|
|
|
|
vim.cmd("colorscheme rose-pine")
|
|
end
|
|
|
|
return M
|