btn

A base button class for use with Tachyons

v1.0.0

DEMO and usage

@mikker/btn

DEMO and usage

A .btn class for use with Tachyons.

Even though Tachyons' strictly functional style is great I always find myself re-adding some kind of base button to every project. This is it.

Usage

Put this in your html before you include Tachyons.

<link rel='stylesheet' href='https://unpkg.com/@mikker/btn@latest/css/btn.css' />

Or add it directly to your project:

npm install @mikker/btn
# or
yarn add @mikker/btn

Then using postcss or however you'd like

@import '~tachyons';

@import '~btn';
/* or if you want to customize variables */
@import '~btn/src/btn';

NB: Be sure to include btn.css before `tachyons.css.

License

MIT

Built with Compositor.io