Leviathan
Leviathan2w ago

How to customize Color presets for a button component

The info icon seems to imply you can customize the color presets but I can't find anywhere in the documentation that says how to edit them
No description
6 Replies
rubenf
rubenf3d ago
you can use global and inline style to customize color
Leviathan
LeviathanOP3d ago
I'm trying to setup 3 different variants of the button component in my theme. So I'm guessing you can't actually change the drop down options themselves? What's the easiest way for users of my theme to choose different button variants? A dynamic class?
Leviathan
LeviathanOP3d ago
No description
Leviathan
LeviathanOP2d ago
@rubenf To clarify, I'm trying to make the user experience for a developer using my company styling theme in windmill as frictionless as possible. We have multiple variants for many of the components in Windmill, like those 3 buttons, and another example would be Alerts where we have success, failure, warning, etc. Do you have advice on the best practice for how I might set this up? It would be great if we could override options in the configuration panel like here: Instead of, say, asking the user to copy a styling class that I made into their dynamic styling options
No description
rubenf
rubenf2d ago
👍 yes, we will look into it before end of week.
Leviathan
LeviathanOP2d ago
Great, thanks

Did you find this page helpful?