A Neovim colorscheme based on Shopify's Spinel theme for VSCode.
- Carefully crafted color palette matching the original Spinel theme
- Full Treesitter support with semantic highlighting
- LSP semantic tokens support
- Built-in support for popular plugins:
- telescope.nvim
- nvim-tree.lua
- gitsigns.nvim
- nvim-cmp
- which-key.nvim
- indent-blankline.nvim
- lazy.nvim
- Transparent background option
- Customizable styles for comments, keywords, functions, and parameters
- LazyVim compatible
- Neovim >= 0.8.0
termguicolorsenabled
Using lazy.nvim
{
"Andersonvb/spinel.nvim",
lazy = false,
priority = 1000,
opts = {},
}Using packer.nvim
use {
"Andersonvb/spinel.nvim",
config = function()
require("spinel").setup()
vim.cmd.colorscheme("spinel")
end
}Spinel comes with sensible defaults. Call setup() before loading the colorscheme to customize:
require("spinel").setup({
-- Enable transparent background
transparent = false,
-- Set terminal colors
terminal_colors = true,
-- Style customization
styles = {
comments = { italic = true },
keywords = { italic = false, bold = false },
functions = { italic = false, bold = false },
parameters = { italic = true },
booleans = { bold = true },
},
-- Override colors
on_colors = function(colors)
colors.bg = "#1a1a1a"
end,
-- Override highlight groups
on_highlights = function(hl, colors)
hl.Comment = { fg = colors.comment, italic = true }
end,
-- Plugin integration
plugins = {
auto = true, -- Auto-detect loaded plugins
telescope = true,
nvim_tree = true,
gitsigns = true,
cmp = true,
which_key = true,
indent_blankline = true,
lazy = true,
},
})return {
{
"Andersonvb/spinel.nvim",
lazy = false,
priority = 1000,
opts = {
transparent = false,
styles = {
comments = { italic = true },
parameters = { italic = true },
},
},
},
{
"LazyVim/LazyVim",
opts = {
colorscheme = "spinel",
},
},
}| Name | Hex | Preview |
|---|---|---|
| Background | #2f2f2f |
|
| Background Dark | #282828 |
|
| Background Highlight | #3b3b3b |
|
| Foreground | #d1ccf1 |
|
| Border | #404040 |
After installation, verify the theme is working:
- Load the colorscheme:
:colorscheme spinel - Open various file types (Ruby, Lua, Python, etc.)
- Use
:Inspecton tokens to verify highlight groups - Open Telescope, nvim-tree to verify plugin integration
- Test transparent mode:
opts = { transparent = true }
This colorscheme is available as open source under the terms of the MIT License.
