Skip to content

A minimal, contrast-based, dark & light Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins.

License

Notifications You must be signed in to change notification settings

ccxnu/rosebones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🌹 Rosebones 🦴

A dark and light Neovim theme written in Lua inspired on from the Rose Pine and Zenbones themes.

Default

Day

✨ Features

  • Supports the latest Neovim 0.9.0 features.
  • Enhances terminal colors.
  • Dark and light themes.
  • Supports all major plugins.

⚡️ Requirements

📦 Installation

Install the theme with your preferred package manager, such as folke/lazy.nvim:

{
  'ccxnu/rosebones',
  lazy = false,
  priority = 1000,
  opts = {},
}

🚀 Usage

Lua

vim.cmd.colorscheme('rosebones') -- or
vim.cmd.colorscheme('rosebones-day')

Vim Script

colorscheme rosebones " or
colorscheme rosebones-day

⚙️ Configuration

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".

Default options

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
})

🔥 Contributing

Pull requests are welcome. This theme is still in progress. Support for major all major plugins will come with time.

I hope you enjoy it!

About

A minimal, contrast-based, dark & light Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins.

Topics

Resources

License

Stars

Watchers

Forks

Languages