# sass-pattern

> A list of mixins to ease you from of the pain of repeating same code, and help you focusing on styling.

Latest version **0.1.10** (published 2015-06-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install sass-pattern
pnpm add sass-pattern
yarn add sass-pattern
bun add sass-pattern
```

## 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.1.10 |
| Published | 2015-06-18 |
| First published | 2015-06-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | NdYAG |
| Maintainers | ndyag |
| Keywords | scss, mixins |

## Links

- npm: https://www.npmjs.com/package/sass-pattern
- Repository: https://github.com/NdYAG/sass-pattern
- Homepage: https://github.com/NdYAG/sass-pattern#readme
- Issues: https://github.com/NdYAG/sass-pattern/issues
- npm.io page: https://npm.io/package/sass-pattern

## Recent versions

- 0.1.10 (latest) — 2015-06-18

## README

sass-pattern

A list of mixins to ease you from of the pain of repeating same code, and help you focusing on styling.

Create a button:

```scss
.button-primary {
    @include Button {
        border: 1px solid #ccc;
        background: #fff;
        padding: 1rem;
        font-size: 1.5rem;
    };
}
```

Reset style:

```scss
@include Reset {
    body {
        @include SansSerif;
        @include Smoothing;
    }
    a {
        text-decoration: none;
    }
};
```

Create a Media Object:

```scss
.status {
    @include Media(
        $left: '.status-avatar',
        $right: '.status-content',
        $gutter: '20px'
    );
}
```

More examples:

* [in English](https://github.com/NdYAG/sass-pattern/wiki/Documentation)
* [中文版](https://github.com/NdYAG/sass-pattern/wiki/%E6%96%87%E6%A1%A3)

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