yummacss 2.1.0 → 3.0.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.
- package/LICENSE +17 -18
- package/README.md +58 -23
- package/dist/cli/commands/build.js +43 -0
- package/dist/cli/commands/init.js +19 -0
- package/dist/cli/commands/watch.js +48 -0
- package/dist/cli/config/defaultConfig.js +9 -0
- package/dist/cli/config/templates.js +33 -0
- package/dist/cli/lang.js +23 -0
- package/dist/cli/lib/cli-lang.js +23 -0
- package/dist/cli/lib/cli-ui.js +14 -0
- package/dist/cli/services/configLoader.js +42 -0
- package/dist/cli/services/minifyService.js +16 -0
- package/dist/cli/services/purgeService.js +12 -0
- package/dist/cli/services/scssCompiler.js +34 -0
- package/dist/cli/src/cli.js +16 -0
- package/dist/cli/utils/cli-ui.js +13 -0
- package/dist/cli/utils/ui.js +15 -0
- package/package.json +65 -24
- package/src/_fonts.scss +8 -6
- package/src/abstracts/_breakpoints.scss +12 -10
- package/src/abstracts/_index.scss +5 -0
- package/src/abstracts/_theme.scss +19 -16
- package/src/abstracts/_variables.scss +70 -56
- package/src/abstracts/functions/_create-values.scss +16 -0
- package/src/abstracts/functions/_ignore-neutral.scss +9 -0
- package/src/abstracts/functions/_index.scss +2 -0
- package/src/abstracts/mixins/_create-colors.scss +39 -0
- package/src/abstracts/mixins/_create-utilities.scss +39 -0
- package/src/abstracts/mixins/_extend-utilities.scss +24 -0
- package/src/abstracts/mixins/_index.scss +3 -0
- package/src/reset/_stylecent.scss +231 -0
- package/src/utilities/_background.scss +95 -0
- package/src/utilities/_border.scss +313 -0
- package/src/utilities/_box-model.scss +274 -91
- package/src/utilities/_color.scss +85 -0
- package/src/utilities/_effect.scss +98 -0
- package/src/utilities/_flexbox.scss +122 -56
- package/src/utilities/_grid.scss +52 -95
- package/src/utilities/_index.scss +14 -0
- package/src/utilities/_interactivity.scss +304 -0
- package/src/utilities/_outline.scss +53 -0
- package/src/utilities/_positioning.scss +436 -0
- package/src/utilities/_svg.scss +27 -0
- package/src/utilities/_table.scss +35 -0
- package/src/utilities/_transform.scss +164 -0
- package/src/utilities/_typography.scss +167 -57
- package/src/utilities/maps/_index.scss +12 -0
- package/src/utilities/maps/box-model/_dimension.scss +16 -0
- package/src/utilities/maps/box-model/_height.scss +16 -0
- package/src/utilities/maps/box-model/_margin.scss +10 -0
- package/src/utilities/maps/box-model/_padding.scss +10 -0
- package/src/utilities/maps/box-model/_width.scss +16 -0
- package/src/utilities/maps/flexbox/_flex-basis.scss +12 -0
- package/src/utilities/maps/grid/_gap.scss +5 -0
- package/src/yummacss-core.scss +3 -0
- package/src/yummacss.scss +4 -0
- package/.prettierrc +0 -9
- package/CHANGELOG.md +0 -58
- package/dist/yumma-core.css +0 -238809
- package/dist/yumma-core.min.css +0 -1
- package/dist/yumma.css +0 -238878
- package/dist/yumma.min.css +0 -1
- package/gulpfile.js +0 -44
- package/src/_base.scss +0 -72
- package/src/abstracts/_colors.scss +0 -29
- package/src/abstracts/_extensions.scss +0 -19
- package/src/abstracts/_functions.scss +0 -3
- package/src/abstracts/_layout.scss +0 -18
- package/src/abstracts/_mixins.scss +0 -575
- package/src/core.scss +0 -3
- package/src/utilities/_borders.scss +0 -214
- package/src/utilities/_effects.scss +0 -74
- package/src/utilities/_filters.scss +0 -57
- package/src/utilities/_interactions.scss +0 -111
- package/src/utilities/_layout.scss +0 -310
- package/src/utilities/_outlines.scss +0 -76
- package/src/utilities/_tables.scss +0 -61
- package/src/yumma.scss +0 -23
|
@@ -1,575 +0,0 @@
|
|
|
1
|
-
@import "breakpoints";
|
|
2
|
-
|
|
3
|
-
@mixin color-variants($property, $prefix, $k, $v) {
|
|
4
|
-
.#{$prefix}-#{$k} {
|
|
5
|
-
#{$property}: $v;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.h\:#{$prefix}-#{$k} {
|
|
9
|
-
&:hover {
|
|
10
|
-
#{$property}: $v;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@mixin shade-variants($property, $prefix, $k, $v, $mod) {
|
|
16
|
-
@for $i from 1 through 6 {
|
|
17
|
-
// light variants
|
|
18
|
-
.#{$prefix}-l-#{$k}-#{$i} {
|
|
19
|
-
#{$property}: mix(white, $v, $i * $mod);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.h\:#{$prefix}-l-#{$k}-#{$i} {
|
|
23
|
-
&:hover {
|
|
24
|
-
#{$property}: mix(white, $v, $i * $mod);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// dark variants
|
|
29
|
-
.#{$prefix}-d-#{$k}-#{$i} {
|
|
30
|
-
#{$property}: mix(black, $v, $i * $mod);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.h\:#{$prefix}-d-#{$k}-#{$i} {
|
|
34
|
-
&:hover {
|
|
35
|
-
#{$property}: mix(black, $v, $i * $mod);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@mixin variants($property, $prefix, $unit) {
|
|
42
|
-
@for $i from 0 through 100 {
|
|
43
|
-
.#{$prefix}-#{$i} {
|
|
44
|
-
#{$property}: $i * $unit;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Hover variant
|
|
48
|
-
.h\:#{$prefix}-#{$i}:hover {
|
|
49
|
-
#{$property}: $i * $unit;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
53
|
-
.#{$bp}\:#{$prefix}-#{$i} {
|
|
54
|
-
@include breakpoint($bp-value) {
|
|
55
|
-
#{$property}: $i * $unit;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Responsive hover variant
|
|
60
|
-
.h\:#{$bp}\:#{$prefix}-#{$i}:hover {
|
|
61
|
-
@include breakpoint($bp-value) {
|
|
62
|
-
#{$property}: $i * $unit;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@mixin dimension-variants($prefix, $height-unit, $width-unit) {
|
|
70
|
-
@for $i from 0 through 100 {
|
|
71
|
-
.#{$prefix}-#{$i} {
|
|
72
|
-
height: $i * $height-unit;
|
|
73
|
-
width: $i * $width-unit;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// Hover variant
|
|
77
|
-
.h\:#{$prefix}-#{$i}:hover {
|
|
78
|
-
height: $i * $height-unit;
|
|
79
|
-
width: $i * $width-unit;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
83
|
-
.#{$bp}\:#{$prefix}-#{$i} {
|
|
84
|
-
@include breakpoint($bp-value) {
|
|
85
|
-
height: $i * $height-unit;
|
|
86
|
-
width: $i * $width-unit;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Responsive hover variant
|
|
91
|
-
.h\:#{$bp}\:#{$prefix}-#{$i}:hover {
|
|
92
|
-
@include breakpoint($bp-value) {
|
|
93
|
-
height: $i * $height-unit;
|
|
94
|
-
width: $i * $width-unit;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@mixin x-axis-variants($property, $prefix, $unit) {
|
|
102
|
-
@for $i from 0 through 100 {
|
|
103
|
-
.#{$prefix}-#{$i} {
|
|
104
|
-
#{$property}-left: $i * $unit;
|
|
105
|
-
#{$property}-right: $i * $unit;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// Hover variant
|
|
109
|
-
.h\:#{$prefix}-#{$i}:hover {
|
|
110
|
-
#{$property}-left: $i * $unit;
|
|
111
|
-
#{$property}-right: $i * $unit;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// Responsive variant
|
|
115
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
116
|
-
.#{$bp}\:#{$prefix}-#{$i} {
|
|
117
|
-
@include breakpoint($bp-value) {
|
|
118
|
-
#{$property}-left: $i * $unit;
|
|
119
|
-
#{$property}-right: $i * $unit;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// Responsive hover variant
|
|
124
|
-
.h\:#{$bp}\:#{$prefix}-#{$i}:hover {
|
|
125
|
-
@include breakpoint($bp-value) {
|
|
126
|
-
#{$property}-left: $i * $unit;
|
|
127
|
-
#{$property}-right: $i * $unit;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@mixin y-axis-variants($property, $prefix, $unit) {
|
|
135
|
-
@for $i from 0 through 100 {
|
|
136
|
-
.#{$prefix}-#{$i} {
|
|
137
|
-
#{$property}-top: $i * $unit;
|
|
138
|
-
#{$property}-bottom: $i * $unit;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// Hover variant
|
|
142
|
-
.h\:#{$prefix}-#{$i}:hover {
|
|
143
|
-
#{$property}-top: $i * $unit;
|
|
144
|
-
#{$property}-bottom: $i * $unit;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// Responsive hover variant
|
|
148
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
149
|
-
.#{$bp}\:#{$prefix}-#{$i} {
|
|
150
|
-
@include breakpoint($bp-value) {
|
|
151
|
-
#{$property}-top: $i * $unit;
|
|
152
|
-
#{$property}-bottom: $i * $unit;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
// Responsive hover variant
|
|
157
|
-
.h\:#{$bp}\:#{$prefix}-#{$i}:hover {
|
|
158
|
-
@include breakpoint($bp-value) {
|
|
159
|
-
#{$property}-top: $i * $unit;
|
|
160
|
-
#{$property}-bottom: $i * $unit;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@mixin spacing-x($prefix, $unit) {
|
|
168
|
-
@for $i from 0 through 100 {
|
|
169
|
-
.#{$prefix}-#{$i} > :not([hidden]) ~ :not([hidden]) {
|
|
170
|
-
margin-left: calc(#{$i * $unit} * calc(1 - 0));
|
|
171
|
-
margin-right: calc(#{$i * $unit} * 0);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.h\:#{$prefix}-#{$i}:hover > :not([hidden]) ~ :not([hidden]) {
|
|
175
|
-
margin-left: calc(#{$i * $unit} * calc(1 - 0));
|
|
176
|
-
margin-right: calc(#{$i * $unit} * 0);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
180
|
-
.#{$bp}\:#{$prefix}-#{$i} > :not([hidden]) ~ :not([hidden]) {
|
|
181
|
-
@include breakpoint($bp-value) {
|
|
182
|
-
margin-left: calc(#{$i * $unit} * calc(1 - 0));
|
|
183
|
-
margin-right: calc(#{$i * $unit} * 0);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.h\:#{$bp}\:#{$prefix}-#{$i}:hover > :not([hidden]) ~ :not([hidden]) {
|
|
188
|
-
@include breakpoint($bp-value) {
|
|
189
|
-
margin-left: calc(#{$i * $unit} * calc(1 - 0));
|
|
190
|
-
margin-right: calc(#{$i * $unit} * 0);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
@mixin spacing-y($prefix, $unit) {
|
|
198
|
-
@for $i from 0 through 100 {
|
|
199
|
-
.#{$prefix}-#{$i} > :not([hidden]) ~ :not([hidden]) {
|
|
200
|
-
margin-top: calc(#{$i * $unit} * calc(1 - 0));
|
|
201
|
-
margin-bottom: calc(#{$i * $unit} * 0);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.h\:#{$prefix}-#{$i}:hover > :not([hidden]) ~ :not([hidden]) {
|
|
205
|
-
margin-top: calc(#{$i * $unit} * calc(1 - 0));
|
|
206
|
-
margin-bottom: calc(#{$i * $unit} * 0);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
210
|
-
.#{$bp}\:#{$prefix}-#{$i} > :not([hidden]) ~ :not([hidden]) {
|
|
211
|
-
@include breakpoint($bp-value) {
|
|
212
|
-
margin-top: calc(#{$i * $unit} * calc(1 - 0));
|
|
213
|
-
margin-bottom: calc(#{$i * $unit} * 0);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.h\:#{$bp}\:#{$prefix}-#{$i}:hover > :not([hidden]) ~ :not([hidden]) {
|
|
218
|
-
@include breakpoint($bp-value) {
|
|
219
|
-
margin-top: calc(#{$i * $unit} * calc(1 - 0));
|
|
220
|
-
margin-bottom: calc(#{$i * $unit} * 0);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
// Utility extensions
|
|
228
|
-
@mixin extensions($map, $prefixes) {
|
|
229
|
-
@each $k, $v in $map {
|
|
230
|
-
@each $prefix, $property in $prefixes {
|
|
231
|
-
.#{$prefix}-#{$k} {
|
|
232
|
-
#{$property}: $v;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
// Hover variant
|
|
236
|
-
.h\:#{$prefix}-#{$k}:hover {
|
|
237
|
-
#{$property}: $v;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
// Responsive hover variant
|
|
241
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
242
|
-
.#{$bp}\:#{$prefix}-#{$k} {
|
|
243
|
-
@include breakpoint($bp-value) {
|
|
244
|
-
#{$property}: $v;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
// Responsive hover variant
|
|
249
|
-
.h\:#{$bp}\:#{$prefix}-#{$k}:hover {
|
|
250
|
-
@include breakpoint($bp-value) {
|
|
251
|
-
#{$property}: $v;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
@mixin dimension-extensions($map) {
|
|
260
|
-
@each $k, $v in $map {
|
|
261
|
-
.dim-#{$k} {
|
|
262
|
-
height: $v;
|
|
263
|
-
width: $v;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.h\:dim-#{$k}:hover {
|
|
267
|
-
height: $v;
|
|
268
|
-
width: $v;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.max-dim-#{$k} {
|
|
272
|
-
max-height: $v;
|
|
273
|
-
max-width: $v;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.h\:max-dim-#{$k}:hover {
|
|
277
|
-
max-height: $v;
|
|
278
|
-
max-width: $v;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.min-dim-#{$k} {
|
|
282
|
-
min-height: $v;
|
|
283
|
-
min-width: $v;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.h\:min-dim-#{$k}:hover {
|
|
287
|
-
min-height: $v;
|
|
288
|
-
min-width: $v;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
292
|
-
.#{$bp}\:dim-#{$k} {
|
|
293
|
-
@include breakpoint($bp-value) {
|
|
294
|
-
height: $v;
|
|
295
|
-
width: $v;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.h\:#{$bp}\:dim-#{$k}:hover {
|
|
300
|
-
@include breakpoint($bp-value) {
|
|
301
|
-
height: $v;
|
|
302
|
-
width: $v;
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.#{$bp}\:max-dim-#{$k} {
|
|
307
|
-
@include breakpoint($bp-value) {
|
|
308
|
-
max-height: $v;
|
|
309
|
-
max-width: $v;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.h\:#{$bp}\:max-dim-#{$k}:hover {
|
|
314
|
-
@include breakpoint($bp-value) {
|
|
315
|
-
max-height: $v;
|
|
316
|
-
max-width: $v;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.#{$bp}\:min-dim-#{$k} {
|
|
321
|
-
@include breakpoint($bp-value) {
|
|
322
|
-
min-height: $v;
|
|
323
|
-
min-width: $v;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.h\:#{$bp}\:min-dim-#{$k}:hover {
|
|
328
|
-
@include breakpoint($bp-value) {
|
|
329
|
-
min-height: $v;
|
|
330
|
-
min-width: $v;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
@mixin box-model-extensions($map, $prefixes, $property) {
|
|
338
|
-
@each $k, $v in $map {
|
|
339
|
-
@if $k == "auto" {
|
|
340
|
-
@each $prefix in $prefixes {
|
|
341
|
-
.#{$prefix}-#{$k} {
|
|
342
|
-
#{$property}: $v;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.h\:#{$prefix}-#{$k}:hover {
|
|
346
|
-
#{$property}: $v;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.mx-#{$k} {
|
|
351
|
-
margin-left: $v;
|
|
352
|
-
margin-right: $v;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.h\:mx-#{$k}:hover {
|
|
356
|
-
margin-left: $v;
|
|
357
|
-
margin-right: $v;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.px-#{$k} {
|
|
361
|
-
padding-left: $v;
|
|
362
|
-
padding-right: $v;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
.h\:px-#{$k}:hover {
|
|
366
|
-
padding-left: $v;
|
|
367
|
-
padding-right: $v;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.my-#{$k} {
|
|
371
|
-
margin-bottom: $v;
|
|
372
|
-
margin-top: $v;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.h\:my-#{$k}:hover {
|
|
376
|
-
margin-bottom: $v;
|
|
377
|
-
margin-top: $v;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
.py-#{$k} {
|
|
381
|
-
padding-bottom: $v;
|
|
382
|
-
padding-top: $v;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
.h\:py-#{$k}:hover {
|
|
386
|
-
padding-bottom: $v;
|
|
387
|
-
padding-top: $v;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
391
|
-
@each $prefix in $prefixes {
|
|
392
|
-
.#{$bp}\:#{$prefix}-#{$k} {
|
|
393
|
-
@include breakpoint($bp-value) {
|
|
394
|
-
#{$property}: $v;
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.h\:#{$bp}\:#{$prefix}-#{$k}:hover {
|
|
399
|
-
@include breakpoint($bp-value) {
|
|
400
|
-
#{$property}: $v;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
.#{$bp}\:mx-#{$k} {
|
|
406
|
-
@include breakpoint($bp-value) {
|
|
407
|
-
margin-left: $v;
|
|
408
|
-
margin-right: $v;
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.h\:#{$bp}\:mx-#{$k}:hover {
|
|
413
|
-
@include breakpoint($bp-value) {
|
|
414
|
-
margin-left: $v;
|
|
415
|
-
margin-right: $v;
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.#{$bp}\:px-#{$k} {
|
|
420
|
-
@include breakpoint($bp-value) {
|
|
421
|
-
padding-left: $v;
|
|
422
|
-
padding-right: $v;
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
.h\:#{$bp}\:px-#{$k}:hover {
|
|
427
|
-
@include breakpoint($bp-value) {
|
|
428
|
-
padding-left: $v;
|
|
429
|
-
padding-right: $v;
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
.#{$bp}\:my-#{$k} {
|
|
434
|
-
@include breakpoint($bp-value) {
|
|
435
|
-
margin-bottom: $v;
|
|
436
|
-
margin-top: $v;
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.h\:#{$bp}\:my-#{$k}:hover {
|
|
441
|
-
@include breakpoint($bp-value) {
|
|
442
|
-
margin-bottom: $v;
|
|
443
|
-
margin-top: $v;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.#{$bp}\:py-#{$k} {
|
|
448
|
-
@include breakpoint($bp-value) {
|
|
449
|
-
padding-bottom: $v;
|
|
450
|
-
padding-top: $v;
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
.h\:#{$bp}\:py-#{$k}:hover {
|
|
455
|
-
@include breakpoint($bp-value) {
|
|
456
|
-
padding-bottom: $v;
|
|
457
|
-
padding-top: $v;
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
@mixin height-extensions($map) {
|
|
466
|
-
@each $k, $v in $map {
|
|
467
|
-
.h-#{$k} {
|
|
468
|
-
height: $v;
|
|
469
|
-
}
|
|
470
|
-
.h\:h-#{$k}:hover {
|
|
471
|
-
height: $v;
|
|
472
|
-
}
|
|
473
|
-
.max-h-#{$k} {
|
|
474
|
-
max-height: $v;
|
|
475
|
-
}
|
|
476
|
-
.h\:max-h-#{$k}:hover {
|
|
477
|
-
max-height: $v;
|
|
478
|
-
}
|
|
479
|
-
.min-h-#{$k} {
|
|
480
|
-
min-height: $v;
|
|
481
|
-
}
|
|
482
|
-
.h\:min-h-#{$k}:hover {
|
|
483
|
-
min-height: $v;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
487
|
-
.#{$bp}\:h-#{$k} {
|
|
488
|
-
@include breakpoint($bp-value) {
|
|
489
|
-
height: $v;
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
.h\:#{$bp}\:h-#{$k}:hover {
|
|
493
|
-
@include breakpoint($bp-value) {
|
|
494
|
-
height: $v;
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
.#{$bp}\:max-h-#{$k} {
|
|
498
|
-
@include breakpoint($bp-value) {
|
|
499
|
-
max-height: $v;
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
.h\:#{$bp}\:max-h-#{$k}:hover {
|
|
503
|
-
@include breakpoint($bp-value) {
|
|
504
|
-
max-height: $v;
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
.#{$bp}\:min-h-#{$k} {
|
|
508
|
-
@include breakpoint($bp-value) {
|
|
509
|
-
min-height: $v;
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
.h\:#{$bp}\:min-h-#{$k}:hover {
|
|
513
|
-
@include breakpoint($bp-value) {
|
|
514
|
-
min-height: $v;
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
@mixin width-extensions($map) {
|
|
522
|
-
@each $k, $v in $map {
|
|
523
|
-
.w-#{$k} {
|
|
524
|
-
width: $v;
|
|
525
|
-
}
|
|
526
|
-
.h\:w-#{$k}:hover {
|
|
527
|
-
width: $v;
|
|
528
|
-
}
|
|
529
|
-
.max-w-#{$k} {
|
|
530
|
-
max-width: $v;
|
|
531
|
-
}
|
|
532
|
-
.h\:max-w-#{$k}:hover {
|
|
533
|
-
max-width: $v;
|
|
534
|
-
}
|
|
535
|
-
.min-w-#{$k} {
|
|
536
|
-
min-width: $v;
|
|
537
|
-
}
|
|
538
|
-
.h\:min-w-#{$k}:hover {
|
|
539
|
-
min-width: $v;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
@each $bp, $bp-value in $yma-breakpoints {
|
|
543
|
-
.#{$bp}\:w-#{$k} {
|
|
544
|
-
@include breakpoint($bp-value) {
|
|
545
|
-
width: $v;
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
.h\:#{$bp}\:w-#{$k}:hover {
|
|
549
|
-
@include breakpoint($bp-value) {
|
|
550
|
-
width: $v;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
.#{$bp}\:max-w-#{$k} {
|
|
554
|
-
@include breakpoint($bp-value) {
|
|
555
|
-
max-width: $v;
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
.h\:#{$bp}\:max-w-#{$k}:hover {
|
|
559
|
-
@include breakpoint($bp-value) {
|
|
560
|
-
max-width: $v;
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
.#{$bp}\:min-w-#{$k} {
|
|
564
|
-
@include breakpoint($bp-value) {
|
|
565
|
-
min-width: $v;
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
.h\:#{$bp}\:min-w-#{$k}:hover {
|
|
569
|
-
@include breakpoint($bp-value) {
|
|
570
|
-
min-width: $v;
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}
|
package/src/core.scss
DELETED