Skip to content

Support standard CSS syntax? #721

Answered by roginfarrer
mlenser asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think the string syntax aligns with the goals of this project. You miss out on the typescript types, and adding parsing for the string syntax would likely add a lot of complexity to the project.

That said, You could probably write a function that takes the CSS string syntax, parses it into the object syntax, then forwards that to style. I imagine this likely already exists somewhere in other projects.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wakaztahir
Comment options

Answer selected by mlenser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #718 on June 06, 2022 23:15.