{"repo":"margarita-form/salty-css","free":true,"listed":false,"github":"https://github.com/margarita-form/salty-css","clone":"git clone https://github.com/margarita-form/salty-css.git","description":"CSS-in-JS library for Next.js, Server Components and Astro","language":"TypeScript","stars":13,"topics":["css","css-in-js","nextjs","react-css","react-server","styled-components","astro"],"license":"MIT","category":"docs-static-sites","readme_excerpt":"Salty CSS — CSS-in-JS that compiles away Salty CSS is a build-time, type-safe CSS-in-JS library. You author styles in .css.ts files; the compiler emits real CSS, your runtime ships zero styling logic. Get started · API index · Docs · Discord · GitHub · NPM Features - Build-time compilation — no runtime style injection, no FOUC, no client bundle cost. - Framework support — Next.js (App + Pages, React Server Components, Webpack & Turbopack), React + Vite, React + Webpack, Astro. - Type safety — TypeScript-first authoring, generated token types, an ESLint plugin. - Design tokens & theming — static, responsive (media-bound), and conditional (data-attribute / class-bound) variables in one place. - Templates — reusable style bundles with their own variants. - Modifiers — custom value transformers ( 'space:3' → '12px' ) defined in config. - Variants, compound variants, anyOf variants, default variants out of the box. Get started init detects your framework, installs the right packages, creates salty.config.ts , and wires the bundler plugin. Per-framework setup: - Next.js → salty-css.dev/docs/installation — withSaltyCss(nextConfig) in next.config.ts . Auto-detects Webpack vs Turbopack; React Server Components supported. - React + Vite → salty-css.dev/docs/installation — saltyPlugin( dirname) in vite.config.ts . - Astro → salty-css.dev/docs/installation — saltyIntegration() in astro.config.mjs . React + Webpack (without Next.js) is also supported via @salty-css/webpack . CLI Command A","default_branch":null,"files":null,"tree":[],"storefront":"/r/margarita-form","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/margarita-form/salty-css/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}