diff --git a/.changeset/eighty-poets-wait.md b/.changeset/eighty-poets-wait.md new file mode 100644 index 000000000..854c2219d --- /dev/null +++ b/.changeset/eighty-poets-wait.md @@ -0,0 +1,5 @@ +--- +'@primer/primitives': patch +--- + +Removed unused motion tokens diff --git a/src/tokens/functional/motion/loading.json5 b/src/tokens/functional/motion/loading.json5 deleted file mode 100644 index 0f21c3fde..000000000 --- a/src/tokens/functional/motion/loading.json5 +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Loading - * @description Used for consistent durations of loading indicator animations - */ -{ - motion: { - loading: { - delay: { - default: { - $value: '{base.duration.1000}', - $type: 'duration', - $description: 'The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies.', - }, - }, - }, - }, -} diff --git a/src/tokens/functional/motion/patterns.json5 b/src/tokens/functional/motion/patterns.json5 deleted file mode 100644 index 6677ab187..000000000 --- a/src/tokens/functional/motion/patterns.json5 +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Motion patterns - * @description Used to create animated components - */ -{ - motion: { - spinner: { - duration: { - rotation: { - $value: '{base.duration.1000}', - $type: 'duration', - $description: 'The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation', - }, - }, - easing: { - rotation: { - $value: '{base.easing.linear}', - $type: 'cubicBezier', - $description: 'The easing curve for the "Spinner" loading indicator rotation', - }, - }, - }, - skeletonLoader: { - shimmer: { - duration: { - scale: { - $value: '{base.duration.1000}', - $type: 'duration', - $description: 'The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right)', - }, - }, - }, - }, - }, -}