refactor!: move galaxyline theme to rose-pine.plugins.galaxyline

This commit is contained in:
mvllow 2022-06-16 00:39:24 -04:00
commit c3762c935e
2 changed files with 20 additions and 19 deletions

View file

@ -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,
}

View 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,
}