craftzdog / solarized-osaka.nvim

🏯 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins.
Apache License 2.0
650 stars 29 forks source link

feature: An option or highlight group to set lualine section (a, b, c) colors #20

Closed tigion closed 6 months ago

tigion commented 6 months ago

Did you check the docs?

Is your feature request related to a problem? Please describe.

I like more the older (2nd lualine in screenshot) variant, in which section b has a different color than section c.

solarized-osaka-lualine

Is there a way to customize this via the config/opts for solarized-osaka?

I know there is an issue #12 in which section b was matched to the color of section c. But now the difference between section b and c has disappeared.

Describe the solution you'd like

An option or highlight group, alternatively a tip on how I can achieve this using the available options.

Describe alternatives you've considered

-

Additional context

-

tigion commented 6 months ago

My current workaround is to customize the lualine.themes.solarized-osaka theme directly in my lualine.lua configuration:

-- custom solarized-osaka section colors
local colors = require('solarized-osaka.colors').setup({ transform = true })
local custom_theme = require('lualine.themes.solarized-osaka')
custom_theme.normal.b.fg = colors.black
custom_theme.normal.b.bg = colors.fg
lualine.setup({
  options = {
    -- theme = 'solarized_osaka',
    theme = custom_theme,
    ...
},
craftzdog commented 6 months ago

the 'b' section was not right. thanks