Skip to content

Add postcss-styled-syntax syntax#1808

Merged
ai merged 2 commits intopostcss:mainfrom
hudochenkov:update-syntaxes
Jan 4, 2023
Merged

Add postcss-styled-syntax syntax#1808
ai merged 2 commits intopostcss:mainfrom
hudochenkov:update-syntaxes

Conversation

@hudochenkov
Copy link
Copy Markdown
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
Copy Markdown
Member

ai commented Jan 4, 2023

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

What features I should mention?

@hudochenkov
Copy link
Copy Markdown
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
Copy Markdown
Member

ai commented Jan 4, 2023

I will retweet you and post my tweet on next day

@hudochenkov
Copy link
Copy Markdown
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.

2 participants