beathers 5.4.0 → 5.4.1

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.
@@ -1,295 +1,295 @@
1
- // Core configuration maps and variables for the Beathers Design System.
2
-
3
- // Defines CSS properties for color utilities.
4
- $colorsPropertiesMap: (
5
- null: color,
6
- bg: background-color,
7
- border: border-color,
8
- fill: fill,
9
- stroke: stroke,
10
- text-stroke: -webkit-text-stroke-color,
11
- );
12
-
13
- // Defines pseudo-classes for color variants.
14
- $colorsPseudoMap: (
15
- 'placeholder': '::placeholder',
16
- 'hover': ':hover',
17
- 'focus': ':focus',
18
- );
19
-
20
- // Defines available font weights.
21
- $fontWeightsValues: (
22
- 'thin': 100,
23
- 'extra-light': 200,
24
- 'light': 300,
25
- 'regular': 400,
26
- 'medium': 500,
27
- 'semibold': 600,
28
- 'bold': 700,
29
- 'extra-bold': 800,
30
- 'black': 900,
31
- );
32
-
33
- // Defines text transformation and decoration options.
34
- $fontShapes: (
35
- 'transform': (
36
- uppercase,
37
- lowercase,
38
- capitalize,
39
- ),
40
- 'decoration': (
41
- underline,
42
- line-through,
43
- ),
44
- 'styles': (
45
- wavy,
46
- double,
47
- dotted,
48
- dashed,
49
- ),
50
- );
51
-
52
- // Defines text alignment options.
53
- $aligns: (left, start, right, end, justify, center);
54
-
55
- // Defines flexbox properties.
56
- $flexProperties: (
57
- flex-wrap: wrap nowrap,
58
- flex-direction: row row-reverse column column-reverse,
59
- );
60
-
61
- // Defines display utility options.
62
- $displays: (inline, block, inline-block, flex, inline-flex, inline-grid, table, table-cell, none);
63
-
64
- // Defines overflow directions.
65
- $overflowsDirections: (null, 'x', 'y');
66
- // Defines overflow behaviors.
67
- $overflows: (visible, hidden, auto, scroll);
68
- // Defines object-fit property values.
69
- $objectsFits: (cover, fill, contain, none);
70
-
71
- // Defines available cursor types.
72
- $cursors: (
73
- alias,
74
- auto,
75
- cell,
76
- context-menu,
77
- copy,
78
- crosshair,
79
- default,
80
- grab,
81
- grabbing,
82
- help,
83
- move,
84
- no-drop,
85
- none,
86
- not-allowed,
87
- pointer,
88
- progress,
89
- col-resize,
90
- row-resize,
91
- text,
92
- wait,
93
- zoom-in,
94
- zoom-out
95
- );
96
-
97
- // Defines shadow presets.
98
- $shadows: (
99
- 'light': (
100
- x: 0,
101
- y: 2,
102
- blur: 5,
103
- spread: 0,
104
- opacity: 0.15,
105
- ),
106
- 'soft': (
107
- x: 2,
108
- y: 2,
109
- blur: 12,
110
- spread: 0,
111
- opacity: 0.2,
112
- ),
113
- 'medium': (
114
- x: 0,
115
- y: 10,
116
- blur: 20,
117
- spread: 0,
118
- opacity: 0.2,
119
- ),
120
- 'solid': (
121
- x: 0,
122
- y: 4,
123
- blur: 10,
124
- spread: 0,
125
- opacity: 0.3,
126
- ),
127
- 'ambient': (
128
- x: 0,
129
- y: 0,
130
- blur: 40,
131
- spread: 10,
132
- opacity: 0.1,
133
- ),
134
- 'flat': (
135
- x: 0,
136
- y: 6,
137
- blur: 6,
138
- spread: 4,
139
- opacity: 0.2,
140
- ),
141
- 'floating': (
142
- x: 0,
143
- y: 20,
144
- blur: 40,
145
- spread: 0,
146
- opacity: 0.15,
147
- ),
148
- );
149
-
150
- // Defines utility classes for clearing properties.
151
- $clearanceOptions: (
152
- no-bg: (
153
- background: unset,
154
- background-color: unset,
155
- ),
156
- no-border: (
157
- border: unset,
158
- ),
159
- no-radius: (
160
- border-radius: unset,
161
- ),
162
- no-events: (
163
- pointer-events: none,
164
- ),
165
- no-position: (
166
- position: unset,
167
- ),
168
- );
169
-
170
- // Defines available position values.
171
- $positions: static, relative, fixed, absolute, sticky;
172
-
173
- // Defines inset positioning options.
174
- $insetPositions: null, inline, block;
175
-
176
- // Defines the step for spacing utilities.
177
- $spacesStep: 5;
178
-
179
- // Defines properties for width and height utilities.
180
- $spacesDirections: (
181
- 'w': width,
182
- 'min#{\:}w': min-width,
183
- 'max#{\:}w': max-width,
184
- 'h': height,
185
- 'min#{\:}h': min-height,
186
- 'max#{\:}h': max-height,
187
- );
188
-
189
- // Defines properties for padding, margin and gap utilities.
190
- $gutters: (
191
- p: padding,
192
- px: padding-inline,
193
- py: padding-block,
194
- ps: padding-inline-start,
195
- pe: padding-inline-end,
196
- pt: padding-block-start,
197
- pb: padding-block-end,
198
- m: margin,
199
- mx: margin-inline,
200
- my: margin-block,
201
- ms: margin-inline-start,
202
- me: margin-inline-end,
203
- mt: margin-block-start,
204
- mb: margin-block-end,
205
- g: gap,
206
- gx: column-gap,
207
- gy: row-gap,
208
- );
209
-
210
- // Defines border direction properties.
211
- $bordersDirections: (
212
- null: border,
213
- 'top': border-block-start,
214
- 'bottom': border-block-end,
215
- 'start': border-inline-start,
216
- 'end': border-inline-end,
217
- );
218
-
219
- // Defines border-radius direction properties.
220
- $radiusDirection: (
221
- null: (
222
- border-radius,
223
- ),
224
- 'top': (
225
- border-start-start-radius,
226
- border-start-end-radius,
227
- ),
228
- 'bottom': (
229
- border-end-start-radius,
230
- border-end-end-radius,
231
- ),
232
- 'start': (
233
- border-start-start-radius,
234
- border-end-start-radius,
235
- ),
236
- 'end': (
237
- border-start-end-radius,
238
- border-end-end-radius,
239
- ),
240
- 'top-start': (
241
- border-start-start-radius,
242
- ),
243
- 'top-end': (
244
- border-start-end-radius,
245
- ),
246
- 'bottom-start': (
247
- border-end-start-radius,
248
- ),
249
- 'bottom-end': (
250
- border-end-end-radius,
251
- ),
252
- );
253
-
254
- $justify: (
255
- justify: (
256
- content: (
257
- start,
258
- center,
259
- end,
260
- between,
261
- around,
262
- evenly,
263
- ),
264
- self: (
265
- auto,
266
- center,
267
- stretch,
268
- ),
269
- ),
270
- align: (
271
- content: (
272
- start,
273
- center,
274
- end,
275
- around,
276
- between,
277
- stretch,
278
- ),
279
- items: (
280
- start,
281
- center,
282
- end,
283
- stretch,
284
- baseline,
285
- ),
286
- self: (
287
- auto,
288
- start,
289
- center,
290
- end,
291
- stretch,
292
- baseline,
293
- ),
294
- ),
295
- );
1
+ // Core configuration maps and variables for the Beathers Design System.
2
+
3
+ // Defines CSS properties for color utilities.
4
+ $colorsPropertiesMap: (
5
+ null: color,
6
+ bg: background-color,
7
+ border: border-color,
8
+ fill: fill,
9
+ stroke: stroke,
10
+ text-stroke: -webkit-text-stroke-color,
11
+ );
12
+
13
+ // Defines pseudo-classes for color variants.
14
+ $colorsPseudoMap: (
15
+ 'placeholder': '::placeholder',
16
+ 'hover': ':hover',
17
+ 'focus': ':focus',
18
+ );
19
+
20
+ // Defines available font weights.
21
+ $fontWeightsValues: (
22
+ 'thin': 100,
23
+ 'extra-light': 200,
24
+ 'light': 300,
25
+ 'regular': 400,
26
+ 'medium': 500,
27
+ 'semibold': 600,
28
+ 'bold': 700,
29
+ 'extra-bold': 800,
30
+ 'black': 900,
31
+ );
32
+
33
+ // Defines text transformation and decoration options.
34
+ $fontShapes: (
35
+ 'transform': (
36
+ uppercase,
37
+ lowercase,
38
+ capitalize,
39
+ ),
40
+ 'decoration': (
41
+ underline,
42
+ line-through,
43
+ ),
44
+ 'styles': (
45
+ wavy,
46
+ double,
47
+ dotted,
48
+ dashed,
49
+ ),
50
+ );
51
+
52
+ // Defines text alignment options.
53
+ $aligns: (left, start, right, end, justify, center);
54
+
55
+ // Defines flexbox properties.
56
+ $flexProperties: (
57
+ flex-wrap: wrap nowrap,
58
+ flex-direction: row row-reverse column column-reverse,
59
+ );
60
+
61
+ // Defines display utility options.
62
+ $displays: (inline, block, inline-block, flex, inline-flex, inline-grid, table, table-cell, none);
63
+
64
+ // Defines overflow directions.
65
+ $overflowsDirections: (null, 'x', 'y');
66
+ // Defines overflow behaviors.
67
+ $overflows: (visible, hidden, auto, scroll);
68
+ // Defines object-fit property values.
69
+ $objectsFits: (cover, fill, contain, none);
70
+
71
+ // Defines available cursor types.
72
+ $cursors: (
73
+ alias,
74
+ auto,
75
+ cell,
76
+ context-menu,
77
+ copy,
78
+ crosshair,
79
+ default,
80
+ grab,
81
+ grabbing,
82
+ help,
83
+ move,
84
+ no-drop,
85
+ none,
86
+ not-allowed,
87
+ pointer,
88
+ progress,
89
+ col-resize,
90
+ row-resize,
91
+ text,
92
+ wait,
93
+ zoom-in,
94
+ zoom-out
95
+ );
96
+
97
+ // Defines shadow presets.
98
+ $shadows: (
99
+ 'light': (
100
+ x: 0,
101
+ y: 2,
102
+ blur: 5,
103
+ spread: 0,
104
+ opacity: 0.15,
105
+ ),
106
+ 'soft': (
107
+ x: 2,
108
+ y: 2,
109
+ blur: 12,
110
+ spread: 0,
111
+ opacity: 0.2,
112
+ ),
113
+ 'medium': (
114
+ x: 0,
115
+ y: 10,
116
+ blur: 20,
117
+ spread: 0,
118
+ opacity: 0.2,
119
+ ),
120
+ 'solid': (
121
+ x: 0,
122
+ y: 4,
123
+ blur: 10,
124
+ spread: 0,
125
+ opacity: 0.3,
126
+ ),
127
+ 'ambient': (
128
+ x: 0,
129
+ y: 0,
130
+ blur: 40,
131
+ spread: 10,
132
+ opacity: 0.1,
133
+ ),
134
+ 'flat': (
135
+ x: 0,
136
+ y: 6,
137
+ blur: 6,
138
+ spread: 4,
139
+ opacity: 0.2,
140
+ ),
141
+ 'floating': (
142
+ x: 0,
143
+ y: 20,
144
+ blur: 40,
145
+ spread: 0,
146
+ opacity: 0.15,
147
+ ),
148
+ );
149
+
150
+ // Defines utility classes for clearing properties.
151
+ $clearanceOptions: (
152
+ no-bg: (
153
+ background: unset,
154
+ background-color: unset,
155
+ ),
156
+ no-border: (
157
+ border: unset,
158
+ ),
159
+ no-radius: (
160
+ border-radius: unset,
161
+ ),
162
+ no-events: (
163
+ pointer-events: none,
164
+ ),
165
+ no-position: (
166
+ position: unset,
167
+ ),
168
+ );
169
+
170
+ // Defines available position values.
171
+ $positions: static, relative, fixed, absolute, sticky;
172
+
173
+ // Defines inset positioning options.
174
+ $insetPositions: null, inline, block;
175
+
176
+ // Defines the step for spacing utilities.
177
+ $spacesStep: 5;
178
+
179
+ // Defines properties for width and height utilities.
180
+ $spacesDirections: (
181
+ 'w': width,
182
+ 'min#{\:}w': min-width,
183
+ 'max#{\:}w': max-width,
184
+ 'h': height,
185
+ 'min#{\:}h': min-height,
186
+ 'max#{\:}h': max-height,
187
+ );
188
+
189
+ // Defines properties for padding, margin and gap utilities.
190
+ $gutters: (
191
+ p: padding,
192
+ px: padding-inline,
193
+ py: padding-block,
194
+ ps: padding-inline-start,
195
+ pe: padding-inline-end,
196
+ pt: padding-block-start,
197
+ pb: padding-block-end,
198
+ m: margin,
199
+ mx: margin-inline,
200
+ my: margin-block,
201
+ ms: margin-inline-start,
202
+ me: margin-inline-end,
203
+ mt: margin-block-start,
204
+ mb: margin-block-end,
205
+ g: gap,
206
+ gx: column-gap,
207
+ gy: row-gap,
208
+ );
209
+
210
+ // Defines border direction properties.
211
+ $bordersDirections: (
212
+ null: border,
213
+ 'top': border-block-start,
214
+ 'bottom': border-block-end,
215
+ 'start': border-inline-start,
216
+ 'end': border-inline-end,
217
+ );
218
+
219
+ // Defines border-radius direction properties.
220
+ $radiusDirection: (
221
+ null: (
222
+ border-radius,
223
+ ),
224
+ 'top': (
225
+ border-start-start-radius,
226
+ border-start-end-radius,
227
+ ),
228
+ 'bottom': (
229
+ border-end-start-radius,
230
+ border-end-end-radius,
231
+ ),
232
+ 'start': (
233
+ border-start-start-radius,
234
+ border-end-start-radius,
235
+ ),
236
+ 'end': (
237
+ border-start-end-radius,
238
+ border-end-end-radius,
239
+ ),
240
+ 'top-start': (
241
+ border-start-start-radius,
242
+ ),
243
+ 'top-end': (
244
+ border-start-end-radius,
245
+ ),
246
+ 'bottom-start': (
247
+ border-end-start-radius,
248
+ ),
249
+ 'bottom-end': (
250
+ border-end-end-radius,
251
+ ),
252
+ );
253
+
254
+ $justify: (
255
+ justify: (
256
+ content: (
257
+ start,
258
+ center,
259
+ end,
260
+ between,
261
+ around,
262
+ evenly,
263
+ ),
264
+ self: (
265
+ auto,
266
+ center,
267
+ stretch,
268
+ ),
269
+ ),
270
+ align: (
271
+ content: (
272
+ start,
273
+ center,
274
+ end,
275
+ around,
276
+ between,
277
+ stretch,
278
+ ),
279
+ items: (
280
+ start,
281
+ center,
282
+ end,
283
+ stretch,
284
+ baseline,
285
+ ),
286
+ self: (
287
+ auto,
288
+ start,
289
+ center,
290
+ end,
291
+ stretch,
292
+ baseline,
293
+ ),
294
+ ),
295
+ );