PROJECT: THEME
~~~
Overview:
- This is a Neovim version of the Pierre theme
(https://github.com/pierrecomputer/pierre/tree/main/packages/theme).
Copyright goes to them.
- Light and dark themes for Neovim
~~~
Usage:
Neovim:
1. Install the plugin with lazy.nvim:
{ "chaosteil/pierre-theme.nvim", priority = 1000 }
2. Set the colorscheme:
vim.cmd.colorscheme("pierre")
The bare "pierre" name follows the 'background' option.
You can also select one style directly:
- pierre-dark
- pierre-dark-soft
- pierre-light
- pierre-light-soft
Four more styles keep the accent, state and syntax colors apart for
readers with a color vision deficiency. Their background and text
colors stay the same as the plain dark and light styles.
- pierre-dark-protanopia-deuteranopia
- pierre-light-protanopia-deuteranopia
- pierre-dark-tritanopia
- pierre-light-tritanopia
If you want different options, call setup() before the colorscheme:
require("pierre").setup({
style = "dark-soft", -- style for a dark background
light_style = "light", -- style for a light background
transparent = false, -- do not set background colors
styles = {
comments = { italic = true },
diffs = "subtle", -- "strong" for brighter diffs
},
})
A fully integrated lazy config could look like this:
{
"code/pierre-theme.nvim",
priority = 1000,
lazy = false,
config = function()
require("pierre").setup({
style = "dark",
})
vim.cmd.colorscheme("pierre")
end,
},
For lualine, set the theme to "pierre":
require("lualine").setup({ options = { theme = "pierre" } })
The lualine theme reads the colors of the style that is active. It
changes with the colorscheme.
The theme covers treesitter captures, LSP semantic tokens,
diagnostics, and popular plugins (telescope, blink.cmp, nvim-cmp,
gitsigns, lazy.nvim, mini.nvim, which-key, trouble, noice, neo-tree,
flash, snacks, indent-blankline).
Neovim 0.9 is the minimum version. Neovim 0.10 or later is better.
For all settings, read the help file:
:help pierre