-
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
241a8fa
commit a455405
Showing
7 changed files
with
113 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
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.4, 0.1, 0.75, 0.95], | ||
$type: 'cubicBezier', | ||
$description: 'Ideal for movement that starts on the page and ends off the page.', | ||
}, | ||
easeOut: { | ||
$value: [0, 0, 0.3, 0.95], | ||
$type: 'cubicBezier', | ||
$description: 'Ideal for movement that starts off the page and ends on the page.', | ||
}, | ||
easeInOut: { | ||
$value: [0.4, 0.1, 0.3, 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,46 @@ | ||
{ | ||
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', | ||
}, | ||
}, | ||
}, | ||
} |
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,25 @@ | ||
{ | ||
duration: {}, | ||
easing: { | ||
entrance: { | ||
$value: '{base.easing.easeOut}', | ||
$type: 'cubicBezier', | ||
$description: 'Ideal for movement that starts off the page and ends on the page.', | ||
}, | ||
exit: { | ||
$value: '{base.easing.easeIn}', | ||
$type: 'cubicBezier', | ||
$description: 'Ideal for movement that starts on the page and ends off the page.', | ||
}, | ||
move: { | ||
$value: '{base.easing.easeInOut}', | ||
$type: 'cubicBezier', | ||
$description: 'Ideal for movement that starts and ends on the page.', | ||
}, | ||
static: { | ||
$value: '{base.easing.linear}', | ||
$type: 'cubicBezier', | ||
$description: 'Ideal for non-movement properties, like opacity or background color.', | ||
}, | ||
}, | ||
} |