Skip to content

Commit 61f65dc

Browse files
committed
Various merge conflicts
1 parent 7ecfaf6 commit 61f65dc

File tree

1 file changed

+20
-33
lines changed

1 file changed

+20
-33
lines changed

lib/css/exports/_stacks-constants-helpers.less

Lines changed: 20 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,8 @@
1616
// • spacing units (su-)
1717
// • transition easings (te-)
1818
//
19-
// ============================================================================
20-
// $ Z-INDEX (zi-)
21-
// Used for a bird's eye view of components dependent on the z-axis.
22-
// Try to avoid customizing these.
23-
// ----------------------------------------------------------------------------
2419
body {
20+
// Z-Index
2521
--zi-hide: -1; // Hide something all the elements
2622
--zi-base: 0; // Reset to 0
2723
--zi-selected: 25; // Pop above siblings
@@ -34,6 +30,25 @@ body {
3430
--zi-navigation-fixed: 5050; // Fixed navigation bars
3531
--zi-modals-background: 8050; // Modals background
3632
--zi-modals: 9000; // Modals
33+
34+
// Border Radius
35+
--br-sm: 3px;
36+
--br-md: 5px;
37+
--br-lg: 7px;
38+
--br-circle: 50%;
39+
40+
// Transition easings
41+
--te-smooth-slow: cubic-bezier(0.25, 0.46, 0.45, 0.94); // easeOutQuad
42+
--te-smooth: cubic-bezier(0.165, 0.84, 0.44, 1); // easeOutQuart
43+
--te-smooth-quick: cubic-bezier(0.19, 1, 0.22, 1); // easeOutExpo
44+
--te-back-out: cubic-bezier(0.175, 0.885, 0.32, 1.275); // easeOutBack
45+
--te-back-in-out: cubic-bezier(0.68, -0.55, 0.265, 1.55); // easeInOutBack
46+
--te-ease-in: cubic-bezier(0.47, 0, 0.745, 0.715); // easeIn
47+
--te-ease-in-out: cubic-bezier(0.445, 0.05, 0.55, 0.95); // easeInOut
48+
--te-ease-out: cubic-bezier(0.39, 0.575, 0.565, 1); // easeOut
49+
50+
--default-transition-duration: 0.1s;
51+
--transition-time: var(--default-transition-duration);
3752
}
3853

3954
// ============================================================================
@@ -43,14 +58,6 @@ body {
4358
@breakpoint-md: 980px;
4459
@breakpoint-sm: 640px;
4560

46-
// ============================================================================
47-
// $ BORDER RADIUS (br-)
48-
// ----------------------------------------------------------------------------
49-
@br-sm: 3px;
50-
@br-md: 5px;
51-
@br-lg: 7px;
52-
@br-circle: 50%;
53-
5461
// ============================================================================
5562
// $ SPACING UNITS (su-)
5663
// ----------------------------------------------------------------------------
@@ -75,26 +82,6 @@ body {
7582
@s-full: 97.2307692rem; // Based on a pixel size of 1264px;
7683
@s-step: (@s-full / 12);
7784

78-
// TODO These helpers allow us to create our own timing functions with
79-
// cubic-bezier ~ but perhaps the default timing functions are acceptable?
80-
81-
// ============================================================================
82-
// $ TRANSITION EASINGS (te-)
83-
// ----------------------------------------------------------------------------
84-
body {
85-
--te-smooth-slow: cubic-bezier(0.25, 0.46, 0.45, 0.94); // easeOutQuad
86-
--te-smooth: cubic-bezier(0.165, 0.84, 0.44, 1); // easeOutQuart
87-
--te-smooth-quick: cubic-bezier(0.19, 1, 0.22, 1); // easeOutExpo
88-
--te-back-out: cubic-bezier(0.175, 0.885, 0.32, 1.275); // easeOutBack
89-
--te-back-in-out: cubic-bezier(0.68, -0.55, 0.265, 1.55); // easeInOutBack
90-
--te-ease-in: cubic-bezier(0.47, 0, 0.745, 0.715); // easeIn
91-
--te-ease-in-out: cubic-bezier(0.445, 0.05, 0.55, 0.95); // easeInOut
92-
--te-ease-out: cubic-bezier(0.39, 0.575, 0.565, 1); // easeOut
93-
94-
--default-transition-duration: 0.1s;
95-
--transition-time: var(--default-transition-duration);
96-
}
97-
9885
// ============================================================================
9986
// $ SCROLLBAR STYLING
10087
// ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)