mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
refactor!: move galaxyline theme to rose-pine.plugins.galaxyline
This commit is contained in:
parent
4a3b4512fc
commit
c3762c935e
2 changed files with 20 additions and 19 deletions
|
|
@ -1,19 +0,0 @@
|
|||
local present, galaxyline_colors = pcall(require, 'galaxyline.themes.colors')
|
||||
if not present then
|
||||
return
|
||||
end
|
||||
|
||||
local p = require('rose-pine.palette')
|
||||
|
||||
galaxyline_colors['rose-pine'] = {
|
||||
bg = p.overlay,
|
||||
fg = p.text,
|
||||
fg_alt = p.subtle,
|
||||
blue = p.foam,
|
||||
cyan = p.foam,
|
||||
green = p.muted,
|
||||
magenta = p.iris,
|
||||
orange = p.rose,
|
||||
red = p.love,
|
||||
yellow = p.gold,
|
||||
}
|
||||
20
lua/rose-pine/plugins/galaxyline.lua
Normal file
20
lua/rose-pine/plugins/galaxyline.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
--- Rosé Pine for galaxyline fork
|
||||
--- https://github.com/NTBBloodbath/galaxyline.nvim
|
||||
---
|
||||
--- @usage
|
||||
--- local highlights = require('rose-pine.plugins.galaxyline')
|
||||
|
||||
local p = require('rose-pine.palette')
|
||||
|
||||
return {
|
||||
bg = p.surface,
|
||||
fg = p.text,
|
||||
fg_alt = p.subtle,
|
||||
yellow = p.gold,
|
||||
cyan = p.rose,
|
||||
green = p.pine,
|
||||
orange = p.muted,
|
||||
magenta = p.iris,
|
||||
blue = p.foam,
|
||||
red = p.love,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue