# dx-styles compiles CSS-in-TS into static CSS

Canonical source : [dx-styles compiles CSS-in-TS into static CSS](<https://sebastien.rigaux.be/en/tech-watch/links/dx-styles-compiles-css-in-ts-into-static-css>)

dx-styles turns TypeScript calls into deterministic classes and CSS files generated at build time. The runtime selects precompiled classes without injecting styles or adding a provider, providing a foundation for sharing recipes and themes across applications.

Tokens and variants remain typed; extraction can also generate RTL rules and flag physical properties that need attention. For dynamic values, `assignVars()` applies CSS variables without generating new rules.

- Selected on : 2026-11-15

- Entry updated : 2026-11-14T23:20:05+0000

- Format : Tool

- Source language : EN

- Found via : [This week in React](<https://thisweekinreact.com/>)

Original resource : [dx-styles compiles CSS-in-TS into static CSS](<https://dx-styles.dev/>)

Tags : [Design Systems](<https://sebastien.rigaux.be/en/tech-watch/tags/design-systems>) · [Design tokens](<https://sebastien.rigaux.be/en/tech-watch/tags/design-tokens>) · [TypeScript](<https://sebastien.rigaux.be/en/tech-watch/tags/typescript>) · [Developer Experience](<https://sebastien.rigaux.be/en/tech-watch/tags/developer-experience>)

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/dx-styles-compile-le-css-in-ts-en-css-statique>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/dx-styles-compiles-css-in-ts-into-static-css>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
