Vanilla Extract
Use Vanilla Extract for type-safe static CSS in Format Studio documents.
Supported frameworks
| Framework | Supported |
|---|---|
| React | |
| Vue | |
| HTML |
Installation
Install the Vanilla Extract package.
npm install @vanilla-extract/css --save-devpnpm add @vanilla-extract/css --save-devyarn add @vanilla-extract/css --devbun add @vanilla-extract/css --devUsage
documents
invoice
styles.css.ts
index.tsx
import { style } from '@vanilla-extract/css'
export const peach = style({
background: 'peachpuff'
})Was this page helpful?