Is It Possible to Use Gradients in Theme Backgrounds #3512
Unanswered
jerryseigle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve been using Tamagui’s theme system with both light and dark modes, and I love the flexibility it gives us for customizing colors.
One thing I’d like to ask:
Is there a way to define gradient backgrounds directly in the theme? For example, instead of setting a solid background color in the light and dark themes, I’d like to define a gradient background (e.g. linear or radial) for each theme.
Is this currently supported, or is there a recommended way to handle gradient backgrounds using the theme system?
And and below we can have a gradient background
Beta Was this translation helpful? Give feedback.
All reactions