# elr-scss-buttons

> a scss mixin for buttons

Latest version **0.0.12** (published 2021-12-13) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

## Install

```sh
npm install elr-scss-buttons
pnpm add elr-scss-buttons
yarn add elr-scss-buttons
bun add elr-scss-buttons
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.12 |
| Published | 2021-12-13 |
| First published | 2019-02-08 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=14.0.0 |
| Dependencies | 2 |
| Unpacked size | 24.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Elizabeth Rogers |
| Maintainers | beth_rogers465 |
| Keywords | sass, css, mixins, button |

## Links

- npm: https://www.npmjs.com/package/elr-scss-buttons
- Repository: https://github.com/Beth3346/elr-scss-buttons
- Homepage: https://elr-scss-buttons.netlify.app/
- Issues: https://github.com/Beth3346/elr-scss-buttons/issues
- npm.io page: https://npm.io/package/elr-scss-buttons

## Dependencies (2)

- [elr-scss-config](https://npm.io/package/elr-scss-config.md) ^1.1.2
- [elr-scss-functions](https://npm.io/package/elr-scss-functions.md) 1.1.6

## Recent versions

- 0.0.12 (latest) — 2021-12-13
- 0.0.11 — 2021-12-04
- 0.0.10 — 2021-11-14
- 0.0.9 — 2021-11-13
- 0.0.8 — 2021-11-02
- 0.0.7 — 2021-10-30
- 0.0.6 — 2020-11-29
- 0.0.5 — 2020-11-28
- 0.0.4 — 2019-03-10
- 0.0.3 — 2019-02-28
- 0.0.2 — 2019-02-28
- 0.0.1 — 2019-02-08

## README

# Buttons

[![npm version](http://img.shields.io/npm/v/elr-scss-buttons.svg)](https://www.npmjs.org/package/elr-scss-buttons)
[![CI](https://github.com/Beth3346/elr-scss-buttons/actions/workflows/node.js.yml/badge.svg)](https://github.com/Beth3346/elr-scss-buttons/actions/workflows/node.js.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![npm](https://img.shields.io/npm/dm/elr-scss-buttons.svg?style=flat)](https://npmjs.com/package/elr-scss-buttons)
[![last commit](https://img.shields.io/github/last-commit/Beth3346/elr-scss-buttons.svg)](https://github.com/Beth3346/elr-scss-buttons)
[![Netlify Status](https://api.netlify.com/api/v1/badges/580bb90b-17bc-453e-94b4-bce48a1622bf/deploy-status)](https://app.netlify.com/sites/elr-scss-buttons/deploys)

some scss mixins for buttons

[View Demo](https://elr-scss-buttons.netlify.app/)

## Installation

Download node at [nodejs.org](http://nodejs.org) and install it, if you haven't already.

```sh
npm install elr-scss-buttons
```

or

```sh
yarn add elr-scss-buttons
```

## Implementation

### Scss

```scss
.button {
  margin: 8px;
  @include elr-button;
  @include elr-button-context;
  @include elr-button-branded;
}
```

```scss
.button-raised {
  @include elr-button-raised;
}
```

```scss
.button-gradient {
  @include elr-button-gradient;
}
```

```scss
.button-glass {
  @include elr-button-glass;
}
```

```scss
.button-invert {
  @include elr-button(
    $config: (
      background-color: $primary-color,
      hover-color: #76d219,
      border-radius: 0,
    )
  );
  margin: 8px;
}
```

```scss
.button-group {
  @include elr-button-group;
}
```

```scss
.button-icon {
  @include elr-icon-button;
  margin: 8px;
}
```

```scss
.button-icon-round {
  @include elr-icon-button(
    $config: (
      round: true,
    )
  );
  margin: 8px;
}
```

### HTML

```html
<button class="button">Button</button>
```

```html
<button class="button button-pill">Button</button>
```

```html
<button class="button-invert">Button</button>
```

```html
<button class="button button-ghost">Button</button>
```

```html
<button class="button button-ghost button-pill">Button</button>
```

```html
<button class="button button-raised">Button</button>
```

```html
<button class="button button-gradient">Button</button>
```

```html
<button class="button button-glass">Button</button>
```

SEE LICENSE IN LICENSE.md

---
_Source: https://npm.io/package/elr-scss-buttons · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
