|
1 |
| -# bluloco.nvim |
2 |
| -bluloco theme port for neovim |
| 1 | +# Bluloco.nvim |
3 | 2 |
|
4 |
| -## THIS IS A WORK IN PROGRESS AND NOT READY YET! |
| 3 | +A fancy but yet sophisticated light and dark designer neovim theme built with [lush.nvim](https://github.com/rktjmp/lush.nvim). |
| 4 | +It features a much more comprehensive usage of syntax scopes and color |
| 5 | +consistency, with due regards to aesthetics, contrast and readability. |
| 6 | +Most popular plugins are also supported, see _plugins_ (link) |
5 | 7 |
|
6 |
| -If you want to get notified when the first version is available go ahead and |
7 |
| -please star this project. |
| 8 | +This theme also works very good when Apple's **Nightshift Mode** is activated. |
8 | 9 |
|
9 |
| -Seeing other people interested in this, |
10 |
| -makes me probably finish it faster, too. ;) |
| 10 | +This is a port of the popular Visual Studio Code Themes |
| 11 | +[Bluloco Light](https://github.com/uloco/theme-bluloco-light) and |
| 12 | +[Bluloco Dark](https://github.com/uloco/theme-bluloco-dark) |
11 | 13 |
|
| 14 | +### Dark |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +### Light |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | +## Features |
| 23 | + |
| 24 | +- Auto switching light & dark style |
| 25 | +- Configureable _transparency_ and _italics_ |
| 26 | +- Exhaustive plugin support |
| 27 | +- Written in lua |
| 28 | + |
| 29 | +## Plugins |
| 30 | + |
| 31 | +Currently supported plugins are: |
| 32 | + |
| 33 | +- [treesitter](https://github.com/nvim-treesitter/nvim-treesitter) |
| 34 | +- [hlargs](https://github.com/m-demare/hlargs.nvim) |
| 35 | +- [lsp](https://github.com/neovim/lsp-config) |
| 36 | +- [lspsaga](https://github.com/glepnir/lspsaga.nvim) |
| 37 | +- [telescope](https://github.com/nvim-telescope/telescope.nvim) |
| 38 | +- [telescope-file-browser](https://github.com/nvim-telescope/telescope-file-browser.nvim) |
| 39 | +- [nvim-tree](https://github.com/kyazdani42/nvim-tree.lua) |
| 40 | +- [trouble](https://github.com/folke/trouble.nvim) |
| 41 | +- [todo-comments](https://github.com/folke/todo-comments.nvim) |
| 42 | +- [which-key](https://github.com/liuchengxu/vim-which-key) |
| 43 | +- [cmp](https://github.com/hrsh7th/nvim-cmp) |
| 44 | +- [gitsigns](https://github.com/lewis6991/gitsigns.nvim) |
| 45 | +- [git-conflict](https://github.com/akinsho/git-conflict.nvim) |
| 46 | +- [diffview](https://github.com/sindrets/diffview.nvim) |
| 47 | +- [neogit](https://github.com/TimUntersberger/neogit) |
| 48 | +- [indent-blankline](https://github.com/lukas-reineke/indent-blankline.nvim) |
| 49 | +- [bufferline](https://github.com/akinsho/nvim-bufferline.lua) |
| 50 | +- [lualine](https://github.com/hoob3rt/lualine.nvim) |
| 51 | +- [scrollbar](https://github.com/petertriho/nvim-scrollbar) |
| 52 | +- [illuminated](https://github.com/RRethy/vim-illuminate) |
| 53 | +- [cursorword](https://github.com/xiyaowong/nvim-cursorword) |
| 54 | +- [mason](https://github.com/williamboman/mason.nvim) |
| 55 | +- [notify](https://github.com/rcarriga/nvim-notify) |
| 56 | +- [alpha](https://github.com/goolord/alpha-nvim) |
| 57 | + |
| 58 | +<!-- |
| 59 | +TODO: |
| 60 | +<details> |
| 61 | +<summary> Example config </summary> |
| 62 | +</details |
| 63 | +- Foldable with screenshots |
| 64 | +- Add needed config hereF --> |
| 65 | + |
| 66 | +## Install |
| 67 | + |
| 68 | +Install Bluloco with [packer](https://github.com/wbthomason/packer.nvim): |
| 69 | + |
| 70 | +```lua |
| 71 | +use { |
| 72 | + 'uloco/bluloco.nvim', |
| 73 | + requires = { 'rktjmp/lush.nvim' } |
| 74 | +} |
| 75 | +``` |
| 76 | + |
| 77 | +## Usage |
| 78 | + |
| 79 | +Enable the colorscheme with defaults. |
| 80 | + |
| 81 | +> ⚠️ The `setup()` function is optional but please call it |
| 82 | +> **before** you set the colorscheme if you want to adjust the config. |
| 83 | +
|
| 84 | +```lua |
| 85 | +require("bluloco").setup({ |
| 86 | + style = "auto" -- "auto" | "dark" | "light" |
| 87 | + transparent = false, |
| 88 | + italics = false, |
| 89 | +}) |
| 90 | + |
| 91 | +vim.cmd('colorscheme bluloco') |
| 92 | +``` |
| 93 | + |
| 94 | +You can also apply the style variant directly. |
| 95 | +These are especially helpful when switching in an already running vim session. |
| 96 | + |
| 97 | +```vim |
| 98 | +:colorscheme bluloco-dark |
| 99 | +:colorscheme bluloco-light |
| 100 | +``` |
| 101 | + |
| 102 | +#### Lualine |
| 103 | + |
| 104 | +Make sure your lualine settings are set to auto: |
| 105 | + |
| 106 | +```lua |
| 107 | +require('lualine').setup { |
| 108 | + options = { |
| 109 | + theme = 'auto' |
| 110 | + } |
| 111 | +} |
| 112 | +``` |
| 113 | + |
| 114 | +## Config |
| 115 | + |
| 116 | +### Style |
| 117 | + |
| 118 | +There are three styles you can configure here: `auto`, `dark` and `light`. |
| 119 | +The `auto` setting is the default and will adjust automatically to your |
| 120 | +`vim.o.background` value. If you change this value during runtime, it will also adjust accordingly. |
| 121 | + |
| 122 | +> ℹ️ The style value only applies if you set the theme with `vim.cmd('colorscheme bluloco')`. |
| 123 | +> Setting the theme with a variant directly will override this setting. |
| 124 | +
|
| 125 | +### Transparency |
| 126 | + |
| 127 | +This setting will disable the background and use the default background of your terminal. |
| 128 | +You need to enable this if you want the terminal to be transparent. You would still need to |
| 129 | +configure your terminal accordingly for light and dark backgrounds when switching often. |
| 130 | + |
| 131 | +<!-- TODO: See: auto switching themes. |
| 132 | +See: bluloco theme for iTerm2 --> |
| 133 | + |
| 134 | +### Italics |
| 135 | + |
| 136 | +This setting will enable italics for _keywords_, _comments_ and _markup attributes_. |
| 137 | + |
| 138 | +<!-- ## Recipes |
| 139 | +### Auto switching light & dark themes |
| 140 | + --> |
| 141 | + |
| 142 | +## Contributing |
| 143 | + |
| 144 | +I'd be more than happy for any bugs you find and add an [issue](https://github.com/uloco/bluloco.nvim/issues). |
| 145 | +Pull requests are warmly welcome especially for missing plugin support. |
0 commit comments