サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
パリ五輪
vanilla-extract.style
import { createTheme, style } from '@vanilla-extract/css'; export const [themeClass, vars] = createTheme({ color: { brand: 'blue', white: '#fff' }, space: { small: '4px', medium: '8px', } }); export const hero = style({ backgroundColor: vars.color.brandd, color: vars.color.white, padding: vars.space.large });
このページを最初にブックマークしてみませんか?
『vanilla-extract — Zero-runtime Stylesheets-in-TypeScript.』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く