For questions about the vanilla-extract CSS library, vanilla-extract.style
vanilla-extract is a “CSS Modules-in-TypeScript” but with scoped CSS Variables and heaps more.
Features
Type-safe static CSS: All styles generated at build time — just like Sass, LESS, etc, but with the power of TypeScript.
First-class theming: Create a single global theme or create multiple themes, all with type-safe token contracts.
Framework agnostic: Official integrations are provided for webpack, esbuild, Vite, Snowpack and Next.js.
Built for extension: Use libraries like Sprinkles, Recipes and Dessert Box — or create your own!
Installation
npm install @vanilla-extract/css