A collection of utility functions for Master CSS.
pnpm add -D @alanlu-dev/mastercss-helpers
-
cls
- 一個函數,它接受"strings"數組和"tokens"作為參數並返回一個字符串。import { cls } from '@alanlu-dev/mastercss-helpers'
-
group
- 根據提供的配置生成 CSS 組字符串。import { group } from '@alanlu-dev/mastercss-helpers'
-
toLine
- Generates a line of styles based on the given object and options.import { toLine } from '@alanlu-dev/mastercss-helpers'