-
Notifications
You must be signed in to change notification settings - Fork 43
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
1 parent
fab6044
commit c3a1f0f
Showing
5 changed files
with
89 additions
and
4 deletions.
There are no files selected for viewing
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,5 @@ | ||
--- | ||
'@primer/primitives': minor | ||
--- | ||
|
||
Adding motion tokens |
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,26 @@ | ||
{ | ||
base: { | ||
easing: { | ||
linear: { | ||
$value: [0, 0, 1, 1], | ||
$type: 'cubicBezier', | ||
$description: 'Ideal for non-movement properties, like opacity or background color.', | ||
}, | ||
easeIn: { | ||
$value: [0.7, 0.1, 0.75, 0.9], | ||
$type: 'cubicBezier', | ||
$description: 'Ideal for movement that starts on the page and ends off the page.', | ||
}, | ||
easeOut: { | ||
$value: [0.16, 1, 0.3, 1], | ||
$type: 'cubicBezier', | ||
$description: 'Ideal for movement that starts off the page and ends on the page.', | ||
}, | ||
easeInOut: { | ||
$value: [0.6, 0, 0.2, 1], | ||
$type: 'cubicBezier', | ||
$description: 'Ideal for movement that starts and ends on the page.', | ||
}, | ||
}, | ||
}, | ||
} |
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,50 @@ | ||
{ | ||
base: { | ||
duration: { | ||
'0': { | ||
$value: '0ms', | ||
$type: 'duration', | ||
}, | ||
'75': { | ||
$value: '75ms', | ||
$type: 'duration', | ||
}, | ||
'200': { | ||
$value: '200ms', | ||
$type: 'duration', | ||
}, | ||
'300': { | ||
$value: '300ms', | ||
$type: 'duration', | ||
}, | ||
'400': { | ||
$value: '400ms', | ||
$type: 'duration', | ||
}, | ||
'500': { | ||
$value: '500ms', | ||
$type: 'duration', | ||
}, | ||
'600': { | ||
$value: '600ms', | ||
$type: 'duration', | ||
}, | ||
'700': { | ||
$value: '700ms', | ||
$type: 'duration', | ||
}, | ||
'800': { | ||
$value: '800ms', | ||
$type: 'duration', | ||
}, | ||
'900': { | ||
$value: '900ms', | ||
$type: 'duration', | ||
}, | ||
'1000': { | ||
$value: '1000ms', | ||
$type: 'duration', | ||
}, | ||
}, | ||
}, | ||
} |
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