@alanlu-dev/mastercss-helpers
v1.0.12
Published
A collection of utility functions for Master CSS.
Downloads
23
Readme
@alanlu-dev/mastercss-helpers
A collection of utility functions for Master CSS.
Installation
pnpm add -D @alanlu-dev/mastercss-helpers
Usage
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'