mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 01:08:53 +02:00
add: config colorscheme solarized osaka
This commit is contained in:
parent
62d393b0f9
commit
30537367c1
4 changed files with 67 additions and 5 deletions
|
@ -513,7 +513,7 @@ return {
|
|||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
enabled = substring(tostring(color), "github") and true or false,
|
||||
config = function()
|
||||
local is_transparent = false
|
||||
local is_transparent = (transparent_mode == 1) and true or false
|
||||
local palette = require("github-theme.palette").load "github_dark_dimmed"
|
||||
require("github-theme").setup {
|
||||
options = {
|
||||
|
@ -613,4 +613,60 @@ return {
|
|||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
"craftzdog/solarized-osaka.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
enabled = substring(tostring(color), "solarized") and true or false,
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
transparent = (transparent_mode == 1) and true or false, -- Enable this to disable setting the background color
|
||||
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in [Neovim](https://github.com/neovim/neovim)
|
||||
styles = {
|
||||
-- Style to be applied to different syntax groups
|
||||
-- Value is any valid attr-list value for `:help nvim_set_hl`
|
||||
comments = { italic = true },
|
||||
keywords = { italic = true },
|
||||
functions = {},
|
||||
variables = {},
|
||||
-- Background styles. Can be "dark", "transparent" or "normal"
|
||||
sidebars = (transparent_mode == 1) and "transparent" or "normal", -- style for sidebars, see below
|
||||
floats = "dark", -- style for floating windows
|
||||
},
|
||||
sidebars = { "qf", "help" }, -- Set a darker background on sidebar-like windows. For example: `["qf", "vista_kind", "terminal", "packer"]`
|
||||
day_brightness = 0.3, -- Adjusts the brightness of the colors of the **Day** style. Number between 0 and 1, from dull to vibrant colors
|
||||
hide_inactive_statusline = false, -- Enabling this option, will hide inactive statuslines and replace them with a thin border instead. Should work with the standard **StatusLine** and **LuaLine**.
|
||||
dim_inactive = false, -- dims inactive windows
|
||||
lualine_bold = false, -- When `true`, section headers in the lualine theme will be bold
|
||||
|
||||
--- You can override specific color groups to use other groups or a hex color
|
||||
--- function will be called with a ColorScheme table
|
||||
--@param colors ColorScheme
|
||||
on_colors = function(colors)
|
||||
colors.bg_statusline = colors.none
|
||||
end,
|
||||
|
||||
--- You can override specific highlights to use other groups or a hex color
|
||||
--- function will be called with a Highlights and ColorScheme table
|
||||
--@param highlights Highlights
|
||||
--@param colors ColorScheme
|
||||
on_highlights = function(highlights, colors)
|
||||
highlights.NvimTreeWinSeparator = {
|
||||
fg = colors.border,
|
||||
}
|
||||
highlights.Underlined = {
|
||||
underline = false,
|
||||
}
|
||||
highlights.BufferLineFill = { bg = colors.bg }
|
||||
highlights.StatusLine = { bg = colors.none, fg = colors.fg }
|
||||
highlights.StatusLineNC = { bg = colors.none, fg = colors.fg }
|
||||
highlights.NvimTreeSpecialFile = { fg = colors.purple, underline = false }
|
||||
highlights["@tag.attribute"] = { fg = colors.green1, italic = true }
|
||||
end,
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("solarized-osaka").setup(opts)
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue