Skip to main content

hello community 🙂

our design system works with dark light mode variables which works perfectly except for the buttons which have a gradient.

Any ideas on how I create this style working with dark/light mode?


buttons


The button should be able to resize with different text lengths (working with auto layout).


Any idea appreciated 🙂

Hi @Lotta


AS of today, color variable doesnโ€™t handle gradient. But someone as figured a way of doing it. You can find the post and the example file over there :


great, thank you I will work through this! 🙂


Reply