yummacss 3.0.2 → 3.1.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 (43) hide show
  1. package/README.md +66 -66
  2. package/dist/cli/commands/init.js +3 -5
  3. package/dist/cli/services/configLoader.js +4 -30
  4. package/package.json +6 -13
  5. package/src/_fonts.scss +16 -16
  6. package/src/abstracts/_breakpoints.scss +45 -45
  7. package/src/abstracts/_index.scss +5 -5
  8. package/src/abstracts/_theme.scss +21 -21
  9. package/src/abstracts/_variables.scss +83 -82
  10. package/src/abstracts/functions/_create-values.scss +16 -16
  11. package/src/abstracts/functions/_ignore-neutral.scss +7 -9
  12. package/src/abstracts/functions/_index.scss +2 -2
  13. package/src/abstracts/mixins/_create-colors.scss +90 -39
  14. package/src/abstracts/mixins/_create-utilities.scss +53 -39
  15. package/src/abstracts/mixins/_index.scss +2 -3
  16. package/src/reset/_stylecent.scss +231 -231
  17. package/src/utilities/_background.scss +95 -95
  18. package/src/utilities/_border.scss +313 -313
  19. package/src/utilities/_box-model.scss +290 -290
  20. package/src/utilities/_color.scss +85 -85
  21. package/src/utilities/_effect.scss +98 -98
  22. package/src/utilities/_flexbox.scss +213 -175
  23. package/src/utilities/_grid.scss +322 -322
  24. package/src/utilities/_index.scss +14 -14
  25. package/src/utilities/_interactivity.scss +304 -304
  26. package/src/utilities/_outline.scss +53 -53
  27. package/src/utilities/_positioning.scss +436 -436
  28. package/src/utilities/_svg.scss +27 -27
  29. package/src/utilities/_table.scss +35 -35
  30. package/src/utilities/_transform.scss +164 -164
  31. package/src/utilities/_typography.scss +278 -278
  32. package/src/utilities/maps/_index.scss +12 -12
  33. package/src/utilities/maps/box-model/_dimension.scss +16 -16
  34. package/src/utilities/maps/box-model/_height.scss +16 -16
  35. package/src/utilities/maps/box-model/_margin.scss +10 -10
  36. package/src/utilities/maps/box-model/_padding.scss +10 -10
  37. package/src/utilities/maps/box-model/_width.scss +16 -16
  38. package/src/utilities/maps/flexbox/_flex-basis.scss +12 -12
  39. package/src/utilities/maps/grid/_gap.scss +5 -5
  40. package/src/yummacss-core.scss +3 -3
  41. package/src/yummacss.scss +4 -4
  42. package/dist/cli/config/templates.js +0 -33
  43. package/src/abstracts/mixins/_extend-utilities.scss +0 -24
@@ -1,95 +1,95 @@
1
- @use "sass:math";
2
- @use "sass:map";
3
- @use "../abstracts/variables" as vars;
4
- @use "../abstracts/mixins/" as mix;
5
-
6
- $yma-background-utils: (
7
- "background-attachment": (
8
- "prefix": "ba",
9
- "properties": (
10
- "background-attachment",
11
- ),
12
- "values": (
13
- "f": fixed,
14
- "l": local,
15
- "s": scroll,
16
- ),
17
- ),
18
-
19
- "background-clip": (
20
- "prefix": "bc",
21
- "properties": (
22
- "background-clip",
23
- ),
24
- "values": (
25
- "bb": border-box,
26
- "cb": content-box,
27
- "pb": padding-box,
28
- "t": text,
29
- ),
30
- ),
31
-
32
- "background-origin": (
33
- "prefix": "bo",
34
- "properties": (
35
- "background-origin",
36
- ),
37
- "values": (
38
- "bb": border-box,
39
- "cb": content-box,
40
- "pb": padding-box,
41
- ),
42
- ),
43
-
44
- "background-position": (
45
- "prefix": "bp",
46
- "properties": (
47
- "background-position",
48
- ),
49
- "values": (
50
- "b": bottom,
51
- "c": center,
52
- "l": left,
53
- "lb": left bottom,
54
- "lt": left top,
55
- "r": right,
56
- "rb": right bottom,
57
- "rt": right top,
58
- "t": top,
59
- ),
60
- ),
61
-
62
- "background-repeat": (
63
- "prefix": "br",
64
- "properties": (
65
- "background-repeat",
66
- ),
67
- "values": (
68
- "nr": no-repeat,
69
- "r": repeat,
70
- "ro": round,
71
- "rx": repeat-x,
72
- "ry": repeat-y,
73
- "s": space,
74
- ),
75
- ),
76
-
77
- "background-size": (
78
- "prefix": "bs",
79
- "properties": (
80
- "background-size",
81
- ),
82
- "values": (
83
- "auto": auto,
84
- "c": cover,
85
- "co": contain,
86
- ),
87
- ),
88
- );
89
-
90
- @each $properties, $map in $yma-background-utils {
91
- $prefix: map.get($map, "prefix");
92
- $properties: map.get($map, "properties");
93
-
94
- @include mix.create-utilities($map, $prefix, $properties);
95
- }
1
+ @use "sass:math";
2
+ @use "sass:map";
3
+ @use "../abstracts/variables" as vars;
4
+ @use "../abstracts/mixins/" as mix;
5
+
6
+ $yma-background-utils: (
7
+ "background-attachment": (
8
+ "prefix": "ba",
9
+ "properties": (
10
+ "background-attachment",
11
+ ),
12
+ "values": (
13
+ "f": fixed,
14
+ "l": local,
15
+ "s": scroll,
16
+ ),
17
+ ),
18
+
19
+ "background-clip": (
20
+ "prefix": "bc",
21
+ "properties": (
22
+ "background-clip",
23
+ ),
24
+ "values": (
25
+ "bb": border-box,
26
+ "cb": content-box,
27
+ "pb": padding-box,
28
+ "t": text,
29
+ ),
30
+ ),
31
+
32
+ "background-origin": (
33
+ "prefix": "bo",
34
+ "properties": (
35
+ "background-origin",
36
+ ),
37
+ "values": (
38
+ "bb": border-box,
39
+ "cb": content-box,
40
+ "pb": padding-box,
41
+ ),
42
+ ),
43
+
44
+ "background-position": (
45
+ "prefix": "bp",
46
+ "properties": (
47
+ "background-position",
48
+ ),
49
+ "values": (
50
+ "b": bottom,
51
+ "c": center,
52
+ "l": left,
53
+ "lb": left bottom,
54
+ "lt": left top,
55
+ "r": right,
56
+ "rb": right bottom,
57
+ "rt": right top,
58
+ "t": top,
59
+ ),
60
+ ),
61
+
62
+ "background-repeat": (
63
+ "prefix": "br",
64
+ "properties": (
65
+ "background-repeat",
66
+ ),
67
+ "values": (
68
+ "nr": no-repeat,
69
+ "r": repeat,
70
+ "ro": round,
71
+ "rx": repeat-x,
72
+ "ry": repeat-y,
73
+ "s": space,
74
+ ),
75
+ ),
76
+
77
+ "background-size": (
78
+ "prefix": "bs",
79
+ "properties": (
80
+ "background-size",
81
+ ),
82
+ "values": (
83
+ "auto": auto,
84
+ "c": cover,
85
+ "co": contain,
86
+ ),
87
+ ),
88
+ );
89
+
90
+ @each $properties, $map in $yma-background-utils {
91
+ $prefix: map.get($map, "prefix");
92
+ $properties: map.get($map, "properties");
93
+
94
+ @include mix.create-utilities($map, $prefix, $properties);
95
+ }