@tempera/css-types

0.2.0 • Public • Published

css-types

Utilities to categorize your CSS.

Installation

yarn add @tempera/css-types

Usage

const {
  // Example: matchers.SPACING
  // Contains a list of regex matchers to help match common types in CSS
  matchers,
  // example: getMatcher(postcssProperty)
  // Returns a regex matcher fitting for the provided property
  getMatcher,
  // Example: types.SPACING
  // Contains a list of common types in CSS
  types,
  // Example: getType(postcssProperty)
  // Returns a common type fitting for the provided property
  getType,
} = require("@tempera/css-types");

View the source

Readme

Keywords

Package Sidebar

Install

npm i @tempera/css-types

Weekly Downloads

14

Version

0.2.0

License

MIT

Unpacked Size

4.11 kB

Total Files

8

Last publish

Collaborators

  • mike1765