Theme & dotfiles
vercel.nvim is a clean, modern Neovim colorscheme inspired by Vercel's Geist Design System. It brings Vercel’s minimalist, high-contrast, and developer-focused
<a href="https://dotfyle.com/plugins/tiesen243/vercel.nvim"> <img src="https://dotfyle.com/plugins/tiesen243/vercel.nvim/shield" /> </a>
vercel.nvim is a clean, modern Neovim colorscheme inspired by Vercel's Geist Design System. It brings Vercel’s minimalist, high-contrast, and developer-focused aesthetic directly to your editor.
Preview
Light Theme
Light Theme
Dark Theme
Dark Theme
Installation
vim.pack.add("https://github.com/tiesen243/vercel.nvim")Lazy:{ 'tiesen243/vercel.nvim' },Packer:use 'tiesen243/vercel.nvim'Configuration
To configure the plugin, you can call require('vercel').setup({}), passing the table with the values in it. The following are the defaults:
{
"tiesen243/vercel.nvim",
lazy = false,
priority = 1000,
config = function()
require("vercel").setup({
theme = "light" -- String: Sets the theme to light or dark (Default: light)
transparent = false, -- Boolean: Sets the background to transparent (Default: false)
italics = {
comments = true, -- Boolean: Italicizes comments (Default: true)
keywords = true, -- Boolean: Italicizes keywords (Default: true)
functions = true, -- Boolean: Italicizes functions (Default: true)
strings = true, -- Boolean: Italicizes strings (Default: true)
variables = true, -- Boolean: Italicizes variables (Default: true)
bufferline = false -- Boolean: Italicizes bufferline (Default: false)
},
overrides = {}, -- A dictionary of group names, can be a function returning a dictionary or a table.
})
-- This must be called before setting the colorscheme, otherwise it will always default to light mode
vim.cmd.colorscheme("vercel")
end,
}You can alse using the color tokens to customize the theme:
local tokens = require("vercel").tokensSpecifics for Some Plugins
Out of the box, the theme automatically configures highlights for cmp and blink.cmp.
Bufferline.nvim
To use the theme with bufferline.nvim, you can use the following configuration:
require('bufferline').setup({
highlights = function()
local status_ok, vercel = pcall(require, "vercel")
if not status_ok then
return {}
end
return vercel.highlights.bufferline
end,
})Neo-tree.nvim
For better experience with this theme, I recommend changing the folder icons to:
require('neo-tree').setup({
default_component_configs = {
icon = {
folder_closed = "",
folder_open = "",
folder_empty = "",
},
}
}Contributing
Contributions are welcome, please open an issue if you encounter any bug or if you find any improvements are needed for the code, also feel free to open a PR.
Special Thanks
License
This project is licensed under the MIT License - see the LICENSE file for details.
Bình luận dưới bài giới thiệu dự án trên bảng tin. Mở bài giới thiệu
Thảo luận
0 bình luận