Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Commit

Permalink
feat(settings): removed values, rceate aliases and change package name
Browse files Browse the repository at this point in the history
  • Loading branch information
nucliweb committed Feb 26, 2020
1 parent 6e18885 commit 3a8e8f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "@schibstedspain/sui-theme",
"version": "8.67.0",
"name": "@a-ui/sui-theme",
"version": "8.62.0",
"description": "Generic theme to add styles to all SUI components",
"main": "lib/index.scss",
"scripts": {
Expand Down
14 changes: 9 additions & 5 deletions src/settings/_motion.scss
Expand Up @@ -4,10 +4,14 @@
// Naming & timing reference: Polaris Design System https://polaris-tokens.herokuapp.com/
$duration-none: 0 !default;
$duration-fast: 100ms !default;
$duration-base: 200ms !default;
$duration-slow: 300ms !default;
$duration-slower: 400ms !default;
$duration-slowest: 500ms !default;
$duration-normal: 300ms !default;
$duration-slow: 500ms !default;

// Aliases to follow the Emmet naming convention
$dur-none: $duration-none;
$dur-fast: $duration-fast;
$dur-normal: $duration-normal;
$dur-slow: $duration-slow;

// Timing Function Tokens -------------
// We define the default timing fuctions as a Cubic Bézier
Expand All @@ -19,7 +23,7 @@ $timing-function-ease-in-out: cubic-bezier(0.42, 0, 0.58, 1) !default;
$timing-function-ease-in: cubic-bezier(0.42, 0, 1, 1) !default;
$timing-function-ease-out: cubic-bezier(0, 0, 0.58, 1) !default;

// Aliases
// Aliases to follow the Emmet naming convention
$tf-linear: $timing-function-linear;
$tf-ease: $timing-function-ease;
$tf-ease-in-out: $timing-function-ease-in-out;
Expand Down

0 comments on commit 3a8e8f8

Please sign in to comment.