Skip to content

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

Notifications You must be signed in to change notification settings

dw2/styled-tidy

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published