@graupl/core 1.0.0-beta.14 → 1.0.0-beta.16

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 (125) hide show
  1. package/dist/css/base/button.css +1 -1
  2. package/dist/css/base/button.css.map +1 -1
  3. package/dist/css/base/form.css +1 -1
  4. package/dist/css/base/form.css.map +1 -1
  5. package/dist/css/base/link.css +1 -1
  6. package/dist/css/base/link.css.map +1 -1
  7. package/dist/css/base/table.css.map +1 -1
  8. package/dist/css/base.css +1 -1
  9. package/dist/css/base.css.map +1 -1
  10. package/dist/css/component/accordion.css +2 -2
  11. package/dist/css/component/accordion.css.map +1 -1
  12. package/dist/css/component/alert.css +1 -1
  13. package/dist/css/component/alert.css.map +1 -1
  14. package/dist/css/component/carousel.css +1 -1
  15. package/dist/css/component/carousel.css.map +1 -1
  16. package/dist/css/component.css +2 -2
  17. package/dist/css/component.css.map +1 -1
  18. package/dist/css/graupl.css +2 -2
  19. package/dist/css/graupl.css.map +1 -1
  20. package/dist/css/layout.css +2 -2
  21. package/dist/css/layout.css.map +1 -1
  22. package/dist/css/state/focus.css +1 -1
  23. package/dist/css/state/focus.css.map +1 -1
  24. package/dist/css/state.css +1 -1
  25. package/dist/css/state.css.map +1 -1
  26. package/dist/css/theme/color.css +1 -1
  27. package/dist/css/theme/color.css.map +1 -1
  28. package/dist/css/theme.css +1 -1
  29. package/dist/css/theme.css.map +1 -1
  30. package/dist/css/utilities/border.css +1 -1
  31. package/dist/css/utilities/border.css.map +1 -1
  32. package/dist/css/utilities/color.css +1 -1
  33. package/dist/css/utilities/color.css.map +1 -1
  34. package/dist/css/utilities/gradient.css +1 -1
  35. package/dist/css/utilities/gradient.css.map +1 -1
  36. package/dist/css/utilities/order.css.map +1 -1
  37. package/dist/css/utilities/typography.css +1 -1
  38. package/dist/css/utilities/typography.css.map +1 -1
  39. package/dist/css/utilities/visually-hidden.css.map +1 -1
  40. package/dist/css/utilities.css +1 -1
  41. package/dist/css/utilities.css.map +1 -1
  42. package/dist/js/accordion.js.map +1 -1
  43. package/dist/js/alert.js.map +1 -1
  44. package/dist/js/carousel.js.map +1 -1
  45. package/dist/js/component/accordion.cjs.js.map +1 -1
  46. package/dist/js/component/accordion.es.js.map +1 -1
  47. package/dist/js/component/accordion.iife.js.map +1 -1
  48. package/dist/js/component/alert.cjs.js.map +1 -1
  49. package/dist/js/component/alert.es.js.map +1 -1
  50. package/dist/js/component/alert.iife.js.map +1 -1
  51. package/dist/js/component/carousel.cjs.js.map +1 -1
  52. package/dist/js/component/carousel.es.js.map +1 -1
  53. package/dist/js/component/carousel.iife.js.map +1 -1
  54. package/dist/js/generator/accordion.cjs.js.map +1 -1
  55. package/dist/js/generator/accordion.es.js.map +1 -1
  56. package/dist/js/generator/accordion.iife.js.map +1 -1
  57. package/dist/js/generator/alert.cjs.js.map +1 -1
  58. package/dist/js/generator/alert.es.js.map +1 -1
  59. package/dist/js/generator/alert.iife.js.map +1 -1
  60. package/dist/js/generator/carousel.cjs.js.map +1 -1
  61. package/dist/js/generator/carousel.es.js.map +1 -1
  62. package/dist/js/generator/carousel.iife.js.map +1 -1
  63. package/dist/js/generator/navigation.cjs.js.map +1 -1
  64. package/dist/js/generator/navigation.es.js.map +1 -1
  65. package/dist/js/generator/navigation.iife.js.map +1 -1
  66. package/dist/js/graupl.js.map +1 -1
  67. package/dist/js/navigation.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/js/domHelpers.js +5 -10
  70. package/src/scss/_defaults.scss +147 -29
  71. package/src/scss/base/button/_defaults.scss +21 -5
  72. package/src/scss/base/button/_mixins.scss +1 -1
  73. package/src/scss/base/table/_defaults.scss +15 -2
  74. package/src/scss/base/table/_index.scss +4 -7
  75. package/src/scss/component/alert/_defaults.scss +22 -5
  76. package/src/scss/component/alert/_index.scss +1 -1
  77. package/src/scss/functions/_theme.scss +14 -2
  78. package/src/scss/theme/color/_defaults.scss +84 -14
  79. package/src/scss/theme/color/_index.scss +18 -3
  80. package/src/scss/theme/color/_variables.scss +63 -30
  81. package/src/scss/theme/typography/_defaults.scss +37 -7
  82. package/src/scss/utilities/_template/_defaults.scss +7 -6
  83. package/src/scss/utilities/_template/_index.scss +2 -2
  84. package/src/scss/utilities/alignment/_defaults.scss +53 -15
  85. package/src/scss/utilities/alignment/_index.scss +4 -6
  86. package/src/scss/utilities/background/_defaults.scss +117 -35
  87. package/src/scss/utilities/background/_index.scss +8 -14
  88. package/src/scss/utilities/border/_defaults.scss +77 -15
  89. package/src/scss/utilities/border/_index.scss +73 -75
  90. package/src/scss/utilities/color/_defaults.scss +55 -7
  91. package/src/scss/utilities/color/_index.scss +143 -144
  92. package/src/scss/utilities/container/_defaults.scss +21 -5
  93. package/src/scss/utilities/container/_index.scss +2 -2
  94. package/src/scss/utilities/display/_defaults.scss +18 -5
  95. package/src/scss/utilities/display/_index.scss +2 -2
  96. package/src/scss/utilities/flex/_defaults.scss +88 -25
  97. package/src/scss/utilities/flex/_index.scss +6 -10
  98. package/src/scss/utilities/gradient/_defaults.scss +64 -9
  99. package/src/scss/utilities/gradient/_index.scss +127 -129
  100. package/src/scss/utilities/height/_defaults.scss +27 -2
  101. package/src/scss/utilities/height/_index.scss +169 -163
  102. package/src/scss/utilities/inset/_defaults.scss +25 -4
  103. package/src/scss/utilities/inset/_index.scss +3 -4
  104. package/src/scss/utilities/justification/_defaults.scss +53 -15
  105. package/src/scss/utilities/justification/_index.scss +4 -6
  106. package/src/scss/utilities/list/_defaults.scss +37 -10
  107. package/src/scss/utilities/list/_index.scss +3 -4
  108. package/src/scss/utilities/order/_defaults.scss +33 -2
  109. package/src/scss/utilities/order/_index.scss +55 -67
  110. package/src/scss/utilities/position/_defaults.scss +18 -5
  111. package/src/scss/utilities/position/_index.scss +2 -2
  112. package/src/scss/utilities/ratio/_defaults.scss +15 -2
  113. package/src/scss/utilities/ratio/_index.scss +2 -2
  114. package/src/scss/utilities/spacing/_defaults.scss +18 -5
  115. package/src/scss/utilities/spacing/_index.scss +2 -2
  116. package/src/scss/utilities/typography/_defaults.scss +146 -12
  117. package/src/scss/utilities/typography/_index.scss +854 -704
  118. package/src/scss/utilities/visibility/_defaults.scss +20 -5
  119. package/src/scss/utilities/visibility/_index.scss +2 -2
  120. package/src/scss/utilities/visually-hidden/_defaults.scss +1 -0
  121. package/src/scss/utilities/visually-hidden/_index.scss +1 -0
  122. package/src/scss/utilities/width/_defaults.scss +27 -2
  123. package/src/scss/utilities/width/_index.scss +163 -163
  124. package/src/scss/utilities/z-index/_defaults.scss +17 -5
  125. package/src/scss/utilities/z-index/_index.scss +2 -2
@@ -12,6 +12,7 @@
12
12
  // Utility modifiers.
13
13
  $selector-base: root-defaults.$utility-selector-base !default;
14
14
  $use-important: root-defaults.$use-important !default;
15
+ $generate-base-utilities: root-defaults.$generate-base-utilities !default;
15
16
  $screen-aware: false !default;
16
17
  $theme-aware: false !default;
17
18
  $state-aware: false !default;
@@ -27,20 +28,27 @@ $container-aware-selector-prefix: root-defaults.$utility-container-aware-selecto
27
28
 
28
29
  // Background attachment properties.
29
30
  $background-attachment-selector-prefix: "bg-attachment-" !default;
30
- $base-background-attachment-properties: (
31
+ $-background-attachment-properties: (
31
32
  scroll: scroll,
32
33
  fixed: fixed,
33
34
  local: local,
34
35
  );
35
36
  $custom-background-attachment-properties: () !default;
36
- $background-attachment-properties: map.merge(
37
- $base-background-attachment-properties,
38
- $custom-background-attachment-properties
39
- );
37
+ $background-attachment-properties: () !default;
38
+
39
+ // @todo remove this once $custom-background-attachment-properties is removed
40
+ @if $custom-background-attachment-properties != () {
41
+ @warn "`$custom-background-attachment-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-attachment-properties` instead.";
42
+
43
+ $background-attachment-properties: map.merge(
44
+ $background-attachment-properties,
45
+ $custom-background-attachment-properties
46
+ );
47
+ }
40
48
 
41
49
  // Background clip properties.
42
50
  $background-clip-selector-prefix: "bg-clip-" !default;
43
- $base-background-clip-properties: (
51
+ $-background-clip-properties: (
44
52
  border-box: border-box,
45
53
  padding-box: padding-box,
46
54
  content-box: content-box,
@@ -48,38 +56,59 @@ $base-background-clip-properties: (
48
56
  border-area: border-area,
49
57
  );
50
58
  $custom-background-clip-properties: () !default;
51
- $background-clip-properties: map.merge(
52
- $base-background-clip-properties,
53
- $custom-background-clip-properties
54
- );
59
+ $background-clip-properties: () !default;
60
+
61
+ // @todo remove this once $custom-background-clip-properties is removed
62
+ @if $custom-background-clip-properties != () {
63
+ @warn "`$custom-background-clip-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-clip-properties` instead.";
64
+
65
+ $background-clip-properties: map.merge(
66
+ $background-clip-properties,
67
+ $custom-background-clip-properties
68
+ );
69
+ }
55
70
 
56
71
  // Background image properties.
57
72
  $background-image-selector-prefix: "bg-image-" !default;
58
- $base-background-image-properties: (
73
+ $-background-image-properties: (
59
74
  none: none,
60
75
  );
61
76
  $custom-background-image-properties: () !default;
62
- $background-image-properties: map.merge(
63
- $base-background-image-properties,
64
- $custom-background-image-properties
65
- );
77
+ $background-image-properties: () !default;
78
+
79
+ // @todo remove this once $custom-background-image-properties is removed
80
+ @if $custom-background-image-properties != () {
81
+ @warn "`$custom-background-image-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-image-properties` instead.";
82
+
83
+ $background-image-properties: map.merge(
84
+ $background-image-properties,
85
+ $custom-background-image-properties
86
+ );
87
+ }
66
88
 
67
89
  // Background origin properties.
68
90
  $background-origin-selector-prefix: "bg-origin-" !default;
69
- $base-background-origin-properties: (
91
+ $-background-origin-properties: (
70
92
  border-box: border-box,
71
93
  padding-box: padding-box,
72
94
  content-box: content-box,
73
95
  );
74
96
  $custom-background-origin-properties: () !default;
75
- $background-origin-properties: map.merge(
76
- $base-background-origin-properties,
77
- $custom-background-origin-properties
78
- );
97
+ $background-origin-properties: () !default;
98
+
99
+ // @todo remove this once $custom-background-origin-properties is removed
100
+ @if $custom-background-origin-properties != () {
101
+ @warn "`$custom-background-origin-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-origin-properties` instead.";
102
+
103
+ $background-origin-properties: map.merge(
104
+ $background-origin-properties,
105
+ $custom-background-origin-properties
106
+ );
107
+ }
79
108
 
80
109
  // Background position properties.
81
110
  $background-position-selector-prefix: "bg-position-" !default;
82
- $base-background-position-properties: (
111
+ $-background-position-properties: (
83
112
  top: top,
84
113
  right: right,
85
114
  bottom: bottom,
@@ -87,14 +116,21 @@ $base-background-position-properties: (
87
116
  center: center,
88
117
  );
89
118
  $custom-background-position-properties: () !default;
90
- $background-position-properties: map.merge(
91
- $base-background-position-properties,
92
- $custom-background-position-properties
93
- );
119
+ $background-position-properties: () !default;
120
+
121
+ // @todo remove this once $custom-background-position-properties is removed
122
+ @if $custom-background-position-properties != () {
123
+ @warn "`$custom-background-position-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-position-properties` instead.";
124
+
125
+ $background-position-properties: map.merge(
126
+ $background-position-properties,
127
+ $custom-background-position-properties
128
+ );
129
+ }
94
130
 
95
131
  // Background repeat properties.
96
132
  $background-repeat-selector-prefix: "bg-repeat-" !default;
97
- $base-background-repeat-properties: (
133
+ $-background-repeat-properties: (
98
134
  repeat: repeat,
99
135
  repeat-x: repeat-x,
100
136
  repeat-y: repeat-y,
@@ -103,20 +139,66 @@ $base-background-repeat-properties: (
103
139
  no-repeat: no-repeat,
104
140
  );
105
141
  $custom-background-repeat-properties: () !default;
106
- $background-repeat-properties: map.merge(
107
- $base-background-repeat-properties,
108
- $custom-background-repeat-properties
109
- );
142
+ $background-repeat-properties: () !default;
143
+
144
+ // @todo remove this once $custom-background-repeat-properties is removed
145
+ @if $custom-background-repeat-properties != () {
146
+ @warn "`$custom-background-repeat-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-repeat-properties` instead.";
147
+
148
+ $background-repeat-properties: map.merge(
149
+ $background-repeat-properties,
150
+ $custom-background-repeat-properties
151
+ );
152
+ }
110
153
 
111
154
  // Background size properties.
112
155
  $background-size-selector-prefix: "bg-size-" !default;
113
- $base-background-size-properties: (
156
+ $-background-size-properties: (
114
157
  auto: auto,
115
158
  cover: cover,
116
159
  contain: contain,
117
160
  );
118
161
  $custom-background-size-properties: () !default;
119
- $background-size-properties: map.merge(
120
- $base-background-size-properties,
121
- $custom-background-size-properties
122
- );
162
+ $background-size-properties: () !default;
163
+
164
+ // @todo remove this once $custom-background-size-properties is removed
165
+ @if $custom-background-size-properties != () {
166
+ @warn "`$custom-background-size-properties` is deprecated and will be removed in a future release of Graupl. Use `$background-size-properties` instead.";
167
+
168
+ $background-size-properties: map.merge(
169
+ $background-size-properties,
170
+ $custom-background-size-properties
171
+ );
172
+ }
173
+
174
+ // Merge custom properties with base properties if generating base utilities.
175
+ @if $generate-base-utilities {
176
+ $background-attachment-properties: map.merge(
177
+ $-background-attachment-properties,
178
+ $background-attachment-properties
179
+ );
180
+ $background-clip-properties: map.merge(
181
+ $-background-clip-properties,
182
+ $background-clip-properties
183
+ );
184
+ $background-image-properties: map.merge(
185
+ $-background-image-properties,
186
+ $background-image-properties
187
+ );
188
+ $background-origin-properties: map.merge(
189
+ $-background-origin-properties,
190
+ $background-origin-properties
191
+ );
192
+ $background-position-properties: map.merge(
193
+ $-background-position-properties,
194
+ $background-position-properties
195
+ );
196
+ $background-repeat-properties: map.merge(
197
+ $-background-repeat-properties,
198
+ $background-repeat-properties
199
+ );
200
+ $background-size-properties: map.merge(
201
+ $-background-size-properties,
202
+ $background-size-properties
203
+ );
204
+ }
@@ -36,6 +36,7 @@
36
36
  // The following variables control the generated classes:
37
37
  // - `$selector-base`: The base selector for the utility classes.
38
38
  // - `$use-important`: A flag to determine if the `!important` flag should be added to the utility classes.
39
+ // - `$generate-base-utilities`: A flag to determine if the base utility classes should be generated.
39
40
  // - `$screen-aware`: A flag to generate screen-aware utility classes.
40
41
  // - `$theme-aware`: A flag to generate theme-aware utility classes.
41
42
  // - `$state-aware`: A flag to generate state-aware utility classes.
@@ -49,32 +50,25 @@
49
50
  // - `$state-aware-selector-prefix`: The prefix for state-aware utility classes.
50
51
  // - `$container-aware-selector-prefix`: The prefix for container-aware utility classes.
51
52
  // - `$background-attachment-selector-prefix`: The prefix for the background attachment utility classes.
52
- // - `$base-background-attachment-properties`: The base properties and values for the background attachment utility classes.
53
- // - `$custom-background-attachment-properties`: The custom properties and values for the background attachment utility classes.
53
+ // - `$custom-background-attachment-properties`: [DEPRECATED] The custom properties and values for the background attachment utility classes.
54
54
  // - `$background-attachment-properties`: The combined properties and values for the background attachment utility classes.
55
55
  // - `$background-clip-selector-prefix`: The prefix for the background clip utility classes.
56
- // - `$base-background-clip-properties`: The base properties and values for the background clip utility classes.
57
- // - `$custom-background-clip-properties`: The custom properties and values for the background clip utility classes.
56
+ // - `$custom-background-clip-properties`: [DEPRECATED] The custom properties and values for the background clip utility classes.
58
57
  // - `$background-clip-properties`: The combined properties and values for the background clip utility classes.
59
58
  // - `$background-image-selector-prefix`: The prefix for the background image utility classes.
60
- // - `$base-background-image-properties`: The base properties and values for the background image utility classes.
61
- // - `$custom-background-image-properties`: The custom properties and values for the background image utility classes.
59
+ // - `$custom-background-image-properties`: [DEPRECATED] The custom properties and values for the background image utility classes.
62
60
  // - `$background-image-properties`: The combined properties and values for the background image utility classes.
63
61
  // - `$background-origin-selector-prefix`: The prefix for the background origin utility classes.
64
- // - `$base-background-origin-properties`: The base properties and values for the background origin utility classes.
65
- // - `$custom-background-origin-properties`: The custom properties and values for the background origin utility classes.
62
+ // - `$custom-background-origin-properties`: [DEPRECATED] The custom properties and values for the background origin utility classes.
66
63
  // - `$background-origin-properties`: The combined properties and values for the background origin utility classes.
67
64
  // - `$background-position-selector-prefix`: The prefix for the background position utility classes.
68
- // - `$base-background-position-properties`: The base properties and values for the background position utility classes.
69
- // - `$custom-background-position-properties`: The custom properties and values for the background position utility classes.
65
+ // - `$custom-background-position-properties`: [DEPRECATED] The custom properties and values for the background position utility classes.
70
66
  // - `$background-position-properties`: The combined properties and values for the background position utility classes.
71
67
  // - `$background-repeat-selector-prefix`: The prefix for the background repeat utility classes.
72
- // - `$base-background-repeat-properties`: The base properties and values for the background repeat utility classes.
73
- // - `$custom-background-repeat-properties`: The custom properties and values for the background repeat utility classes.
68
+ // - `$custom-background-repeat-properties`: [DEPRECATED] The custom properties and values for the background repeat utility classes.
74
69
  // - `$background-repeat-properties`: The combined properties and values for the background repeat utility classes.
75
70
  // - `$background-size-selector-prefix`: The prefix for the background size utility classes.
76
- // - `$base-background-size-properties`: The base properties and values for the background size utility classes.
77
- // - `$custom-background-size-properties`: The custom properties and values for the background size utility classes.
71
+ // - `$custom-background-size-properties`: [DEPRECATED] The custom properties and values for the background size utility classes.
78
72
  // - `$background-size-properties`: The combined properties and values for the background size utility classes.
79
73
  //
80
74
  // Generating responsive utility classes can be done by setting `$screen-aware`, `$theme-aware`, or `$state-aware` to `true`.
@@ -7,11 +7,14 @@
7
7
  // Those should be defined as custom properties in the `_variables.scss` file.
8
8
 
9
9
  @use "../../defaults" as root-defaults;
10
+ @use "../../functions/theme";
11
+ @use "../../theme/color/variables" as color;
10
12
  @use "sass:map";
11
13
 
12
14
  // Utility modifiers.
13
15
  $selector-base: root-defaults.$utility-selector-base !default;
14
16
  $use-important: root-defaults.$use-important !default;
17
+ $generate-base-utilities: root-defaults.$generate-base-utilities !default;
15
18
  $screen-aware: false !default;
16
19
  $theme-aware: false !default;
17
20
  $state-aware: false !default;
@@ -30,32 +33,68 @@ $default-border-selector: "bordered" !default;
30
33
 
31
34
  // Border width properties.
32
35
  $border-width-selector-prefix: "border-" !default;
33
- $base-border-width-properties: (
36
+ $-border-width-properties: (
34
37
  thick: thick,
35
38
  thin: thin,
36
39
  medium: medium,
37
40
  none: none,
38
41
  );
39
42
  $custom-border-width-properties: () !default;
40
- $border-width-properties: map.merge(
41
- $base-border-width-properties,
42
- $custom-border-width-properties
43
- );
43
+ $border-width-properties: () !default;
44
+
45
+ // @todo remove this once $custom-border-width-properties is removed
46
+ @if $custom-border-width-properties != () {
47
+ @warn "`$custom-border-width-properties` is deprecated and will be removed in a future release of Graupl. Use `$border-width-properties` instead.";
48
+
49
+ $border-width-properties: map.merge(
50
+ $border-width-properties,
51
+ $custom-border-width-properties
52
+ );
53
+ }
44
54
 
45
55
  // Border color properties.
46
56
  $border-color-selector-prefix: "border-" !default;
47
- $base-border-color-properties: (
57
+ $-border-color-properties: (
48
58
  transparent: transparent,
49
59
  );
60
+
61
+ // Add the active theme colors to the base border color properties.
62
+ @each $color in theme.get-colors() {
63
+ $map: theme.get-color($color);
64
+
65
+ @each $shade, $value in $map {
66
+ $name: null;
67
+
68
+ // Handle _default shade vs proper shade mappings.
69
+ @if $shade == "_default" {
70
+ $name: #{$color};
71
+ } @else {
72
+ $name: #{$color}-#{$shade};
73
+ }
74
+
75
+ $-border-color-properties: map.merge(
76
+ $-border-color-properties,
77
+ (#{$name}: #{$value})
78
+ );
79
+ }
80
+ }
81
+
50
82
  $custom-border-color-properties: () !default;
51
- $border-color-properties: map.merge(
52
- $base-border-color-properties,
53
- $custom-border-color-properties
54
- );
83
+ $border-color-properties: () !default;
84
+
85
+ // @todo remove this once $custom-border-color-properties is removed
86
+ @if $custom-border-color-properties != () {
87
+ @warn "`$custom-border-color-properties` is deprecated and will be removed in a future release of Graupl. Use `$border-color-properties` instead.";
88
+
89
+ $border-color-properties: map.merge(
90
+ $border-color-properties,
91
+ $custom-border-color-properties
92
+ );
93
+ }
55
94
 
56
95
  // Border style properties.
57
96
  $border-style-selector-prefix: "border-" !default;
58
- $base-border-style-properties: (
97
+ $-border-style-properties: (
59
98
  solid: solid,
60
99
  dashed: dashed,
61
100
  dotted: dotted,
@@ -67,7 +106,30 @@ $base-border-style-properties: (
67
106
  none: none,
68
107
  );
69
108
  $custom-border-style-properties: () !default;
70
- $border-style-properties: map.merge(
71
- $base-border-style-properties,
72
- $custom-border-style-properties
73
- );
109
+ $border-style-properties: () !default;
110
+
111
+ // @todo remove this once $custom-border-style-properties is removed
112
+ @if $custom-border-style-properties != () {
113
+ @warn "`$custom-border-style-properties` is deprecated and will be removed in a future release of Graupl. Use `$border-style-properties` instead.";
114
+
115
+ $border-style-properties: map.merge(
116
+ $border-style-properties,
117
+ $custom-border-style-properties
118
+ );
119
+ }
120
+
121
+ // Merge custom properties with base properties if generating base utilities.
122
+ @if $generate-base-utilities {
123
+ $border-width-properties: map.merge(
124
+ $-border-width-properties,
125
+ $border-width-properties
126
+ );
127
+ $border-color-properties: map.merge(
128
+ $-border-color-properties,
129
+ $border-color-properties
130
+ );
131
+ $border-style-properties: map.merge(
132
+ $-border-style-properties,
133
+ $border-style-properties
134
+ );
135
+ }
@@ -52,6 +52,7 @@
52
52
  // The following variables control the generated classes:
53
53
  // - `$selector-base`: The base selector for the utility classes.
54
54
  // - `$use-important`: A flag to determine if the `!important` flag should be added to the utility classes.
55
+ // - `$generate-base-utilities`: A flag to determine if the base utility classes should be generated.
55
56
  // - `$screen-aware`: A flag to generate screen-aware utility classes.
56
57
  // - `$theme-aware`: A flag to generate theme-aware utility classes.
57
58
  // - `$state-aware`: A flag to generate state-aware utility classes.
@@ -66,16 +67,13 @@
66
67
  // - `$container-aware-selector-prefix`: The prefix for container-aware utility classes.
67
68
  // - `$default-border-selector`: The selector for the default border utility class.
68
69
  // - `$border-width-selector-prefix`: The prefix for the border width utility classes.
69
- // - `$base-border-width-properties`: The base properties and values for the border width utility classes.
70
- // - `$custom-border-width-properties`: The custom properties and values for the border width utility classes.
70
+ // - `$custom-border-width-properties`: [DEPRECATED] The custom properties and values for the border width utility classes.
71
71
  // - `$border-width-properties`: The combined properties and values for the border width utility classes.
72
72
  // - `$border-color-selector-prefix`: The prefix for the border color utility classes.
73
- // - `$base-border-color-properties`: The base properties and values for the border color utility classes.
74
- // - `$custom-border-color-properties`: The custom properties and values for the border color utility classes.
73
+ // - `$custom-border-color-properties`: [DEPRECATED] The custom properties and values for the border color utility classes.
75
74
  // - `$border-color-properties`: The combined properties and values for the border color utility classes.
76
75
  // - `$border-style-selector-prefix`: The prefix for the border style utility classes.
77
- // - `$base-border-style-properties`: The base properties and values for the border style utility classes.
78
- // - `$custom-border-style-properties`: The custom properties and values for the border style utility classes.
76
+ // - `$custom-border-style-properties`: [DEPRECATED] The custom properties and values for the border style utility classes.
79
77
  // - `$border-style-properties`: The combined properties and values for the border style utility classes.
80
78
  //
81
79
  // Generating responsive utility classes can be done by setting `$screen-aware`, `$theme-aware`, or `$state-aware` to `true`.
@@ -167,19 +165,19 @@
167
165
  }
168
166
 
169
167
  // For each theme colour, create a utility class for border color.
170
- @each $color, $map in map.get(color.$themes, active) {
171
- @each $shade, $value in $map {
172
- // e.g. `.border-primary-100` or `.border-secondary-900`
173
- $selector: #{$selector-prefix}#{defaults.$border-color-selector-prefix}#{$color}-#{$shade};
174
-
175
- @include utility.create(
176
- $selector,
177
- border-color,
178
- $value,
179
- $important: defaults.$use-important
180
- );
181
- }
182
- }
168
+ // @each $color, $map in map.get(color.$themes, active) {
169
+ // @each $shade, $value in $map {
170
+ // // e.g. `.border-primary-100` or `.border-secondary-900`
171
+ // $selector: #{$selector-prefix}#{defaults.$border-color-selector-prefix}#{$color}-#{$shade};
172
+
173
+ // @include utility.create(
174
+ // $selector,
175
+ // border-color,
176
+ // $value,
177
+ // $important: defaults.$use-important
178
+ // );
179
+ // }
180
+ // }
183
181
 
184
182
  // For each border color, create a utility class for border color.
185
183
  @each $name, $value in defaults.$border-color-properties {
@@ -253,20 +251,20 @@
253
251
  }
254
252
 
255
253
  // For each theme colour, create a utility class for border color.
256
- @each $color, $map in map.get(color.$themes, active) {
257
- @each $shade, $value in $map {
258
- // e.g. `.md:border-primary-100` or `.lg:border-secondary-900`
259
- $selector: #{$selector-prefix}#{defaults.$border-color-selector-prefix}#{$color}-#{$shade};
260
-
261
- @include utility.create(
262
- $selector,
263
- border-color,
264
- $value,
265
- $important: defaults.$use-important,
266
- $screen: $screen-name
267
- );
268
- }
269
- }
254
+ // @each $color, $map in map.get(color.$themes, active) {
255
+ // @each $shade, $value in $map {
256
+ // // e.g. `.md:border-primary-100` or `.lg:border-secondary-900`
257
+ // $selector: #{$selector-prefix}#{defaults.$border-color-selector-prefix}#{$color}-#{$shade};
258
+
259
+ // @include utility.create(
260
+ // $selector,
261
+ // border-color,
262
+ // $value,
263
+ // $important: defaults.$use-important,
264
+ // $screen: $screen-name
265
+ // );
266
+ // }
267
+ // }
270
268
 
271
269
  // For each border color, create a utility class for border color.
272
270
  @each $name, $value in defaults.$border-color-properties {
@@ -344,20 +342,20 @@
344
342
  }
345
343
 
346
344
  // For each theme colour, create a utility class for border color.
347
- @each $color, $map in map.get(color.$themes, active) {
348
- @each $shade, $value in $map {
349
- // e.g. `.dark:border-primary-100` or `.light:border-secondary-900`
350
- $selector: #{$selector-prefix}#{defaults.$border-color-selector-prefix}#{$color}-#{$shade};
351
-
352
- @include utility.create(
353
- $selector,
354
- border-color,
355
- $value,
356
- $important: defaults.$use-important,
357
- $theme: $theme-name
358
- );
359
- }
360
- }
345
+ // @each $color, $map in map.get(color.$themes, active) {
346
+ // @each $shade, $value in $map {
347
+ // // e.g. `.dark:border-primary-100` or `.light:border-secondary-900`
348
+ // $selector: #{$selector-prefix}#{defaults.$border-color-selector-prefix}#{$color}-#{$shade};
349
+
350
+ // @include utility.create(
351
+ // $selector,
352
+ // border-color,
353
+ // $value,
354
+ // $important: defaults.$use-important,
355
+ // $theme: $theme-name
356
+ // );
357
+ // }
358
+ // }
361
359
 
362
360
  // For each border color, create a utility class for border color.
363
361
  @each $name, $value in defaults.$border-color-properties {
@@ -435,20 +433,20 @@
435
433
  }
436
434
 
437
435
  // For each theme colour, create a utility class for border color.
438
- @each $color, $map in map.get(color.$themes, active) {
439
- @each $shade, $value in $map {
440
- // e.g. `.hover:border-primary-100` or `.focus:border-secondary-900`
441
- $selector: #{$selector-prefix}#{defaults.$border-color-selector-prefix}#{$color}-#{$shade};
442
-
443
- @include utility.create(
444
- $selector,
445
- border-color,
446
- $value,
447
- $important: defaults.$use-important,
448
- $state: $state-name
449
- );
450
- }
451
- }
436
+ // @each $color, $map in map.get(color.$themes, active) {
437
+ // @each $shade, $value in $map {
438
+ // // e.g. `.hover:border-primary-100` or `.focus:border-secondary-900`
439
+ // $selector: #{$selector-prefix}#{defaults.$border-color-selector-prefix}#{$color}-#{$shade};
440
+
441
+ // @include utility.create(
442
+ // $selector,
443
+ // border-color,
444
+ // $value,
445
+ // $important: defaults.$use-important,
446
+ // $state: $state-name
447
+ // );
448
+ // }
449
+ // }
452
450
 
453
451
  // For each border color, create a utility class for border color.
454
452
  @each $name, $value in defaults.$border-color-properties {
@@ -525,20 +523,20 @@
525
523
  }
526
524
 
527
525
  // For each theme colour, create a utility class for border color.
528
- @each $color, $map in map.get(color.$themes, active) {
529
- @each $shade, $value in $map {
530
- // e.g. `.md:border-primary-100` or `.lg:border-secondary-900`
531
- $selector: #{$selector-prefix}#{defaults.$border-color-selector-prefix}#{$color}-#{$shade};
532
-
533
- @include utility.create(
534
- $selector,
535
- border-color,
536
- $value,
537
- $important: defaults.$use-important,
538
- $container: $container-name
539
- );
540
- }
541
- }
526
+ // @each $color, $map in map.get(color.$themes, active) {
527
+ // @each $shade, $value in $map {
528
+ // // e.g. `.md:border-primary-100` or `.lg:border-secondary-900`
529
+ // $selector: #{$selector-prefix}#{defaults.$border-color-selector-prefix}#{$color}-#{$shade};
530
+
531
+ // @include utility.create(
532
+ // $selector,
533
+ // border-color,
534
+ // $value,
535
+ // $important: defaults.$use-important,
536
+ // $container: $container-name
537
+ // );
538
+ // }
539
+ // }
542
540
 
543
541
  // For each border color, create a utility class for border color.
544
542
  @each $name, $value in defaults.$border-color-properties {