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
From the readme, it looks like the colorscheme currently selected when the plugin loads will impact the setting on green, and any subsequent call to, e.g. vim.cmd("colorscheme onelight"), would not change this. Or am I reading this wrong?
Somehow, Cappuccin implements this a bit differently, allowing the user to pass a function for defining highlights (or colors for this matter), in which the input argument is the currently selected palette. This creates an opportunity for the user to dynamically change the colors appropriately as other colorschemes are selected. I'd like to achieve the same effect here w/o having to define all possible colorscheme variants at setup() time. How to best achieve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This theme has the ability to have its colours fine-tuned during setup:
I wonder what happens if the declaration would be as such:
From the readme, it looks like the colorscheme currently selected when the plugin loads will impact the setting on
green
, and any subsequent call to, e.g.vim.cmd("colorscheme onelight")
, would not change this. Or am I reading this wrong?Somehow, Cappuccin implements this a bit differently, allowing the user to pass a function for defining highlights (or colors for this matter), in which the input argument is the currently selected palette. This creates an opportunity for the user to dynamically change the colors appropriately as other colorschemes are selected. I'd like to achieve the same effect here w/o having to define all possible colorscheme variants at
setup()
time. How to best achieve this?Beta Was this translation helpful? Give feedback.
All reactions