From 3a8e8f830347846af41e6629c8e8d371af7d5769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Le=C3=B3n=20=7C=20=40nucliweb?= Date: Wed, 26 Feb 2020 14:53:17 +0100 Subject: [PATCH] feat(settings): removed values, rceate aliases and change package name --- package.json | 4 ++-- src/settings/_motion.scss | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index c8dafa7..78828c6 100644 --- a/package.json +++ b/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": { diff --git a/src/settings/_motion.scss b/src/settings/_motion.scss index 2deb4b5..315ee42 100644 --- a/src/settings/_motion.scss +++ b/src/settings/_motion.scss @@ -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 @@ -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;