@nuvoui/core 1.3.5 → 1.4.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 (64) hide show
  1. package/LICENSE +21 -0
  2. package/dist/nuvoui.css +322 -258
  3. package/dist/nuvoui.css.map +1 -1
  4. package/dist/nuvoui.min.css +23 -1
  5. package/dist/nuvoui.min.css.map +1 -1
  6. package/package.json +1 -1
  7. package/src/styles/base/_base.scss +148 -147
  8. package/src/styles/base/_reset.scss +41 -49
  9. package/src/styles/build.scss +25 -1
  10. package/src/styles/components/_tooltips.scss +271 -0
  11. package/src/styles/config/_borders.scss +15 -0
  12. package/src/styles/config/_breakpoints.scss +11 -0
  13. package/src/styles/config/_colors.scss +192 -0
  14. package/src/styles/config/_constants.scss +1 -0
  15. package/src/styles/config/_container-queries.scss +1 -0
  16. package/src/styles/config/_feature-flags.scss +33 -0
  17. package/src/styles/config/_layouts.scss +13 -0
  18. package/src/styles/config/_shadows.scss +9 -0
  19. package/src/styles/config/_spacing.scss +41 -0
  20. package/src/styles/config/_theme-validation.scss +59 -0
  21. package/src/styles/config/_typography.scss +45 -0
  22. package/src/styles/functions/_breakpoints.scss +15 -0
  23. package/src/styles/functions/_colors.scss +280 -0
  24. package/src/styles/functions/_css-vars.scss +33 -0
  25. package/src/styles/functions/_feature-flags.scss +20 -0
  26. package/src/styles/functions/_math.scss +72 -0
  27. package/src/styles/functions/_strings.scss +68 -0
  28. package/src/styles/functions/_types.scss +104 -0
  29. package/src/styles/functions/_units.scss +83 -0
  30. package/src/styles/index.scss +26 -5
  31. package/src/styles/layouts/_container.scss +28 -27
  32. package/src/styles/layouts/_flex.scss +340 -337
  33. package/src/styles/layouts/_grid.scss +131 -128
  34. package/src/styles/mixins-map.json +484 -479
  35. package/src/styles/mixins-map.scss +1 -1
  36. package/src/styles/themes/_theme.scss +230 -211
  37. package/src/styles/tools/_accessibility.scss +50 -0
  38. package/src/styles/tools/_container-queries.scss +98 -0
  39. package/src/styles/tools/_feature-support.scss +46 -0
  40. package/src/styles/tools/_media-queries.scss +70 -0
  41. package/src/styles/tools/_modern-layout.scss +49 -0
  42. package/src/styles/utilities/_alignment.scss +35 -34
  43. package/src/styles/utilities/_animations.scss +312 -311
  44. package/src/styles/utilities/_backdrop-filters.scss +194 -193
  45. package/src/styles/utilities/_borders.scss +243 -237
  46. package/src/styles/utilities/_colors.scss +16 -136
  47. package/src/styles/utilities/_cursor.scss +10 -10
  48. package/src/styles/utilities/_display.scss +192 -191
  49. package/src/styles/utilities/_helpers.scss +106 -106
  50. package/src/styles/utilities/_opacity.scss +27 -25
  51. package/src/styles/utilities/_position.scss +124 -121
  52. package/src/styles/utilities/_shadows.scss +171 -169
  53. package/src/styles/utilities/_sizing.scss +197 -194
  54. package/src/styles/utilities/_spacing.scss +230 -227
  55. package/src/styles/utilities/_transforms.scss +235 -234
  56. package/src/styles/utilities/_transitions.scss +136 -135
  57. package/src/styles/utilities/_typography.scss +242 -239
  58. package/src/styles/utilities/_z-index.scss +69 -68
  59. package/src/styles/abstracts/_config.scss +0 -254
  60. package/src/styles/abstracts/_functions.scss +0 -626
  61. package/src/styles/themes/refactored_borders.ipynb +0 -37
  62. package/src/styles/utilities/_container-queries.scss +0 -95
  63. package/src/styles/utilities/_media-queries.scss +0 -189
  64. package/src/styles/utilities/_tooltips.scss +0 -258
@@ -7,31 +7,35 @@
7
7
  @use "sass:string" as str;
8
8
  @use "sass:list";
9
9
 
10
- @use "../abstracts/config" as VAR;
11
- @use "../abstracts/functions" as FN;
10
+ @use "../config/feature-flags" as config-flags;
11
+ @use "../config/breakpoints" as config-breakpoint;
12
+ @use "../config/borders" as config-border;
13
+ @use "../config/colors" as config-color;
14
+ @use "../functions/feature-flags" as fn-flags;
15
+ @use "../functions/units" as fn-units;
12
16
 
13
17
  // Common border styles
14
18
  $border-styles: (solid, dashed, dotted, double, none);
15
19
 
16
20
  @function get-rounded-value($val) {
17
- @if not $val {
18
- @return map.get(VAR.$border-radii, "md");
19
- } @else if meta.type-of($val) == string {
20
- $clean-val: $val;
21
-
22
- // Try to find the value in the border-radii map
23
- @if map.has-key(VAR.$border-radii, $clean-val) {
24
- @return map.get(VAR.$border-radii, $clean-val);
25
- } @else if map.has-key(VAR.$border-radii, str.unquote($clean-val)) {
26
- @return map.get(VAR.$border-radii, str.unquote($clean-val));
21
+ @if not $val {
22
+ @return map.get(config-border.$border-radii, "md");
23
+ } @else if meta.type-of($val) == "string" {
24
+ $clean-val: $val;
25
+
26
+ // Try to find the value in the border-radii map
27
+ @if map.has-key(config-border.$border-radii, $clean-val) {
28
+ @return map.get(config-border.$border-radii, $clean-val);
29
+ } @else if map.has-key(config-border.$border-radii, str.unquote($clean-val)) {
30
+ @return map.get(config-border.$border-radii, str.unquote($clean-val));
31
+ } @else {
32
+ // Not a predefined value, process it as a custom value
33
+ @return fn-units.fix-units($val);
34
+ }
27
35
  } @else {
28
- // Not a predefined value, process it as a custom value
29
- @return FN.fix-units($val);
36
+ // Case 3: $val is a custom value, ensure it has units
37
+ @return fn-units.fix-units($val);
30
38
  }
31
- } @else {
32
- // Case 3: $val is a custom value, ensure it has units
33
- @return FN.fix-units($val);
34
- }
35
39
  }
36
40
 
37
41
  // -----------------------------------------------
@@ -41,307 +45,309 @@ $border-styles: (solid, dashed, dotted, double, none);
41
45
  // Core Border Mixins - improved to include style and color by default
42
46
  // SKIP Documentation
43
47
  @mixin border($val, $style: solid, $color: var(--border-base)) {
44
- $val: FN.fix-units($val);
48
+ $val: fn-units.fix-units($val);
45
49
 
46
- --border-size: #{$val};
50
+ --border-size: #{$val};
47
51
 
48
- border-width: $val;
49
- @if $val != 0 {
50
- border-style: $style;
51
- border-color: $color;
52
+ border-width: $val;
53
+ @if $val != 0 {
54
+ border-style: $style;
55
+ border-color: $color;
52
56
 
53
- --border-style: #{$style};
54
- --border-color: #{$color};
55
- }
57
+ --border-style: #{$style};
58
+ --border-color: #{$color};
59
+ }
56
60
  }
57
61
 
58
- @mixin border-top($val) {
59
- $val: FN.fix-units($val);
62
+ @mixin border-top($val, $style: var(--border-style, solid)) {
63
+ $val: fn-units.fix-units($val);
60
64
 
61
- border-top-width: $val;
62
- @if $val != 0 {
63
- border-top-style: var(--border-style, solid);
64
- border-top-color: var(--border-base);
65
- }
65
+ border-top-width: $val;
66
+ @if $val != 0 {
67
+ border-top-style: $style;
68
+ border-top-color: var(--border-base);
69
+ }
66
70
  }
67
71
 
68
- @mixin border-right($val) {
69
- $val: FN.fix-units($val);
72
+ @mixin border-right($val, $style: var(--border-style, solid)) {
73
+ $val: fn-units.fix-units($val);
70
74
 
71
- border-right-width: $val;
72
- @if $val != 0 {
73
- border-right-style: var(--border-style, solid);
74
- border-right-color: var(--border-base);
75
- }
75
+ border-right-width: $val;
76
+ @if $val != 0 {
77
+ border-right-style: $style;
78
+ border-right-color: var(--border-base);
79
+ }
76
80
  }
77
81
 
78
- @mixin border-bottom($val) {
79
- $val: FN.fix-units($val);
82
+ @mixin border-bottom($val, $style: var(--border-style, solid)) {
83
+ $val: fn-units.fix-units($val);
80
84
 
81
- border-bottom-width: $val;
82
- @if $val != 0 {
83
- border-bottom-style: var(--border-style, solid);
84
- border-bottom-color: var(--border-base);
85
- }
85
+ border-bottom-width: $val;
86
+ @if $val != 0 {
87
+ border-bottom-style: $style;
88
+ border-bottom-color: var(--border-base);
89
+ }
86
90
  }
87
91
 
88
- @mixin border-left($val) {
89
- $val: FN.fix-units($val);
92
+ @mixin border-left($val, $style: var(--border-style, solid)) {
93
+ $val: fn-units.fix-units($val);
90
94
 
91
- border-left-width: $val;
92
- @if $val != 0 {
93
- border-left-style: var(--border-style, solid);
94
- border-left-color: var(--border-base);
95
- }
95
+ border-left-width: $val;
96
+ @if $val != 0 {
97
+ border-left-style: $style;
98
+ border-left-color: var(--border-base);
99
+ }
96
100
  }
97
101
 
98
102
  // @description Applies border radius to all corners
99
103
  // @param {String} $val - The border radius value
100
104
  @mixin rounded($val: null) {
101
- border-radius: get-rounded-value($val);
105
+ border-radius: get-rounded-value($val);
102
106
  }
103
107
 
104
108
  @mixin rounded-t($val: null) {
105
- $val: get-rounded-value($val);
109
+ $val: get-rounded-value($val);
106
110
 
107
- border-top-left-radius: $val;
108
- border-top-right-radius: $val;
111
+ border-top-left-radius: $val;
112
+ border-top-right-radius: $val;
109
113
  }
110
114
 
111
115
  @mixin rounded-r($val: null) {
112
- $val: get-rounded-value($val);
116
+ $val: get-rounded-value($val);
113
117
 
114
- border-top-right-radius: $val;
115
- border-bottom-right-radius: $val;
118
+ border-top-right-radius: $val;
119
+ border-bottom-right-radius: $val;
116
120
  }
117
121
 
118
122
  @mixin rounded-b($val: null) {
119
- $val: get-rounded-value($val);
123
+ $val: get-rounded-value($val);
120
124
 
121
- border-bottom-left-radius: $val;
122
- border-bottom-right-radius: $val;
125
+ border-bottom-left-radius: $val;
126
+ border-bottom-right-radius: $val;
123
127
  }
124
128
 
125
129
  @mixin rounded-l($val: null) {
126
- $val: get-rounded-value($val);
130
+ $val: get-rounded-value($val);
127
131
 
128
- border-top-left-radius: $val;
129
- border-bottom-left-radius: $val;
132
+ border-top-left-radius: $val;
133
+ border-bottom-left-radius: $val;
130
134
  }
131
135
 
132
136
  @mixin rounded-tl($val: null) {
133
- $val: get-rounded-value($val);
137
+ $val: get-rounded-value($val);
134
138
 
135
- border-top-left-radius: $val;
139
+ border-top-left-radius: $val;
136
140
  }
137
141
  @mixin rounded-tr($val: null) {
138
- $val: get-rounded-value($val);
142
+ $val: get-rounded-value($val);
139
143
 
140
- border-top-right-radius: $val;
144
+ border-top-right-radius: $val;
141
145
  }
142
146
  @mixin rounded-br($val: null) {
143
- $val: get-rounded-value($val);
147
+ $val: get-rounded-value($val);
144
148
 
145
- border-bottom-right-radius: $val;
149
+ border-bottom-right-radius: $val;
146
150
  }
147
151
  @mixin rounded-bl($val: null) {
148
- $val: get-rounded-value($val);
152
+ $val: get-rounded-value($val);
149
153
 
150
- border-bottom-left-radius: $val;
154
+ border-bottom-left-radius: $val;
151
155
  }
152
156
 
153
157
  // Border Style and Color
154
158
  @mixin border-style($style) {
155
- border-style: $style;
159
+ --border-style: #{$style};
156
160
  }
157
161
  @mixin border-color($color) {
158
- border-color: $color;
162
+ border-color: $color;
163
+
164
+ --border-color: #{$color};
159
165
  }
160
166
 
161
167
  // Combined border properties
162
168
  @mixin border-all($width, $style, $color) {
163
- border-width: $width;
164
- border-style: $style;
165
- border-color: $color;
169
+ border-width: $width;
170
+ border-style: $style;
171
+ border-color: $color;
166
172
  }
167
173
 
168
174
  @mixin pill {
169
- @include rounded(9999px);
175
+ @include rounded(9999px);
170
176
  }
171
177
 
172
- @if FN.feature-enabled("borders") {
173
- // Basic border classes (all sides)
174
- #{VAR.$parent-selector} .border {
175
- @include border(1);
176
- }
177
-
178
- // Common shortcuts for single-side borders
179
- #{VAR.$parent-selector} .border-0 {
180
- @include border(0);
181
- }
182
-
183
- #{VAR.$parent-selector} .border-t {
184
- @include border-top(1);
185
- }
186
-
187
- #{VAR.$parent-selector} .border-r {
188
- @include border-right(1);
189
- }
190
-
191
- #{VAR.$parent-selector} .border-b {
192
- @include border-bottom(1);
193
- }
194
-
195
- #{VAR.$parent-selector} .border-l {
196
- @include border-left(1);
197
- }
198
-
199
- #{VAR.$parent-selector} .border-x {
200
- @include border-left(1);
201
- @include border-right(1);
202
- }
203
-
204
- #{VAR.$parent-selector} .border-y {
205
- @include border-top(1);
206
- @include border-bottom(1);
207
- }
208
-
209
- // Directional border width
210
- @each $width in VAR.$border-widths {
211
- #{VAR.$parent-selector} .border-#{$width},
212
- #{VAR.$parent-selector} .hover\:border-#{$width}:hover,
213
- #{VAR.$parent-selector} .active\:border-#{$width}:active,
214
- #{VAR.$parent-selector} .focus\:border-#{$width}:focus,
215
- #{VAR.$parent-selector} .group:hover .group-hover\:border-#{$width} {
216
- @include border($width);
217
- }
218
- #{VAR.$parent-selector} .border-t-#{$width} {
219
- @include border-top($width);
220
- }
221
- #{VAR.$parent-selector} .border-r-#{$width} {
222
- @include border-right($width);
223
- }
224
- #{VAR.$parent-selector} .border-b-#{$width} {
225
- @include border-bottom($width);
226
- }
227
- #{VAR.$parent-selector} .border-l-#{$width} {
228
- @include border-left($width);
178
+ @if fn-flags.feature-enabled("borders") {
179
+ // Basic border classes (all sides)
180
+ #{config-flags.$parent-selector} .border {
181
+ @include border(1);
229
182
  }
230
183
 
231
- #{VAR.$parent-selector} .border-x-#{$width} {
232
- @include border-left(1);
233
- @include border-right(1);
184
+ // Common shortcuts for single-side borders
185
+ #{config-flags.$parent-selector} .border-0 {
186
+ @include border(0);
234
187
  }
235
188
 
236
- #{VAR.$parent-selector} .border-y-#{$width} {
237
- @include border-top($width);
238
- @include border-bottom($width);
239
- }
240
- }
241
-
242
- // Border radius classes
243
- #{VAR.$parent-selector} .rounded {
244
- @include rounded;
245
- }
246
- #{VAR.$parent-selector} .square {
247
- @include rounded(0);
248
- } // Alias for no radius
249
-
250
- @each $name, $value in VAR.$border-radii {
251
- #{VAR.$parent-selector} .rounded-#{$name} {
252
- @include rounded($value);
253
- }
254
- #{VAR.$parent-selector} .rounded-t-#{$name} {
255
- @include rounded-t($value);
256
- }
257
- #{VAR.$parent-selector} .rounded-r-#{$name} {
258
- @include rounded-r($value);
259
- }
260
- #{VAR.$parent-selector} .rounded-b-#{$name} {
261
- @include rounded-b($value);
262
- }
263
- #{VAR.$parent-selector} .rounded-l-#{$name} {
264
- @include rounded-l($value);
189
+ #{config-flags.$parent-selector} .border-t {
190
+ @include border-top(1);
265
191
  }
266
192
 
267
- // Individual corners
268
- #{VAR.$parent-selector} .rounded-tl-#{$name} {
269
- @include rounded-tl($value);
270
- }
271
- #{VAR.$parent-selector} .rounded-tr-#{$name} {
272
- @include rounded-tr($value);
193
+ #{config-flags.$parent-selector} .border-r {
194
+ @include border-right(1);
273
195
  }
274
- #{VAR.$parent-selector} .rounded-br-#{$name} {
275
- @include rounded-br($value);
196
+
197
+ #{config-flags.$parent-selector} .border-b {
198
+ @include border-bottom(1);
276
199
  }
277
- #{VAR.$parent-selector} .rounded-bl-#{$name} {
278
- @include rounded-bl($value);
200
+
201
+ #{config-flags.$parent-selector} .border-l {
202
+ @include border-left(1);
279
203
  }
280
- }
281
-
282
- // Pill shape (alias for full radius)
283
- #{VAR.$parent-selector} .pill {
284
- @include pill;
285
- }
286
-
287
- // Border styles - these override the default solid style if needed
288
- @each $style in $border-styles {
289
- #{VAR.$parent-selector} .border-#{$style},
290
- #{VAR.$parent-selector} .hover\:border-#{$style}:hover,
291
- #{VAR.$parent-selector} .active\:border-#{$style}:active,
292
- #{VAR.$parent-selector} .focus\:border-#{$style}:focus,
293
- #{VAR.$parent-selector} .group:hover .group-hover\:border-#{$style} {
294
- @include border-style($style);
204
+
205
+ #{config-flags.$parent-selector} .border-x {
206
+ @include border-left(1);
207
+ @include border-right(1);
295
208
  }
296
- }
297
-
298
- @each $color-name in VAR.$color-names-with-basic {
299
- #{VAR.$parent-selector} .border-#{$color-name},
300
- #{VAR.$parent-selector} .hover\:border-#{$color-name}:hover,
301
- #{VAR.$parent-selector} .active\:border-#{$color-name}:active,
302
- #{VAR.$parent-selector} .focus\:border-#{$color-name}:focus,
303
- #{VAR.$parent-selector} .group:hover .group-hover\:border-#{$color-name} {
304
- @include border-color(var(--#{$color-name}));
209
+
210
+ #{config-flags.$parent-selector} .border-y {
211
+ @include border-top(1);
212
+ @include border-bottom(1);
305
213
  }
306
- }
307
-
308
- // -----------------------------------------------
309
- // RESPONSIVE CLASSES
310
- // -----------------------------------------------
311
-
312
- @each $breakpoint, $width in VAR.$breakpoints {
313
- @media (min-width: #{$width}) {
314
- // Border width responsive
315
- @each $val in VAR.$border-widths {
316
- #{VAR.$parent-selector} .border-#{$val}\@#{$breakpoint} {
317
- @include border($val);
214
+
215
+ // Directional border width
216
+ @each $width in config-border.$border-widths {
217
+ #{config-flags.$parent-selector} .border-#{$width},
218
+ #{config-flags.$parent-selector} .hover\:border-#{$width}:hover,
219
+ #{config-flags.$parent-selector} .active\:border-#{$width}:active,
220
+ #{config-flags.$parent-selector} .focus\:border-#{$width}:focus,
221
+ #{config-flags.$parent-selector} .group:hover .group-hover\:border-#{$width} {
222
+ @include border($width);
223
+ }
224
+ #{config-flags.$parent-selector} .border-t-#{$width} {
225
+ @include border-top($width);
226
+ }
227
+ #{config-flags.$parent-selector} .border-r-#{$width} {
228
+ @include border-right($width);
229
+ }
230
+ #{config-flags.$parent-selector} .border-b-#{$width} {
231
+ @include border-bottom($width);
232
+ }
233
+ #{config-flags.$parent-selector} .border-l-#{$width} {
234
+ @include border-left($width);
318
235
  }
319
- }
320
236
 
321
- // Common shortcuts for responsive
322
- #{VAR.$parent-selector} .border\@#{$breakpoint} {
323
- @include border(1);
324
- }
325
- #{VAR.$parent-selector} .border-0\@#{$breakpoint} {
326
- @include border(0);
327
- }
237
+ #{config-flags.$parent-selector} .border-x-#{$width} {
238
+ @include border-left(1);
239
+ @include border-right(1);
240
+ }
328
241
 
329
- // Border radius responsive
330
- @each $name, $value in VAR.$border-radii {
331
- #{VAR.$parent-selector} .rounded-#{$name}\@#{$breakpoint} {
332
- @include rounded($value);
242
+ #{config-flags.$parent-selector} .border-y-#{$width} {
243
+ @include border-top($width);
244
+ @include border-bottom($width);
333
245
  }
334
- }
246
+ }
335
247
 
336
- #{VAR.$parent-selector} .rounded\@#{$breakpoint} {
248
+ // Border radius classes
249
+ #{config-flags.$parent-selector} .rounded {
337
250
  @include rounded;
338
- }
339
- #{VAR.$parent-selector} .square\@#{$breakpoint} {
251
+ }
252
+ #{config-flags.$parent-selector} .square {
340
253
  @include rounded(0);
341
- }
342
- #{VAR.$parent-selector} .pill\@#{$breakpoint} {
254
+ } // Alias for no radius
255
+
256
+ @each $name, $value in config-border.$border-radii {
257
+ #{config-flags.$parent-selector} .rounded-#{$name} {
258
+ @include rounded($value);
259
+ }
260
+ #{config-flags.$parent-selector} .rounded-t-#{$name} {
261
+ @include rounded-t($value);
262
+ }
263
+ #{config-flags.$parent-selector} .rounded-r-#{$name} {
264
+ @include rounded-r($value);
265
+ }
266
+ #{config-flags.$parent-selector} .rounded-b-#{$name} {
267
+ @include rounded-b($value);
268
+ }
269
+ #{config-flags.$parent-selector} .rounded-l-#{$name} {
270
+ @include rounded-l($value);
271
+ }
272
+
273
+ // Individual corners
274
+ #{config-flags.$parent-selector} .rounded-tl-#{$name} {
275
+ @include rounded-tl($value);
276
+ }
277
+ #{config-flags.$parent-selector} .rounded-tr-#{$name} {
278
+ @include rounded-tr($value);
279
+ }
280
+ #{config-flags.$parent-selector} .rounded-br-#{$name} {
281
+ @include rounded-br($value);
282
+ }
283
+ #{config-flags.$parent-selector} .rounded-bl-#{$name} {
284
+ @include rounded-bl($value);
285
+ }
286
+ }
287
+
288
+ // Pill shape (alias for full radius)
289
+ #{config-flags.$parent-selector} .pill {
343
290
  @include pill;
344
- }
345
291
  }
346
- }
292
+
293
+ // Border styles - these override the default solid style if needed
294
+ @each $style in $border-styles {
295
+ #{config-flags.$parent-selector} .border-#{$style},
296
+ #{config-flags.$parent-selector} .hover\:border-#{$style}:hover,
297
+ #{config-flags.$parent-selector} .active\:border-#{$style}:active,
298
+ #{config-flags.$parent-selector} .focus\:border-#{$style}:focus,
299
+ #{config-flags.$parent-selector} .group:hover .group-hover\:border-#{$style} {
300
+ @include border-style($style);
301
+ }
302
+ }
303
+
304
+ @each $color-name in config-color.$color-names-with-basic {
305
+ #{config-flags.$parent-selector} .border-#{$color-name},
306
+ #{config-flags.$parent-selector} .hover\:border-#{$color-name}:hover,
307
+ #{config-flags.$parent-selector} .active\:border-#{$color-name}:active,
308
+ #{config-flags.$parent-selector} .focus\:border-#{$color-name}:focus,
309
+ #{config-flags.$parent-selector} .group:hover .group-hover\:border-#{$color-name} {
310
+ @include border-color(var(--#{$color-name}));
311
+ }
312
+ }
313
+
314
+ // -----------------------------------------------
315
+ // RESPONSIVE CLASSES
316
+ // -----------------------------------------------
317
+
318
+ @each $breakpoint, $width in config-breakpoint.$breakpoints {
319
+ @media (min-width: #{$width}) {
320
+ // Border width responsive
321
+ @each $val in config-border.$border-widths {
322
+ #{config-flags.$parent-selector} .border-#{$val}\@#{$breakpoint} {
323
+ @include border($val);
324
+ }
325
+ }
326
+
327
+ // Common shortcuts for responsive
328
+ #{config-flags.$parent-selector} .border\@#{$breakpoint} {
329
+ @include border(1);
330
+ }
331
+ #{config-flags.$parent-selector} .border-0\@#{$breakpoint} {
332
+ @include border(0);
333
+ }
334
+
335
+ // Border radius responsive
336
+ @each $name, $value in config-border.$border-radii {
337
+ #{config-flags.$parent-selector} .rounded-#{$name}\@#{$breakpoint} {
338
+ @include rounded($value);
339
+ }
340
+ }
341
+
342
+ #{config-flags.$parent-selector} .rounded\@#{$breakpoint} {
343
+ @include rounded;
344
+ }
345
+ #{config-flags.$parent-selector} .square\@#{$breakpoint} {
346
+ @include rounded(0);
347
+ }
348
+ #{config-flags.$parent-selector} .pill\@#{$breakpoint} {
349
+ @include pill;
350
+ }
351
+ }
352
+ }
347
353
  }