@mikker/btn

1.1.1 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @mikker/btn

Weekly Downloads

17

Version

1.1.1

License

MIT

Unpacked Size

8.73 kB

Total Files

6

Last publish

Collaborators

  • mikker