-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rotating lines strokeColor property to accept other inputs other than string #175
Comments
jcjp
changed the title
Color property to accept other inputs other than string
Rotating lines May 9, 2024
strokeColor
property to accept other inputs other than string
jcjp
changed the title
Rotating lines
Rotating lines strokeColor property to accept other inputs other than string
May 9, 2024
strokeColor
property to accept other inputs other than string
You can simply pass it as a string: |
Tried that but it didn't worked still used the default color. |
You can get the CSS variable value with JS and pass the string to the component's property.
|
Ohh this could work, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently
color
property only acceptsstring
would it be possible to pass it avar(--custom-color)
orbrand-dark
The text was updated successfully, but these errors were encountered: