styled-tidy
TypeScript icon, indicating that this package has built-in type declarations

1.7.3 • Public • Published

styled-tidy

Tidy is a lightweight set of utilities for writing clean styled-components syntax.

CircleCI Codecov

Installation

Add the dependency:

yarn add styled-tidy

And then in your component(s):

// grab the helpers you want
import { is, swap, rem, minWidth } from 'styled-tidy';

Usage


Contributing

styled-tidy follows semantic release versioning with Commitizen.

Committing

Install commitizen globally, if you have not already.

npm install -g commitizen

When you are ready to commit your changes…

git add .
git cz

Then, follow the CLI wizard.

Note: Choosing 'feat' or adding 'BREAKING CHANGE' in the commit will result in a major version bump during the release.

Testing

nvm use
yarn
yarn test

Additional Commands

Keep things tidy ;)

yarn lint

Test that your changes compile

yarn build

License

MIT

Package Sidebar

Install

npm i styled-tidy

Weekly Downloads

1

Version

1.7.3

License

MIT

Unpacked Size

68.2 kB

Total Files

4

Last publish

Collaborators

  • dw2