mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
feat(theme): starting switch to everforest
Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
@@ -1,23 +1,52 @@
|
||||
return {
|
||||
{
|
||||
'rose-pine/neovim',
|
||||
name = 'rose-pine',
|
||||
opts = {
|
||||
dim_inactive_windows = false,
|
||||
extend_background_behind_borders = true,
|
||||
styles = {
|
||||
bold = true,
|
||||
italic = true,
|
||||
transparency = true,
|
||||
},
|
||||
enable = {
|
||||
terminal = true,
|
||||
legacy_highlights = true, -- Improve compatibility for previous versions of Neovim
|
||||
migrations = true, -- Handle deprecated options automatically
|
||||
},
|
||||
},
|
||||
config = function() vim.cmd 'colorscheme rose-pine' end,
|
||||
'neanias/everforest-nvim',
|
||||
version = false,
|
||||
lazy = false,
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
config = function()
|
||||
require('everforest').setup {
|
||||
background = 'soft', -- hard, medium, soft
|
||||
transparent_background_level = 0, -- 0, 1, 2
|
||||
sign_column_background = 'none', -- none, dimmed, normal
|
||||
disable_italic_comments = false,
|
||||
diagnostic_virtual_text = 'coloured', -- coloured, gray, underline, none
|
||||
diagnostic_line_highlight = true,
|
||||
diagnostic_line_highlight_background = 'dimmed', -- dimmed, normal
|
||||
diagnostic_text_highlight = true,
|
||||
ui_contrast = 'low', -- high, low
|
||||
italics = true,
|
||||
spell_foreground = true,
|
||||
show_eob = true,
|
||||
colours_override = function() end,
|
||||
float_style = 'dim',
|
||||
on_highlights = function(_, _) end,
|
||||
dim_inactive_windows = true,
|
||||
inlay_hints_background = 'dimmed',
|
||||
}
|
||||
end,
|
||||
},
|
||||
|
||||
-- {
|
||||
-- 'rose-pine/neovim',
|
||||
-- name = 'rose-pine',
|
||||
-- opts = {
|
||||
-- dim_inactive_windows = false,
|
||||
-- extend_background_behind_borders = true,
|
||||
-- styles = {
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- transparency = true,
|
||||
-- },
|
||||
-- enable = {
|
||||
-- terminal = true,
|
||||
-- legacy_highlights = true, -- Improve compatibility for previous versions of Neovim
|
||||
-- migrations = true, -- Handle deprecated options automatically
|
||||
-- },
|
||||
-- },
|
||||
-- config = function() vim.cmd 'colorscheme rose-pine' end,
|
||||
-- },
|
||||
|
||||
-- Automatic dark mode
|
||||
-- https://github.com/f-person/auto-dark-mode.nvim
|
||||
{
|
||||
@@ -27,12 +56,12 @@ return {
|
||||
set_dark_mode = function()
|
||||
vim.api.nvim_set_option_value('background', 'dark', {})
|
||||
-- vim.cmd.colorscheme(vim.g.colors_variant_dark)
|
||||
vim.cmd 'colorscheme rose-pine'
|
||||
-- vim.cmd 'colorscheme rose-pine'
|
||||
end,
|
||||
set_light_mode = function()
|
||||
vim.api.nvim_set_option_value('background', 'light', {})
|
||||
-- vim.cmd.colorscheme(vim.g.colors_variant_light)
|
||||
vim.cmd 'colorscheme rose-pine-dawn'
|
||||
-- vim.cmd 'colorscheme rose-pine-dawn'
|
||||
end,
|
||||
},
|
||||
},
|
||||
@@ -51,34 +80,35 @@ return {
|
||||
|
||||
-- Remove all background colors to make nvim transparent
|
||||
-- https://github.com/xiyaowong/nvim-transparent
|
||||
{
|
||||
'xiyaowong/nvim-transparent',
|
||||
lazy = false,
|
||||
config = function()
|
||||
local t = require 'transparent'
|
||||
t.setup {
|
||||
extra_groups = {
|
||||
'NormalNC',
|
||||
'NormalFloat',
|
||||
'FloatTitle',
|
||||
'FloatBorder',
|
||||
'NotifyDEBUGBorder',
|
||||
'NotifyERRORBorder',
|
||||
'NotifyINFOBorder',
|
||||
'NotifyINFOBorder73',
|
||||
'NotifyINFOBorder75',
|
||||
'NotifyINFOBorder101',
|
||||
'NotifyTRACEBorder',
|
||||
'NotifyWARNBorder',
|
||||
'TelescopeBorder',
|
||||
'TelescopePromptBorder',
|
||||
'TelescopeResultsBorder',
|
||||
'TelescopePreviewBorder',
|
||||
},
|
||||
}
|
||||
t.clear_prefix 'NeoTree'
|
||||
end,
|
||||
},
|
||||
-- {
|
||||
-- 'xiyaowong/nvim-transparent',
|
||||
-- lazy = false,
|
||||
-- enabled = false,
|
||||
-- config = function()
|
||||
-- local t = require 'transparent'
|
||||
-- t.setup {
|
||||
-- extra_groups = {
|
||||
-- 'NormalNC',
|
||||
-- 'NormalFloat',
|
||||
-- 'FloatTitle',
|
||||
-- 'FloatBorder',
|
||||
-- 'NotifyDEBUGBorder',
|
||||
-- 'NotifyERRORBorder',
|
||||
-- 'NotifyINFOBorder',
|
||||
-- 'NotifyINFOBorder73',
|
||||
-- 'NotifyINFOBorder75',
|
||||
-- 'NotifyINFOBorder101',
|
||||
-- 'NotifyTRACEBorder',
|
||||
-- 'NotifyWARNBorder',
|
||||
-- 'TelescopeBorder',
|
||||
-- 'TelescopePromptBorder',
|
||||
-- 'TelescopeResultsBorder',
|
||||
-- 'TelescopePreviewBorder',
|
||||
-- },
|
||||
-- }
|
||||
-- t.clear_prefix 'NeoTree'
|
||||
-- end,
|
||||
-- },
|
||||
|
||||
-- Display a character as the colorcolumn
|
||||
-- https://github.com/lukas-reineke/virt-column.nvim
|
||||
|
||||
Reference in New Issue
Block a user