-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
feat(transformer): allow inline CSS styling #1551
Conversation
We can default to inline to false I think we can do something similar to scss for components |
Sure thing.
I assume in a separate PR? Or shall I include it in this one? |
oh i meant we should support scss given that we use scss |
I see. This is for transformers though. It is meant for injecting into the resulting page. We don't support TypeScript for inlined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. cc Jacky on this
feel free to merge this whenever you are ready. cc @jackyzha0 so that he knows about this |
Closes #1527
Adds support to pass inline CSS as well as URLs to transformers. This is in line with current JavaScript resource inclusion in transformers.
For example, the following makes the
body
all green: