An open API service indexing awesome lists of open source software.

https://github.com/mikker/btn

A base button class for use with Tachyons
https://github.com/mikker/btn

css tachyons

Last synced: 3 months ago
JSON representation

A base button class for use with Tachyons

Awesome Lists containing this project

README

          

# @mikker/btn

**[DEMO and usage](https://mikker.github.io/btn/demo/)**

A `.btn` class for use with [Tachyons](http://tachyons.io).

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.

```html

```

Or add it directly to your project:

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

Then using postcss or however you'd like

```css
@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