A dark and light Neovim theme written in Lua inspired on from the Rose Pine and Zenbones themes.
- Supports the latest Neovim 0.9.0 features.
- Enhances terminal colors.
- Dark and light themes.
- Supports all major plugins.
Install the theme with your preferred package manager, such as folke/lazy.nvim:
{
'ccxnu/rosebones',
lazy = false,
priority = 1000,
opts = {},
}
vim.cmd.colorscheme('rosebones') -- or
vim.cmd.colorscheme('rosebones-day')
colorscheme rosebones " or
colorscheme rosebones-day
The theme offers two styles: dark and day.
The day style is used when { style = "day" }
is passed to
setup(options)
or when vim.o.background = "light"
.
require("rosebones").setup({
style = "default", -- The theme comes in two styles: default(dark) & day(light).
light_style = "day", -- The theme is used when the background is set to light
transparent = false, -- Enable this to disable setting the background color (Recommended)
terminal_colors = false, -- Configure the colors used when opening a `:terminal` in 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 = {},
},
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) 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) end,
use_background = true, -- can be light/dark/auto. When auto, background will be set to vim.o.background
})
Pull requests are welcome. This theme is still in progress. Support for major all major plugins will come with time.