@terrahq/design-system 0.8.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +7 -4
  2. package/bin/terra-ds.mjs +0 -4
  3. package/dist/icons.css +1 -0
  4. package/dist/style.css +1 -1
  5. package/package.json +1 -1
  6. package/src/scss/framework/_var/_vars.scss +14 -15
  7. package/src/scss/framework/components/btn.scss +1 -0
  8. package/src/scss/framework/foundation/font/_make-font.scss +12 -12
  9. package/src/scss/framework/foundation/gap/_make-gap.scss +10 -10
  10. package/src/scss/framework/foundation/grid/_columns.scss +51 -10
  11. package/src/scss/framework/foundation/grid/_container.scss +0 -7
  12. package/src/scss/framework/foundation/grid/_make-container.scss +3 -3
  13. package/src/scss/framework/foundation/section/_make-section.scss +18 -18
  14. package/src/scss/framework/foundation/spaces/_make-spaces.scss +10 -10
  15. package/src/scss/framework/utilities/_align-items.scss +5 -5
  16. package/src/scss/framework/utilities/_aspect-ratio.scss +5 -5
  17. package/src/scss/framework/utilities/_display.scss +6 -5
  18. package/src/scss/framework/utilities/_flex-direction.scss +5 -5
  19. package/src/scss/framework/utilities/_font-style.scss +5 -5
  20. package/src/scss/framework/utilities/_font-weight.scss +5 -5
  21. package/src/scss/framework/utilities/_height.scss +5 -5
  22. package/src/scss/framework/utilities/_justify-content.scss +5 -5
  23. package/src/scss/framework/utilities/_order.scss +5 -5
  24. package/src/scss/framework/utilities/_overflow.scss +6 -5
  25. package/src/scss/framework/utilities/_position.scss +5 -5
  26. package/src/scss/framework/utilities/_spacing.scss +26 -26
  27. package/src/scss/framework/utilities/_states.scss +48 -45
  28. package/src/scss/framework/utilities/_text-align.scss +7 -7
  29. package/src/scss/framework/utilities/_text-transform.scss +47 -0
  30. package/src/scss/framework/utilities/_utilities.scss +1 -0
  31. package/src/scss/framework/utilities/_width.scss +5 -5
  32. package/terra.config.example.js +1 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@terrahq/design-system",
3
3
  "private": false,
4
- "version": "0.8.0",
4
+ "version": "0.11.0",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": "./dist/style.css",
@@ -45,7 +45,8 @@ $size-steps: (2, 3, 4, 5, 6, 8, 10, 12) !default;
45
45
  $type-a: 'Uncut Sans', system-ui, sans-serif !default;
46
46
 
47
47
  // * LAYOUT
48
- $viewport-type: max-width;
48
+ // Mobile-first, like Punky: a breakpoint class applies from that width up.
49
+ $viewport-type: min-width;
49
50
  $columns: 12;
50
51
  $gutter-width: 32px;
51
52
  $half-gutter-width: $gutter-width * 0.5;
@@ -57,23 +58,23 @@ $g-container-max-width: 1300px;
57
58
  $g-container-width: 90%;
58
59
  $g-container-width-mobile: 95%;
59
60
 
60
- // * breakpoints
61
+ // * breakpoints (the same names and widths as Punky)
61
62
  $all: 0;
62
- $desktop: 1700px;
63
- $laptop: 1570px;
64
- $tabletl: 1300px;
65
- $tabletm: 1024px;
66
- $tablets: 810px;
67
- $mobile: 580px;
63
+ $tablets: 580px;
64
+ $tabletm: 810px;
65
+ $tabletl: 1024px;
66
+ $laptop: 1300px;
67
+ $desktop: 1570px;
68
+ $wide: 1700px;
68
69
 
69
70
  $breakpoints-grid: (
70
71
  all: $all,
71
- desktop: $desktop,
72
- laptop: $laptop,
73
- tabletl: $tabletl,
74
- tabletm: $tabletm,
75
72
  tablets: $tablets,
76
- mobile: $mobile,
73
+ tabletm: $tabletm,
74
+ tabletl: $tabletl,
75
+ laptop: $laptop,
76
+ desktop: $desktop,
77
+ wide: $wide,
77
78
  ) !default;
78
79
 
79
80
  /*
@@ -100,8 +101,6 @@ $opacity-values: (100: 1, 85: 0.85, 70: 0.7, 50: 0.5) !default;
100
101
  $z-index-values: (0, 10, 20, 40) !default;
101
102
  // Offsets for u--top-*, u--right-*, u--bottom-* and u--left-*
102
103
  $offset-values: (0: 0, 100: 100%) !default;
103
- // Strength of the wash in u--hover-tint-* (0 to 1)
104
- $tint-alpha: 0.1 !default;
105
104
 
106
105
  // * Time
107
106
  $time-a: 0.1s !default; // * Micro-interactions such as button and toggle
@@ -29,6 +29,7 @@ $btn-paper: pick(b, a);
29
29
  font-size: 14px;
30
30
  font-weight: 500;
31
31
  line-height: 1;
32
+ white-space: nowrap;
32
33
  text-decoration: none;
33
34
  cursor: pointer;
34
35
  transition:
@@ -5,9 +5,9 @@
5
5
  font-family: $type-a;
6
6
  font-weight: $weight;
7
7
  line-height: 1.1;
8
- font-size: 5rem;
9
- @media all and ($viewport-type: $tablets) {
10
- font-size: 4rem;
8
+ font-size: 4rem;
9
+ @media all and ($viewport-type: $tabletm) {
10
+ font-size: 5rem;
11
11
  }
12
12
  }
13
13
 
@@ -15,9 +15,9 @@
15
15
  font-family: $type-a;
16
16
  font-weight: $weight;
17
17
  line-height: 1.3;
18
- font-size: 3.5rem;
19
- @media all and ($viewport-type: $tablets) {
20
- font-size: 2.5rem;
18
+ font-size: 2.5rem;
19
+ @media all and ($viewport-type: $tabletm) {
20
+ font-size: 3.5rem;
21
21
  }
22
22
  }
23
23
 
@@ -25,9 +25,9 @@
25
25
  font-family: $type-a;
26
26
  font-weight: $weight;
27
27
  line-height: 1.3;
28
- font-size: 2rem;
29
- @media all and ($viewport-type: $tablets) {
30
- font-size: 1.625rem;
28
+ font-size: 1.625rem;
29
+ @media all and ($viewport-type: $tabletm) {
30
+ font-size: 2rem;
31
31
  }
32
32
  }
33
33
 
@@ -35,9 +35,9 @@
35
35
  font-family: $type-a;
36
36
  font-weight: $weight;
37
37
  line-height: 1.4;
38
- font-size: 1.5rem;
39
- @media all and ($viewport-type: $tablets) {
40
- font-size: 1.25rem;
38
+ font-size: 1.25rem;
39
+ @media all and ($viewport-type: $tabletm) {
40
+ font-size: 1.5rem;
41
41
  }
42
42
  }
43
43
 
@@ -1,29 +1,29 @@
1
1
  @use "@scss/framework/_var/_vars.scss" as *;
2
2
 
3
3
  @mixin make-gap-a {
4
- row-gap: $measure * 10;
5
- @media all and ($viewport-type: $tablets) {
6
- row-gap: $measure * 7;
4
+ row-gap: $measure * 7;
5
+ @media all and ($viewport-type: $tabletm) {
6
+ row-gap: $measure * 10;
7
7
  }
8
8
  }
9
9
 
10
10
  @mixin make-gap-b {
11
- row-gap: $measure * 7;
12
- @media all and ($viewport-type: $tablets) {
13
- row-gap: $measure * 4;
11
+ row-gap: $measure * 4;
12
+ @media all and ($viewport-type: $tabletm) {
13
+ row-gap: $measure * 7;
14
14
  }
15
15
  }
16
16
 
17
17
  @mixin make-gap-c {
18
- row-gap: $measure * 4;
19
- @media all and ($viewport-type: $tablets) {
20
- row-gap: $measure * 3;
18
+ row-gap: $measure * 3;
19
+ @media all and ($viewport-type: $tabletm) {
20
+ row-gap: $measure * 4;
21
21
  }
22
22
  }
23
23
 
24
24
  @mixin make-gap-d {
25
25
  row-gap: $measure * 3;
26
- @media all and ($viewport-type: $tablets) {
26
+ @media all and ($viewport-type: $tabletm) {
27
27
  row-gap: $measure * 3;
28
28
  }
29
29
  }
@@ -23,12 +23,12 @@ $available-columns: (
23
23
 
24
24
  $columns-breakpoints: (
25
25
  all: $all,
26
- desktop: $desktop,
27
- laptop: $laptop,
28
- tabletl: $tabletl,
29
- tabletm: $tabletm,
30
26
  tablets: $tablets,
31
- mobile: $mobile,
27
+ tabletm: $tabletm,
28
+ tabletl: $tabletl,
29
+ laptop: $laptop,
30
+ desktop: $desktop,
31
+ wide: $wide,
32
32
  );
33
33
  @mixin build-columns ($size,$bkpt,$availablecolumns) {
34
34
  @for $i from 1 through $columns {
@@ -77,12 +77,12 @@ $available-offset: (
77
77
 
78
78
  $offset-breakpoints: (
79
79
  all: $all,
80
- desktop: $desktop,
81
- laptop: $laptop,
82
- tabletl: $tabletl,
83
- tabletm: $tabletm,
84
80
  tablets: $tablets,
85
- mobile: $mobile,
81
+ tabletm: $tabletm,
82
+ tabletl: $tabletl,
83
+ laptop: $laptop,
84
+ desktop: $desktop,
85
+ wide: $wide,
86
86
  );
87
87
  @mixin build-offset ($size,$bkpt,$availableoffset) {
88
88
  @for $i from 0 through $columns {
@@ -113,3 +113,44 @@ $offset-breakpoints: (
113
113
  }
114
114
  /* End Responsive Offset */
115
115
 
116
+
117
+
118
+ /* Start Responsive Order (as Punky): f--order-1 and f--order-tabletm-1 */
119
+ $available-order: (
120
+ 1,
121
+ ) !default;
122
+
123
+ $order-breakpoints: (
124
+ all: $all,
125
+ tabletm: $tabletm,
126
+ tabletl: $tabletl,
127
+ );
128
+
129
+ @mixin build-order ($size,$bkpt,$availableorder) {
130
+ @for $i from 0 through $columns {
131
+ @if ($size == 'all') {
132
+ @each $order in $availableorder {
133
+ @if $i == $order {
134
+ .f--order-#{$order}{
135
+ @include make-order($order);
136
+ }
137
+ }
138
+ }
139
+ }@else{
140
+ @each $order in $availableorder {
141
+ @if $i == $order {
142
+ .f--order-#{$size}-#{$order}{
143
+ @media all and (#{$viewport-type}: #{$bkpt}){
144
+ @include make-order($order);
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ }
152
+
153
+ @each $size, $bkpt in $order-breakpoints {
154
+ @include build-order($size,$bkpt, $available-order);
155
+ }
156
+ /* End Responsive Order */
@@ -7,11 +7,4 @@
7
7
  &--fluid {
8
8
  @include make-container-fluid();
9
9
  }
10
-
11
- // * container fluid responsive
12
- &--tabletm-fluid {
13
- @media all and ($viewport-type: $tabletm) {
14
- @include make-container-fluid();
15
- }
16
- }
17
10
  }
@@ -6,9 +6,9 @@
6
6
  padding-right: $half-gutter-width;
7
7
  padding-left: $half-gutter-width;
8
8
  width: $g-container-width;
9
- max-width: $g-container-max-width;
10
- @media all and ($viewport-type: $mobile){
11
- max-width: $g-container-width-mobile;
9
+ max-width: $g-container-width-mobile;
10
+ @media all and ($viewport-type: $tablets) {
11
+ max-width: $g-container-max-width;
12
12
  }
13
13
  }
14
14
 
@@ -1,49 +1,49 @@
1
1
  @use "@scss/framework/_var/_vars.scss" as *;
2
2
 
3
3
  @mixin make-section-a() {
4
- padding: $measure*15 0;
4
+ padding: $measure*10 0;
5
5
 
6
- @media all and ($viewport-type: $tablets) {
7
- padding: $measure*10 0;
6
+ @media all and ($viewport-type: $tabletm) {
7
+ padding: $measure*15 0;
8
8
  }
9
9
  }
10
10
 
11
11
  @mixin make-section-b() {
12
- padding: 0 0 $measure*15;
12
+ padding: 0 0 $measure*10;
13
13
 
14
- @media all and ($viewport-type: $tablets) {
15
- padding: 0 0 $measure*10;
14
+ @media all and ($viewport-type: $tabletm) {
15
+ padding: 0 0 $measure*15;
16
16
  }
17
17
  }
18
18
 
19
19
  @mixin make-section-c() {
20
- padding: $measure*15 0 $measure*10;
20
+ padding: $measure*10 0 $measure*7;
21
21
 
22
- @media all and ($viewport-type: $tablets) {
23
- padding: $measure*10 0 $measure*7;
22
+ @media all and ($viewport-type: $tabletm) {
23
+ padding: $measure*15 0 $measure*10;
24
24
  }
25
25
  }
26
26
 
27
27
  @mixin make-section-d() {
28
- padding: $measure*10 0 $measure*15;
28
+ padding: $measure*7 0 $measure*10;
29
29
 
30
- @media all and ($viewport-type: $tablets) {
31
- padding: $measure*7 0 $measure*10;
30
+ @media all and ($viewport-type: $tabletm) {
31
+ padding: $measure*10 0 $measure*15;
32
32
  }
33
33
  }
34
34
 
35
35
  @mixin make-section-e() {
36
- padding: $measure*10 0 0;
36
+ padding: $measure*7 0 0;
37
37
 
38
- @media all and ($viewport-type: $tablets) {
39
- padding: $measure*7 0 0;
38
+ @media all and ($viewport-type: $tabletm) {
39
+ padding: $measure*10 0 0;
40
40
  }
41
41
  }
42
42
 
43
43
  @mixin make-section-f() {
44
- padding: $measure*10 0 ;
44
+ padding: $measure*7 0;
45
45
 
46
- @media all and ($viewport-type: $tablets) {
47
- padding: $measure*7 0;
46
+ @media all and ($viewport-type: $tabletm) {
47
+ padding: $measure*10 0 ;
48
48
  }
49
49
  }
@@ -1,29 +1,29 @@
1
1
  @use "@scss/framework/_var/_vars.scss" as *;
2
2
 
3
3
  @mixin make-sp-a {
4
- margin-bottom: $measure * 10;
5
- @media all and ($viewport-type: $tablets) {
6
- margin-bottom: $measure * 7;
4
+ margin-bottom: $measure * 7;
5
+ @media all and ($viewport-type: $tabletm) {
6
+ margin-bottom: $measure * 10;
7
7
  }
8
8
  }
9
9
 
10
10
  @mixin make-sp-b {
11
- margin-bottom: $measure * 7;
12
- @media all and ($viewport-type: $tablets) {
13
- margin-bottom: $measure * 4;
11
+ margin-bottom: $measure * 4;
12
+ @media all and ($viewport-type: $tabletm) {
13
+ margin-bottom: $measure * 7;
14
14
  }
15
15
  }
16
16
 
17
17
  @mixin make-sp-c {
18
- margin-bottom: $measure * 4;
19
- @media all and ($viewport-type: $tablets) {
20
- margin-bottom: $measure * 3;
18
+ margin-bottom: $measure * 3;
19
+ @media all and ($viewport-type: $tabletm) {
20
+ margin-bottom: $measure * 4;
21
21
  }
22
22
  }
23
23
 
24
24
  @mixin make-sp-d {
25
25
  margin-bottom: $measure * 3;
26
- @media all and ($viewport-type: $tablets) {
26
+ @media all and ($viewport-type: $tabletm) {
27
27
  margin-bottom: $measure * 3;
28
28
  }
29
29
  }
@@ -10,12 +10,12 @@ $align-items-values:(
10
10
 
11
11
  $align-items-breakpoints: (
12
12
  all: $all,
13
- desktop: $desktop,
14
- laptop: $laptop,
15
- tabletl: $tabletl,
16
- tabletm: $tabletm,
17
13
  tablets: $tablets,
18
- mobile: $mobile,
14
+ tabletm: $tabletm,
15
+ tabletl: $tabletl,
16
+ laptop: $laptop,
17
+ desktop: $desktop,
18
+ wide: $wide,
19
19
  );
20
20
 
21
21
  @mixin align-items-utility($align-prop,$breakpoints){
@@ -21,12 +21,12 @@ $ar-sizes: (
21
21
  );
22
22
  $ar-breakpoints: (
23
23
  all: $all,
24
- desktop: $desktop,
25
- laptop: $laptop,
26
- tabletl: $tabletl,
27
- tabletm: $tabletm,
28
24
  tablets: $tablets,
29
- mobile: $mobile,
25
+ tabletm: $tabletm,
26
+ tabletl: $tabletl,
27
+ laptop: $laptop,
28
+ desktop: $desktop,
29
+ wide: $wide,
30
30
  );
31
31
 
32
32
  @mixin ar-sizes($ar, $breakpoints) {
@@ -1,6 +1,7 @@
1
1
  @use "@scss/framework/_var/_vars.scss" as *;
2
2
 
3
3
  $display-values: (
4
+ grid: grid,
4
5
  block: block,
5
6
  none: none,
6
7
  inline-block:inline-block,
@@ -14,12 +15,12 @@ $display-values: (
14
15
 
15
16
  $display-breakpoints: (
16
17
  all: $all,
17
- desktop: $desktop,
18
- laptop: $laptop,
19
- tabletl: $tabletl,
20
- tabletm: $tabletm,
21
18
  tablets: $tablets,
22
- mobile: $mobile,
19
+ tabletm: $tabletm,
20
+ tabletl: $tabletl,
21
+ laptop: $laptop,
22
+ desktop: $desktop,
23
+ wide: $wide,
23
24
  );
24
25
 
25
26
  @mixin display-utility($display-prop, $breakpoints) {
@@ -9,12 +9,12 @@ $flex-direction-values:(
9
9
 
10
10
  $flex-direction-breakpoints: (
11
11
  all: $all,
12
- desktop: $desktop,
13
- laptop: $laptop,
14
- tabletl: $tabletl,
15
- tabletm: $tabletm,
16
12
  tablets: $tablets,
17
- mobile: $mobile,
13
+ tabletm: $tabletm,
14
+ tabletl: $tabletl,
15
+ laptop: $laptop,
16
+ desktop: $desktop,
17
+ wide: $wide,
18
18
  );
19
19
 
20
20
  @mixin flex-direction-utility($align-prop,$breakpoints){
@@ -7,12 +7,12 @@ $font-style-values: (
7
7
 
8
8
  $font-style-breakpoints: (
9
9
  all: $all,
10
- desktop: $desktop,
11
- laptop: $laptop,
12
- tabletl: $tabletl,
13
- tabletm: $tabletm,
14
10
  tablets: $tablets,
15
- mobile: $mobile,
11
+ tabletm: $tabletm,
12
+ tabletl: $tabletl,
13
+ laptop: $laptop,
14
+ desktop: $desktop,
15
+ wide: $wide,
16
16
  );
17
17
 
18
18
  @mixin font-style-utility($font-style-prop, $breakpoints) {
@@ -14,12 +14,12 @@ $font-weight-values: (
14
14
 
15
15
  $font-weight-breakpoints: (
16
16
  all: $all,
17
- desktop: $desktop,
18
- laptop: $laptop,
19
- tabletl: $tabletl,
20
- tabletm: $tabletm,
21
17
  tablets: $tablets,
22
- mobile: $mobile,
18
+ tabletm: $tabletm,
19
+ tabletl: $tabletl,
20
+ laptop: $laptop,
21
+ desktop: $desktop,
22
+ wide: $wide,
23
23
  );
24
24
 
25
25
  @mixin font-weight-utility($font-weight-prop, $breakpoints) {
@@ -11,12 +11,12 @@ $height-values: (
11
11
 
12
12
  $height-breakpoints: (
13
13
  all: $all,
14
- desktop: $desktop,
15
- laptop: $laptop,
16
- tabletl: $tabletl,
17
- tabletm: $tabletm,
18
14
  tablets: $tablets,
19
- mobile: $mobile,
15
+ tabletm: $tabletm,
16
+ tabletl: $tabletl,
17
+ laptop: $laptop,
18
+ desktop: $desktop,
19
+ wide: $wide,
20
20
  );
21
21
 
22
22
  @mixin height-utility($height-prop, $breakpoints) {
@@ -11,12 +11,12 @@ $justify-content-properties:(
11
11
 
12
12
  $justify-content-breakpoints: (
13
13
  all: $all,
14
- desktop: $desktop,
15
- laptop: $laptop,
16
- tabletl: $tabletl,
17
- tabletm: $tabletm,
18
14
  tablets: $tablets,
19
- mobile: $mobile,
15
+ tabletm: $tabletm,
16
+ tabletl: $tabletl,
17
+ laptop: $laptop,
18
+ desktop: $desktop,
19
+ wide: $wide,
20
20
  );
21
21
 
22
22
  @mixin justify-content-utility($justify-prop,$breakpoints){
@@ -4,12 +4,12 @@ $order-values: (first, last, none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);
4
4
 
5
5
  $order-breakpoints: (
6
6
  all: $all,
7
- desktop: $desktop,
8
- laptop: $laptop,
9
- tabletl: $tabletl,
10
- tabletm: $tabletm,
11
7
  tablets: $tablets,
12
- mobile: $mobile,
8
+ tabletm: $tabletm,
9
+ tabletl: $tabletl,
10
+ laptop: $laptop,
11
+ desktop: $desktop,
12
+ wide: $wide,
13
13
  );
14
14
 
15
15
  @mixin order-utility($order-values, $breakpoints) {
@@ -4,16 +4,17 @@ $overflow-values:(
4
4
  hidden: hidden,
5
5
  visible: visible,
6
6
  auto: auto,
7
+ clip: clip,
7
8
  );
8
9
 
9
10
  $overflow-breakpoints: (
10
11
  all: $all,
11
- desktop: $desktop,
12
- laptop: $laptop,
13
- tabletl: $tabletl,
14
- tabletm: $tabletm,
15
12
  tablets: $tablets,
16
- mobile: $mobile,
13
+ tabletm: $tabletm,
14
+ tabletl: $tabletl,
15
+ laptop: $laptop,
16
+ desktop: $desktop,
17
+ wide: $wide,
17
18
  );
18
19
 
19
20
  @mixin overflow-utility($overflow-prop,$breakpoints){
@@ -11,12 +11,12 @@ $position-values:(
11
11
 
12
12
  $position-breakpoints: (
13
13
  all: $all,
14
- desktop: $desktop,
15
- laptop: $laptop,
16
- tabletl: $tabletl,
17
- tabletm: $tabletm,
18
14
  tablets: $tablets,
19
- mobile: $mobile,
15
+ tabletm: $tabletm,
16
+ tabletl: $tabletl,
17
+ laptop: $laptop,
18
+ desktop: $desktop,
19
+ wide: $wide,
20
20
  );
21
21
 
22
22
  @mixin position-utility($position-prop,$breakpoints){
@@ -2,35 +2,35 @@
2
2
  @use "@scss/framework/_var/_vars.scss" as *;
3
3
 
4
4
 
5
- // The class is u--{name}-{step}: the name is the CSS property, so u--padding-y-4 reads like padding-block: 2rem.
5
+ // The same names as Punky: u--p-4, u--pt-4, u--m-4, u--mt-4. px, py, mx and my are the pairs of sides.
6
6
  $space-prefixes : (
7
- padding : padding,
8
- padding-top : padding-top,
9
- padding-right : padding-right,
10
- padding-bottom : padding-bottom,
11
- padding-left : padding-left,
12
- padding-x : (padding-left, padding-right),
13
- padding-y : (padding-top, padding-bottom),
14
- margin : margin,
15
- margin-top : margin-top,
16
- margin-right : margin-right,
17
- margin-bottom : margin-bottom,
18
- margin-left : margin-left,
19
- margin-x : (margin-left, margin-right),
20
- margin-y : (margin-top, margin-bottom),
21
- gap : gap,
22
- row-gap : row-gap,
23
- column-gap : column-gap,
7
+ p : padding,
8
+ pt : padding-top,
9
+ pr : padding-right,
10
+ pb : padding-bottom,
11
+ pl : padding-left,
12
+ px : (padding-left, padding-right),
13
+ py : (padding-top, padding-bottom),
14
+ m : margin,
15
+ mt : margin-top,
16
+ mr : margin-right,
17
+ mb : margin-bottom,
18
+ ml : margin-left,
19
+ mx : (margin-left, margin-right),
20
+ my : (margin-top, margin-bottom),
21
+ gap : gap,
22
+ row-gap : row-gap,
23
+ column-gap : column-gap,
24
24
  ) !default;
25
25
 
26
26
  $space-breakpoints: (
27
27
  all: $all,
28
- desktop: $desktop,
29
- laptop: $laptop,
30
- tabletl: $tabletl,
31
- tabletm: $tabletm,
32
28
  tablets: $tablets,
33
- mobile: $mobile,
29
+ tabletm: $tabletm,
30
+ tabletl: $tabletl,
31
+ laptop: $laptop,
32
+ desktop: $desktop,
33
+ wide: $wide,
34
34
  );
35
35
 
36
36
  @mixin make-spaces($values, $prefixes, $breakpoints) {
@@ -64,6 +64,6 @@
64
64
  @include make-spaces($space-values, $space-prefixes,$space-breakpoints);
65
65
 
66
66
 
67
- .u--margin-x-auto { margin-left: auto; margin-right: auto; }
68
- .u--margin-y-auto { margin-top: auto; margin-bottom: auto; }
69
- .u--margin-auto { margin: auto; }
67
+ .u--mx-auto { margin-left: auto; margin-right: auto; }
68
+ .u--my-auto { margin-top: auto; margin-bottom: auto; }
69
+ .u--m-auto { margin: auto; }