Skip to content

TechDufus/bluloco.nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner-light banner-dark

Bluloco.nvim

A fancy but yet sophisticated light and dark designer neovim theme built with lush.nvim. It features a much more comprehensive usage of syntax scopes and color consistency, with due regards to aesthetics, contrast and readability. Most popular plugins are also supported, see Plugins

This theme also works very good when Apple's Nightshift Mode is activated.

This is a port of the popular Visual Studio Code Themes Bluloco Light and Bluloco Dark

Dark

dark

Light

light

Features

  • Auto switching light & dark style
  • Configureable transparency and italics
  • Exhaustive plugin support
  • Written in lua

Plugins

Currently supported (aka. tested) plugins:

Plugin showcase

Expand to see screenshots of used plugins. No config needed, works out of the box.

Show Dark Screenshots
telescope

git-conflict

gitsigns

hlargs

lualine

lspasaga

diffview

telescope-file-browser

nvim-tree

which-key

trouble.nvim

todo-comments

nvim-cmp

mason

Show Light Screenshots
telescope

git-conflict

gitsigns

hlargs

lualine

lspasaga

diffview

telescope-file-browser

nvim-tree

which-key

trouble.nvim

todo-comments

nvim-cmp

mason

Install

Install Bluloco with your favorite package manager.

use {
    'uloco/bluloco.nvim',
    requires = { 'rktjmp/lush.nvim' }
}
{
  'uloco/bluloco.nvim',
  lazy = false,
  priority = 1000,
  dependencies = { 'rktjmp/lush.nvim' },
  config = function()
    -- your optional config goes here, see below.
  end,
},

Usage

⚠️ The setup() function is optional but please call it before you set the colorscheme if you want to adjust the config.

These are the default values:

require("bluloco").setup({
  style = "auto"               -- "auto" | "dark" | "light"
  transparent = false,
  italics = false,
  terminal = vim.fn.has("gui_running") == 1 -- bluoco colors are enabled in gui terminals per default.
  guicursor   = true,
})

vim.cmd('colorscheme bluloco')

You can also apply the style variant directly.
These are especially helpful when switching in an already running vim session.

:colorscheme bluloco-dark
:colorscheme bluloco-light

Lualine

Make sure your lualine settings are set to auto:

require('lualine').setup {
  options = {
    theme = 'auto'
  }
}

Config

style

There are three styles you can configure here: auto, dark and light.
The auto setting is the default and will adjust automatically to your vim.o.background value. If you change this value during runtime, it will also adjust accordingly.

ℹ️ The style value only applies if you set the theme with vim.cmd('colorscheme bluloco').
Setting the theme with a variant directly will override this setting.

transparency (default: false)

This setting will disable the background and use the default background of your terminal. You need to enable this if you want the terminal to be transparent. You would still need to configure your terminal accordingly for light and dark backgrounds when switching often.

italics (default: false)

This setting will enable italics for keywords, comments and markup attributes.

terminal (default: true in gui, otherwise false)

This setting will enable the bluloco colors in your integrated terminal. You most likely want to keep your terminal colors instead of overriding them if you are running neovim in a terminal. When you are running neovim inside a gui application this setting is enabled per default.

You can skip the terminal setting completely to have it disabled in terminals and enabled in gui neovim.

ℹ️ Please note that some terminals will display bold text as the bright color variant but enabling this feature will override this behavior in the intergrated terminal. This is by design and has nothing to do with this theme. see

guicursor (default: true)

This setting sets a guicursor to fix your terminal cursor and make it colorful (as intended). It is enabled by default. If you want to override this, make sure to set your :set guicursor after loading the theme or disable it completely.

Contributing

I'd be more than happy for any bugs you find and add an issue.
Pull requests are warmly welcome especially for missing plugin support.

About

bluloco theme port for neovim

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages

  • Lua 100.0%