99//
1010// #############################################################################
1111
12+ @import ' package:angular_components/css/transition_material' ;
13+
1214// Options that can be set before importing
1315$mat-option-inline-icons : false !default ;
1416$mat-option-export-classes : false !default ;
@@ -32,37 +34,3 @@ $mat-icon-dark-opacity-hover: 1;
3234$mat-grid : 8px ;
3335$mat-grid-type : 4px ;
3436
35- // Duration and easing constants.
36- //
37- // Spec: https://material.io/guidelines/motion/duration-easing.html
38-
39- // Common Durations.
40- //
41- // Multiply the mobile values by 1.3 for tablets, and 0.7 for wearables.
42- $mat-transition-desktop : 150ms ;
43- $mat-transition-desktop-complex : 200ms ;
44- $mat-transition-mobile : 300ms ;
45- $mat-transition-mobile-complex : 375ms ;
46- $mat-transition-mobile-entering : 225ms ;
47- $mat-transition-mobile-leaving : 195ms ;
48-
49- // Standard natural easing curve.
50- $mat-transition-standard : cubic-bezier (.4 , 0 , .2 , 1 );
51-
52- // Curves for movement, in and out of the screen bounds, of independent elements
53- // (those which don't affect the position of other on-screen content).
54- //
55- // Spec: https://material.io/guidelines/motion/movement.html
56- //
57- // * Deceleration is used for content entering the screen.
58- // * Acceleration is used for content leaving the screen permanently.
59- // * Sharp is used for content leaving the screen temporarily.
60- $mat-transition-deceleration : cubic-bezier (0 , 0 , .2 , 1 );
61- $mat-transition-acceleration : cubic-bezier (.4 , 0 , 1 , 1 );
62- $mat-transition-sharp : cubic-bezier (.4 , 0 , .6 , 1 );
63-
64- // Deprecated: use the new values, above.
65- // TODO(google): remove.
66- $mat-transition : 218ms ;
67- $mat-transition-slow : $mat-transition * 2 ;
68- $mat-transition-fast : 130ms ;
0 commit comments