add toggleterm highlights and initial bufferline highlights (#77)

This commit is contained in:
not 2022-04-15 09:16:03 -04:00 committed by GitHub
commit c38b23c022
3 changed files with 255 additions and 0 deletions

View file

@ -0,0 +1,212 @@
---Rosé Pine
---@plugin akinsho/bufferline.nvim
---@usage
--- local highlights = require('rose-pine.plugins.bufferline')
--- require('bufferline').setup({ highlights = highlights })
local p = require('rose-pine.palette')
return {
-- fill = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- background = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- tab = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- tab_selected = {
-- guifg = tabline_sel_bg,
-- guibg = '<color-value-here>',
-- },
-- tab_close = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- close_button = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- close_button_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- close_button_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
buffer_visible = {
guifg = p.subtle,
guibg = p.base,
},
buffer_selected = {
guifg = p.text,
guibg = p.surface,
gui = 'bold,italic',
},
-- diagnostic = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- diagnostic_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- diagnostic_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- gui = 'bold,italic',
-- },
-- info = {
-- guifg = '<color-value-here>',
-- guisp = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- info_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- info_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- gui = 'bold,italic',
-- guisp = '<color-value-here>',
-- },
-- info_diagnostic = {
-- guifg = '<color-value-here>',
-- guisp = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- info_diagnostic_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- info_diagnostic_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- gui = 'bold,italic',
-- guisp = '<color-value-here>',
-- },
-- warning = {
-- guifg = '<color-value-here>',
-- guisp = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- warning_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- warning_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- gui = 'bold,italic',
-- guisp = '<color-value-here>',
-- },
-- warning_diagnostic = {
-- guifg = '<color-value-here>',
-- guisp = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- warning_diagnostic_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- warning_diagnostic_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- gui = 'bold,italic',
-- guisp = warning_diagnostic_fg,
-- },
-- error = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- guisp = '<color-value-here>',
-- },
-- error_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- error_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- gui = 'bold,italic',
-- guisp = '<color-value-here>',
-- },
-- error_diagnostic = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- guisp = '<color-value-here>',
-- },
-- error_diagnostic_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- error_diagnostic_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- gui = 'bold,italic',
-- guisp = '<color-value-here>',
-- },
-- modified = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- modified_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- modified_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- duplicate_selected = {
-- guifg = '<color-value-here>',
-- gui = 'italic',
-- guibg = '<color-value-here>',
-- },
-- duplicate_visible = {
-- guifg = '<color-value-here>',
-- gui = 'italic',
-- guibg = '<color-value-here>',
-- },
-- duplicate = {
-- guifg = '<color-value-here>',
-- gui = 'italic',
-- guibg = '<color-value-here>',
-- },
-- separator_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- separator_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- separator = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- indicator_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- },
-- pick_selected = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- gui = 'bold,italic',
-- },
-- pick_visible = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- gui = 'bold,italic',
-- },
-- pick = {
-- guifg = '<color-value-here>',
-- guibg = '<color-value-here>',
-- gui = 'bold,italic',
-- },
}

View file

@ -0,0 +1,14 @@
---Rosé Pine
---@plugin akinsho/toggleterm.nvim
---@usage
--- local highlights = require('rose-pine.plugins.toggleterm')
--- require('toggleterm').setup({ highlights = highlights })
return {
Normal = { link = 'Normal' },
NormalFloat = { link = 'Normal' },
FloatBorder = { link = 'FloatBorder' },
SignColumn = { link = 'SignColumn' },
StatusLine = { link = 'StatusLine' },
StatusLineNC = { link = 'StatusLineNC' },
}

View file

@ -66,6 +66,35 @@ use({
local colors = require("galaxyline.themes.colors")["rose-pine"]
```
- [bufferline.nvim](https://github.com/akinsho/bufferline.nvim)
> PR's welcome to improve support
```lua
use({
'akinsho/bufferline.nvim',
event = 'ColorScheme',
config = function()
local highlights = require('rose-pine.plugins.bufferline')
require('bufferline').setup({ highlights = highlights })
end
})
```
- [toggleterm.nvim](https://github.com/akinsho/toggleterm.nvim)
```lua
require('toggleterm').setup({ highlights = highlights })
use({
'akinsho/toggleterm.nvim',
event = 'ColorScheme',
config = function()
local highlights = require('rose-pine.plugins.toggleterm')
require('toggleterm').setup({ highlights = highlights })
end
})
```
## Gallery
**Rosé Pine**