diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2024-08-23 09:40:05 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2024-08-23 09:40:05 -0300 |
| commit | 969aa6d3444f857c383b0e271febe087cd224349 (patch) | |
| tree | 626929d795c5e4c262afb00570a87f3df0212fc3 /lua/plugins/colorscheme.lua | |
| parent | 59ab00e081d92db8760d65f3146f4156a962d5e4 (diff) | |
| download | nvim-conf-969aa6d3444f857c383b0e271febe087cd224349.tar.gz nvim-conf-969aa6d3444f857c383b0e271febe087cd224349.zip | |
Feat: update
Diffstat (limited to 'lua/plugins/colorscheme.lua')
| -rw-r--r-- | lua/plugins/colorscheme.lua | 115 |
1 files changed, 78 insertions, 37 deletions
diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua index b72b76f..376feee 100644 --- a/lua/plugins/colorscheme.lua +++ b/lua/plugins/colorscheme.lua @@ -1,40 +1,81 @@ return { - { - 'catppuccin/nvim', - name = 'catppuccin', - lazy = false, - priority = 1000, - opts = { - flavour = 'frappe', - transparent_background = true, - integrations = { - mason = true, - mini = true, - native_lsp = { - underlines = { - errors = { 'undercurl' }, - hints = { 'undercurl' }, - warnings = { 'undercurl' }, - information = { 'undercurl' }, - }, - }, - treesitter_context = true, - which_key = true, + "craftzdog/solarized-osaka.nvim", + lazy = false, + priority = 1000, + opts = {}, + config = function() + + -- Colorscheme Solarized Osaka by Takuya Matsuyama (https://github.com/craftzdog/solarized-osaka.nvim) + require("solarized-osaka").setup({ + -- your configuration comes here + -- or leave it empty to use the default settings + transparent = true, -- 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 = { italic = true }, + variables = { bold = true}, + -- Background styles. Can be "dark", "transparent" or "normal" + sidebars = "dark", -- style for sidebars, see below + floats = "dark", -- style for floating windows }, - }, - config = function(_, opts) - require('catppuccin').setup(opts) - vim.cmd.colorscheme 'catppuccin' - end, - }, - { - 'stevearc/dressing.nvim', - event = 'VeryLazy', - opts = { - input = { - insert_only = false, - start_in_insert = false, - }, - }, - }, + 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 = true, -- 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) 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(hl, c) + hl.IblIndent = { fg = c.base03, nocombine = true } + hl.IndentBlanklineChar = { fg = c.blue, nocombine = true } + hl.IndentBlanklineContextChar = { fg = c.orange500, nocombine = true } + + local prompt = "#2d3149" + hl.TelescopeNormal = { + bg = c.bg_dark, + fg = c.fg_dark, + } + hl.TelescopeBorder = { + bg = c.bg_dark, + fg = c.bg_dark, + } + hl.TelescopePromptNormal = { + bg = prompt, + } + hl.TelescopePromptBorder = { + bg = prompt, + fg = prompt, + } + hl.TelescopePromptTitle = { + bg = prompt, + fg = prompt, + } + hl.TelescopePreviewTitle = { + bg = c.bg_dark, + fg = c.bg_dark, + } + hl.TelescopeResultsTitle = { + bg = c.bg_dark, + fg = c.bg_dark, + } + end, + }) + + + -- setup must be called before loading + vim.cmd.colorscheme "solarized-osaka" + + end } |