Title: Equinor Design Direction
Author: Victor Nystad <[email protected]>
Status: Draft
Date: Jan 29 2025
Title: EDS Q1 Status Rapport
Author: Victor Nystad <[email protected]>
Status: Draft
Date: Jan 29 2025
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
/** | |
* Easing functions | |
* | |
* https://gist.github.com/gre/1650294 | |
* http://easings.net | |
*/ | |
// no easing, no acceleration | |
export function easeLinear(t){ return t } | |
// accelerating from zero velocity | |
export function easeInQuad(t){ return t*t } |
For precision programmatic animation!
Translated from the JavaScript in Sean Yen’s Easing equations
Illustrations adapted from Andrey Sitnik and Ivan Solovev’s Easings.net
Example usage:
duration = 30
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
Name | Has hover | Has active hover | Note | |
---|---|---|---|---|
App launcher | X | – | ❗️All items are active – should be neutral | |
Breadcrumbs | X | X | ❗️Missing active | |
Drawer | X | X | Needs active-hover and active-pressed | |
Sidebar | X | X | Removing pressed in the tokens | |
Link | X | – |