The styling system for the modern web * 🌐₊˚

StyleX retweeted
Slicky carousel(s), bi-directional&infinite, Utopia Fluid CSS, @stylexjs styles, typographic baseline, mobile&desktop, touch/mouse/keyboard navigation… They said, “Do one thing well”. I did two (it’s a calendar mixed with notes). Local-first, E2E encrypted, open source, easy to use, and no vendor lock-in. Soon ✨
2
2
13
2,062
StyleX retweeted
Not too long ago, we released @stylexjs v0.5.0! This is a pretty big release so let me mention some of the highlights. 🧵
3
4
33
5,869
StyleX retweeted
Please file issues with bug reports and enhancement requests. Or just sound off in the GitHub discussions. We have a growing community of amazing people! Thanks for all the love and attention you’ve given to @stylexjs. There’s a lot more to come! github.com/facebook/stylex
2
1
2
802
StyleX retweeted
🧩 New Ecosystem page! But wait! There’s one more thing!™️ We’ve created a new “Ecosystem” page to catalog various tools that can be used *alongside” StyleX. ✅ VS Code plugin ✅ Vite Plugin ✅ “I just want Tailwind” plugin! … and more stylexjs.com/docs/learn/ecos…
2
1
7
854
StyleX retweeted
🐛 Many bug fixes! Many small and large bugs have been fixed Read about all the new changes in the full release notes at the link below: stylexjs.com/blog/v0.5.0/
1
1
2
587
StyleX retweeted
ESM support! The @stylexjs runtime is now available as an ESM export, too!
1
1
4
569
StyleX retweeted
📦 Esbuild plugin! We’ve released a first party StyleX plugin for Esbuild. (Thanks Julius!)
1
1
7
600
StyleX retweeted
♊️ Configure “aliases”! Once configured those “@/*” imports will now work for importing stylex variables! (Thanks @rohitistweet!)
1
2
6
640
StyleX retweeted
🔀 A new “sort-keys” ESLint rule Sort your styles alphabetically but keep ensure “default” styles come before media queries. (Thanks Julius!)
2
1
6
635
StyleX retweeted
🥳 New `stylex.attrs` function! Think of this as `stylex.props` for non-React frameworks. It sets “class” instead of “className” and works great in Svelte!
1
1
3
668
Hot off the presses. Version 0.5.0!
Not too long ago, we released @stylexjs v0.5.0! This is a pretty big release so let me mention some of the highlights. 🧵
1
16
1,426
StyleX retweeted
A lot of devs conflate Cascade and Inheritance in CSS. @necolas wrote an explanation for what each of those terms mean. @stylexjs removes the need to deal with the Cascade directly. It does not remove style inheritance. This is probably what you want. nicolasgallagher.com/css-cas…
4
9
849
StyleX is designed to be cached. Anything that might break that will live separately.
Not with Stylex itself. It would be trivial when using Bun macros. I’m planning on porting Bun macros to Babel soon.
6
1,329
StyleX retweeted
I'm so happy @stylexjs was released before I released one super cute Evolu App I'm working on. I had to rewrite all styles from Tailwind to StyleX, but it was worth it 💯 Believe it or not, my styles are more concise and readable now. Why? Because of composition done well.
1
1
8
1,708
O shit @stylexjs is live! It's my favorite way to do CSS-in-JS without doing CSS-in-JS. stylexjs.com/
2
4
1,034
Thanks for us trying out @leeerob. We are learning from your pain points and addressing them.
17
1,954
🥂🍻💜 ✌️UnoCSS (@antfu7) 🦜@tamagui_js 🐼@panda__css 🍃NativeWind (and @tailwindcss) 🧁Vanilla Extract (@markdalgleish)
8
1,220
😍🤩🥳 Thank You!
2
7
124
21,237
A release before we wrap up the year with lots of small fixes and improvements. Biggest things in the new year. stylexjs.com/blog/v0.4.1/
3
31
3,835