# elr-scss-modal-alerts

> a scss mixin for modal style alerts

Latest version **0.0.3** (published 2021-11-14) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

## Install

```sh
npm install elr-scss-modal-alerts
pnpm add elr-scss-modal-alerts
yarn add elr-scss-modal-alerts
bun add elr-scss-modal-alerts
```

## 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.3 |
| Published | 2021-11-14 |
| First published | 2021-11-04 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 23.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Elizabeth Rogers |
| Maintainers | beth_rogers465 |
| Keywords | sass, css, mixins, modal-alerts |

## Links

- npm: https://www.npmjs.com/package/elr-scss-modal-alerts
- Repository: https://github.com/Beth3346/elr-scss-modal-alerts
- Homepage: http://www.elizabeth-rogers.com/elr-utilities/css.html
- Issues: https://github.com/Beth3346/elr-scss-modal-alerts
- npm.io page: https://npm.io/package/elr-scss-modal-alerts

## Dependencies (3)

- [elr-scss-reset](https://npm.io/package/elr-scss-reset.md) ^0.0.6
- [elr-scss-helpers](https://npm.io/package/elr-scss-helpers.md) ^0.0.11
- [elr-scss-functions](https://npm.io/package/elr-scss-functions.md) 1.1.6

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [post-robot](https://npm.io/package/post-robot.md) — 93.7K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2021-11-14
- 0.0.2 — 2021-11-13
- 0.0.1 — 2021-11-04

## README

# elr-scss-modal-alerts

[![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-modal-alerts.svg?style=flat)](https://npmjs.com/package/elr-scss-modal-alerts)

a library of sass mixins

## Installation

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

```sh
npm install elr-scss-modal-alerts --save
yarn add elr-scss-modal-alerts
```

This package contains styles only. It's up to you to wire up the JavaScript. This allows these styles to be used with any JavaScript framework. Or no framework at all!

## Documentation

```scss
.dialog-blackout {
  @include elr-dialog;
}

.modal-alert {
  @include elr-modal-alert;
}
```

```html
<dialog role="alert" class="dialog-blackout">
  <div class="modal-alert">
    <header class="elr-modal-alert-header">
      <span class="elr-modal-alert-icon">
        <i class="fa fa-exclamation-circle" aria-hidden="true"></i>
      </span>
      <h2 class="elr-modal-alert-heading">This Is an Alert!</h2>
    </header>
    <div class="elr-modal-alert-content">
      <p>
        Are you sure you want to continue? This will delete all of your data and
        your account.
      </p>
    </div>
    <footer class="elr-modal-alert-footer">
      <menu>
        <button class="elr-button">Confirm</button>
        <button class="elr-button elr-button-ghost">Cancel</button>
      </menu>
    </footer>
  </div>
</dialog>
```

## License

SEE LICENSE IN LICENSE.md

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