diff options
author | Derick Montague <derick.montague@ibm.com> | 2020-04-14 01:01:19 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-05-05 08:21:52 +0300 |
commit | 408657262515e015a2964aafb8a1c76fb5259699 (patch) | |
tree | e498979c96b0d4627f550aa915a08b637f7031a7 /src/assets/styles/bmc/helpers/_motion.scss | |
parent | 7e8f3a5278198760f6ddb480689b5abd16fafc1f (diff) | |
download | webui-vue-408657262515e015a2964aafb8a1c76fb5259699.tar.xz |
Update Sass architecture to require helper imports
- Restructuring file strucure to support single file components use of
Sass variables when imported into vuepress.
- Creating a scalable file structure using Sass best practices
Tested by building and testing both the vue web ui and the
the documentation application.
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: Iddcefbf305c8dac978ee24e903df33b609e395e3
Diffstat (limited to 'src/assets/styles/bmc/helpers/_motion.scss')
-rw-r--r-- | src/assets/styles/bmc/helpers/_motion.scss | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/assets/styles/bmc/helpers/_motion.scss b/src/assets/styles/bmc/helpers/_motion.scss new file mode 100644 index 00000000..55a3eed9 --- /dev/null +++ b/src/assets/styles/bmc/helpers/_motion.scss @@ -0,0 +1,14 @@ +$duration--fast-01: 70ms; //Micro-interactions such as button and toggle +$duration--fast-02: 110ms; //Micro-interactions such as fade +$duration--moderate-01: 150ms; //Micro-interactions, small expansion, short distance movements +$duration--moderate-02: 240ms; //Expansion, system communication, toast +$duration--slow-01: 400ms; //Large expansion, important system notifications +$duration--slow-02: 700ms; //Background dimming + +// https://www.carbondesignsystem.com/guidelines/motion/basics/#easing +$standard-easing--productive: cubic-bezier(0.2, 0, 0.38, 0.9); +$standard-easing--expressive: cubic-bezier(0.4, 0.14, 0.3, 1); +$entrance-easing--productive: cubic-bezier(0, 0, 0.38, 0.9); +$entrance-easing--expressive: cubic-bezier(0, 0, 0.3, 1); +$exit-easing--productive: cubic-bezier(0.2, 0, 1, 0.9); +$exit-easing--expressive: cubic-bezier(0.4, 0.14, 1, 1);
\ No newline at end of file |