Skip to content

nautrw/base16-unthemed-nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

147 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

base16-unthemed-nvim

Basically base16-nvim but without the preinstalled themes.

This will heavily reduce startup times and only the themes you want need to be loaded. Usage is almost the same:

-- This might be put in ./colors/[your theme name].lua and then used like a normal colorscheme
require('base16-colorscheme').setup({
    base00 = '#16161D', base01 = '#2c313c', base02 = '#3e4451', base03 = '#6c7891',
    base04 = '#565c64', base05 = '#abb2bf', base06 = '#9a9bb3', base07 = '#c5c8e6',
    base08 = '#e06c75', base09 = '#d19a66', base0A = '#e5c07b', base0B = '#98c379',
    base0C = '#56b6c2', base0D = '#0184bc', base0E = '#c678dd', base0F = '#a06949',
})

Note: If you don't see colours, try adding vim.opt.termguicolors = true to your init.lua

Advanced Usage

-- To disable highlights for supported plugin(s), call the `with_config` function **before** setting the colorscheme.
-- These are the defaults.
require('base16-colorscheme').with_config({
    telescope = true,
    indentblankline = true,
    notify = true,
    ts_rainbow = true,
    cmp = true,
    illuminate = true,
    dapui = true,
})

-- You can get the base16 colors **after** setting the colorscheme by name (base01, base02, etc.)
local color = require('base16-colorscheme').colors.base01

About

base16-nvim but without the custom colorschemes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Lua 95.1%
  • Shell 3.3%
  • Mustache 1.6%