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

https://github.com/oddbird/accoutrement-animate

tools for managing animations and transitions
https://github.com/oddbird/accoutrement-animate

Last synced: about 1 year ago
JSON representation

tools for managing animations and transitions

Awesome Lists containing this project

README

          

Accoutrement-Animate
====================

**Sass animation/transition management by [OddBird][oddbird]…**

- Organize all your timing, easing, and transitions into maps
- Document relationships directly in the code

[oddbird]: http://oddbird.net/

OddBird's Accoutrement toolkits are designed around the idea
that code should be meaningful to both humans and machines –
opening the door for automation,
while improving or maintaining readability.
These tools integrate with [Herman][Herman],
our automated living pattern-library generator
built on [SassDoc][SassDoc].

[Herman]: http://oddbird.net/herman/
[SassDoc]: http://sassdoc.com/

**Other Accoutrement include…**

- [Color](http://oddbird.net/accoutrement-color/)
provides color-palette management and contrast-ratio utilities.
- [Init](http://oddbird.net/accoutrement-init/)
provides lightweight browser-normalization.
- [Scale](http://oddbird.net/accoutrement-scale/)
helps manage scale patterns like font-sizes, margins, and gutters.
- [Type](http://oddbird.net/accoutrement-type/)
provides webfont management tools,
and other typography helpers.
- [Layout](http://oddbird.net/accoutrement-layout/)
provides layout utilities such as
box-sizing, intrinsic ratios, z-index management,
named media-queries, and a clearfix.

Quick Start: Animation
----------------------

Install the package with npm or yarn:

```bash
npm install accoutrement-animate
yarn add accoutrement-animate
```

Import the library:

```scss
@import '/accoutrement-animate/sass/animate';
```

Establish your timing and easing palettes:

```scss
$times: (
'fast': 150ms,
'medium': 'fast' ('times': 2),
);
```

Access your timing & easing from anywhere:

```scss
.example {
transition-duration: time('fast');
}
```