1.0.0 • Published 4 years ago

@miraidesigns/fx v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

FX

A collection of variables and mixins to create various effects and transitions for our elements.


Sass

@use '@miraidesigns/fx';

Animation

Apply transitions and animations in a consistent manner.

.#{base.$prefix}-class--animate {
    @include fx.animation-standard(transform, 200ms);
}

Elevation

Elevate your elements and set them apart on various layers.

.#{base.$prefix}-class--elevate {
    @include fx.elevation(2);

    // Also works well in combination with our layer system.
    @include fx.elevation(base.layer('dialog'));
}