Bindable color #1389
adosikas
started this conversation in
Ideas / Feature Requests
Bindable color
#1389
Replies: 1 comment
-
You're right, @adosikas. That would be a nice feature. When the color value changes, e.g., from a CSS color to a Tailwind color, we would need to make sure to remove the CSS property before setting the Tailwind class. But it should be possible. Would anyone like to create a pull request for this? See CONTRIBUTING.md for more information. 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
It would be nice if
BackgroundColorElement
andTextColorElement
exposed the color as bindable property, so it can be used directly to bind to color inputs etc.Good example are actually the examples for color picker and color input, which have to resort to
style()
.Beta Was this translation helpful? Give feedback.
All reactions