💄 Added basic animation variables
This commit is contained in:
parent
6695f11e84
commit
125bf37f2d
|
@ -49,9 +49,9 @@ blockquote > q {
|
|||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
text-decoration-skip-ink: auto;
|
||||
transition-duration: 200ms;
|
||||
transition-duration: var(--speed-medium);
|
||||
transition-property: text-decoration-color;
|
||||
transition-timing-function: cubic-bezier(0.17, 0.84, 0.44, 1);
|
||||
transition-timing-function: var(--easing-standard);
|
||||
}
|
||||
|
||||
:any-link:hover {
|
||||
|
|
|
@ -50,6 +50,15 @@
|
|||
--l-95: 95%;
|
||||
--l-100: 100%;
|
||||
|
||||
--speed-small: 100ms;
|
||||
--speed-medium: 200ms;
|
||||
--speed-large: 300ms;
|
||||
|
||||
--easing-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
|
||||
/* TODO(toby3d): --easing-emphasized */
|
||||
--easing-decelerated: cubic-bezier(0.0, 0.0, 0.2, 1);
|
||||
--easing-accelerated: cubic-bezier(0.4, 0.0, 1, 1);
|
||||
|
||||
/* NOTE(toby3d): Colors */
|
||||
--background-color: hsl(0, 0%, var(--l-100));
|
||||
--color: hsl(0, 0%, var(--l-0));
|
||||
|
|
Loading…
Reference in New Issue