Skip to content
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

Add postcss-styled-syntax syntax #1808

Merged
merged 2 commits into from Jan 4, 2023
Merged

Conversation

hudochenkov
Copy link
Contributor

I've been working on @stylelint/postcss-css-in-js replacement for styled-components for a long time. It was very out of comfort zone project. I'm glad I finished. It was interesting to learn how PostCSS parses and stringifies.

This PR adds it to the list of known syntaxes. It has no downloads yet, because I just released it. But it has a lot of tests and I tested it on my work projects, which has a lot of different syntax.

Thank you for all your hard work on PostCSS, it is really hard and complex work!


Additionally I noticed that two syntaxes need updated repo URL. So I fixed it.

@ai ai merged commit 43bd2df into postcss:main Jan 4, 2023
@ai
Copy link
Member

ai commented Jan 4, 2023

Nice. I will write a tweet about it in @postcss

What features I should mention?

@hudochenkov
Copy link
Contributor Author

I'm going to post a tweet myself tomorrow :) Do you want to retweet or post your own?

If you going to post your own, then these are worth mention:

Supports full spectrum of styled-components syntax: interpolations in any places, deeply nested interpolations. Supports TypeScript. Perfect for Stylelint.

@hudochenkov hudochenkov deleted the update-syntaxes branch January 4, 2023 23:48
@ai
Copy link
Member

ai commented Jan 4, 2023

I will retweet you and post my tweet on next day

@hudochenkov
Copy link
Contributor Author

I posted announcement https://twitter.com/xwoody/status/1610986227544596480

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants