-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
63 additions
and
11 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
@forward 'accoutrement/sass/tools' with ( | ||
$size-var-prefix: '', | ||
$ratio-var-prefix: '', | ||
$color-var-prefix: '', | ||
$easing-var-prefix: '', | ||
$ratio-var-prefix: '', | ||
$size-var-prefix: '', | ||
$time-var-prefix: '' | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$grow-in: cubic-bezier(0.175, 0.885, 0.32, 1.275); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@use 'sassdoc-theme-herman/scss/utilities' as herman; | ||
@use '../tools'; | ||
@use 'easing'; | ||
@use 'times'; | ||
@use 'sass:meta'; | ||
@forward 'easing'; | ||
@forward 'times'; | ||
|
||
/// # Animation Config | ||
/// Accoutrement maps for storing global animation tokens. | ||
/// @link https://www.oddbird.net/accoutrement/docs/animate.html | ||
/// Accoutrement Animate | ||
/// @group animation | ||
|
||
/// ## Easing | ||
/// --------- | ||
/// Named easings that can be re-used to create consistent movement. | ||
/// @group animation | ||
/// @example scss | ||
/// @use 'config/animation/easing'; | ||
/// @use 'config/tools'; | ||
/// @use 'sass:meta'; | ||
/// | ||
/// @each $name, $easing in tools.compile-easing(meta.module-variables('easing')) { | ||
/// /* #{$name}: #{$easing}; */ | ||
/// } | ||
|
||
/// ## Times | ||
/// --------- | ||
/// Named times that can be re-used to create consistent motion timing. | ||
/// @group animation | ||
/// @example scss | ||
/// @use 'config/animation/times'; | ||
/// @use 'config/tools'; | ||
/// @use 'sass:meta'; | ||
/// | ||
/// @each $name, $time in tools.compile-times(meta.module-variables('times')) { | ||
/// /* #{$name}: #{$time}; */ | ||
/// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
$fast: 300ms; | ||
$slow: 1000ms; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Animation Patterns | ||
// ------------------ | ||
/// @group animation | ||
@keyframes grow-in { | ||
0% { | ||
transform: scale(0); | ||
} | ||
|
||
25% { | ||
transform: scale(1); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters