@alanlu-dev/mastercss-helpers
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

@alanlu-dev/mastercss-helpers

Version Downloads License

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'

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @alanlu-dev/mastercss-helpers

    Weekly Downloads

    2

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    10.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • u0124024