You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some Neovim colorscheme plugins provide a way to require and use the currently used theme colors for use with other plugins. For example, a helper in onedarkpro.nvim theme.
Is there an API that I'm overlooking in the docs that allows me to do this?
The closest thing I can find is require("github-theme.palette") mentioned in the Color lib section of the READ.me. However, this will provide all palette styles or a specified one.
Some Neovim colorscheme plugins provide a way to require and use the currently used theme colors for use with other plugins. For example, a helper in
onedarkpro.nvim
theme.Is there an API that I'm overlooking in the docs that allows me to do this?
The closest thing I can find is
require("github-theme.palette")
mentioned in the Color lib section of theREAD.me
. However, this will provide all palette styles or a specified one.I want to be able to create a lualine theme by using the current theme's palette.
Below is an example using
olimorris/onedarkpro.nvim
to create a new lualine theme located inlua/lualine/theme/theme_name.lua
.The text was updated successfully, but these errors were encountered: