|
7 | 7 | /// |
8 | 8 | /// |
9 | 9 | @if options('helpers', 'enable') { |
10 | | - /// |
11 | | - /// Padding & Margin Helpers |
12 | | - /// |
13 | | - @include setHelperListWithRange($margin-helpers, specs('spaces'), "px", "!important"); |
14 | | - @include setHelperListWithRange($margin-helpers, auto, null, "!important"); // margin auto |
15 | | - @include setHelperListWithRange($padding-helpers, specs('spaces'), "px", "!important"); |
16 | | - @include setHelperListWithRange($padding-helpers, auto, null, "!important"); // padding auto |
| 10 | + /// Align Items |
| 11 | + @include setHelperList($align-items, "align-items", "!important"); |
17 | 12 |
|
18 | | - /// |
19 | | - /// Font Weights |
20 | | - /// |
21 | | - @include setHelperListWithRange($font-weights, specs('font-weight'), null, "!important"); |
| 13 | + /// Align Self |
| 14 | + @include setHelperList($align-self, "align-self", "!important"); |
22 | 15 |
|
23 | | - /// |
24 | | - /// Font Sizes |
25 | | - /// |
26 | | - @include setHelperList($font-sizes, "font-size", "!important"); |
| 16 | + /// Align Content |
| 17 | + @include setHelperList($align-content, "align-content", "!important"); |
27 | 18 |
|
28 | | - /// |
29 | | - /// Text Colors |
30 | | - /// |
31 | | - @include setHelperList($text-colors, "color", "!important"); |
32 | | - @include setColorScale($text-colors, "color"); |
| 19 | + /// Backdrop Filters |
| 20 | + @include setFilters($backdrop-blur-ranges, $backdrop-blur, "backdrop-filter"); // only blur |
| 21 | + @include setFilters($backdrop-filter-ranges, $backdrop-filters, "backdrop-filter"); |
33 | 22 |
|
34 | | - /// |
35 | 23 | /// Background Colors |
36 | | - /// |
37 | 24 | @include setHelperList($bg-colors, "background-color", "!important"); |
38 | 25 | @include setColorScale($bg-colors); |
39 | 26 |
|
40 | | - /// |
41 | | - /// Cursors |
42 | | - /// |
| 27 | + /// Border |
| 28 | + @include setHelperListWithRange($borders, specs('borders'), "px", "!important"); |
| 29 | + |
| 30 | + /// Border Styles |
| 31 | + @include setHelperListWithRange($border-radius, specs('border-radius'), "px", "!important"); |
| 32 | + |
| 33 | + /// Border Radius |
| 34 | + @include setHelperList($border-styles, "border-style", "!important"); |
| 35 | + |
| 36 | + /// Cursor |
43 | 37 | @include setHelperList($cursors, "cursor", "!important"); |
44 | 38 |
|
45 | | - /// |
46 | | - /// Display Properties |
47 | | - /// |
| 39 | + /// Display Filters |
| 40 | + @include setHelperList($display-filters); |
| 41 | + |
| 42 | + /// Display |
48 | 43 | @include setHelperList($display-properties, "display", "!important"); |
49 | 44 |
|
50 | | - /// |
51 | | - /// Alignment |
52 | | - /// |
53 | | - @include setHelperList($align-items, "align-items", "!important"); |
54 | | - @include setHelperList($align-self, "align-self", "!important"); |
55 | | - @include setHelperList($align-content, "align-content", "!important"); |
56 | | - @include setHelperList($justify-self, "justify-self", "!important"); |
57 | | - @include setHelperList($justify-content, "justify-content", "!important"); |
58 | | - @include setHelperList($justify-items, "justify-items", "!important"); |
59 | | - @include setHelperList($place-content, "place-content", "!important"); |
60 | | - @include setHelperList($place-items, "place-items", "!important"); |
61 | | - @include setHelperList($place-self, "place-self", "!important"); |
62 | | - @include setHelperList($flex-wrap, "flex-wrap", "!important"); |
| 45 | + /// Flex |
| 46 | + @include setHelperList($flex-helpers, "flex", "!important"); |
| 47 | + |
| 48 | + /// Flex Direction |
| 49 | + @include setHelperList($flex-directions, "flex-direction", "!important"); |
| 50 | + |
| 51 | + /// Flex Grow |
63 | 52 | @include setHelperList($flex-grow, "flex-grow", "!important"); |
| 53 | + |
| 54 | + /// Flex Shrink |
64 | 55 | @include setHelperList($flex-shrink, "flex-shrink", "!important"); |
65 | 56 |
|
66 | | - /// |
67 | | - /// Filters |
68 | | - /// |
69 | | - @include setHelperList($display-filters); |
| 57 | + /// Flex Wrap |
| 58 | + @include setHelperList($flex-wrap, "flex-wrap", "!important"); |
70 | 59 |
|
71 | | - /// |
72 | | - /// Text Transform Properties |
73 | | - /// |
74 | | - @include setHelperList($text-transforms, "text-transform", "!important"); |
| 60 | + /// Float |
| 61 | + @include setHelperList($float-helpers, "float", "!important"); |
75 | 62 |
|
76 | | - /// |
77 | | - /// Overflow Properties |
78 | | - /// |
79 | | - @include setHelperList($overflow-properties); |
| 63 | + /// Font Size |
| 64 | + @include setHelperList($font-sizes, "font-size", "!important"); |
80 | 65 |
|
81 | | - /// |
82 | | - /// Position Properties |
83 | | - /// |
84 | | - @include setHelperList($position-properties, "position", "!important"); |
| 66 | + /// Font Weight |
| 67 | + @include setHelperListWithRange($font-weights, specs('font-weight'), null, "!important"); |
85 | 68 |
|
86 | | - /// |
87 | | - /// Stack Order |
88 | | - /// |
89 | | - @include setHelperListWithRange($z-indexes, specs('z-index'), null, "!important"); |
| 69 | + /// Height |
| 70 | + @include setHelperList($height-helpers, "height", "!important"); |
90 | 71 |
|
91 | | - /// |
92 | | - /// Direction of the flexible items |
93 | | - /// |
94 | | - @include setHelperList($flex-directions, "flex-direction", "!important"); |
| 72 | + /// Inset |
| 73 | + @include setNestedHelperList($insets); |
95 | 74 |
|
96 | | - /// |
97 | | - /// User Select Properties |
98 | | - /// |
99 | | - @include setHelperList($user-selects, "user-select", "!important"); |
| 75 | + /// Justify Content |
| 76 | + @include setHelperList($justify-content, "justify-content", "!important"); |
100 | 77 |
|
101 | | - /// |
102 | | - /// Insets |
103 | | - /// |
104 | | - @include setNestedHelperList($insets); |
| 78 | + /// Justify Items |
| 79 | + @include setHelperList($justify-items, "justify-items", "!important"); |
105 | 80 |
|
106 | | - /// |
107 | | - /// Line Height Properties |
108 | | - /// |
109 | | - @include setHelperListWithRange($line-heights, specs('line-height'), null, "!important"); |
| 81 | + /// Justify Self |
| 82 | + @include setHelperList($justify-self, "justify-self", "!important"); |
110 | 83 |
|
111 | | - /// |
112 | | - /// Borders |
113 | | - /// |
114 | | - @include setHelperListWithRange($borders, specs('borders'), "px", "!important"); |
| 84 | + /// Line Height |
| 85 | + @include setHelperListWithRange($line-heights, specs('line-height'), null, "!important"); |
115 | 86 |
|
116 | | - /// |
117 | | - /// Border Styles |
118 | | - /// |
119 | | - @include setHelperList($border-styles, "border-style", "!important"); |
| 87 | + /// Margin |
| 88 | + @include setHelperListWithRange($margin-helpers, specs('spaces'), "px", "!important"); |
| 89 | + @include setHelperListWithRange($margin-helpers, auto, null, "!important"); // margin auto |
120 | 90 |
|
121 | | - /// |
122 | | - /// Border Radius |
123 | | - /// |
124 | | - @include setHelperListWithRange($border-radius, specs('border-radius'), "px", "!important"); |
| 91 | + /// Object-Fit |
| 92 | + @include setHelperList($object-fit, "object-fit", "!important"); |
125 | 93 |
|
126 | | - /// |
127 | 94 | /// Order |
128 | | - /// |
129 | 95 | @include setHelperListWithRange($orders, specs('orders'), null, "!important"); |
130 | 96 |
|
| 97 | + /// Overflow |
131 | 98 | /// |
132 | | - /// Object-Fit |
133 | | - /// |
134 | | - @include setHelperList($object-fit, "object-fit", "!important"); |
| 99 | + @include setHelperList($overflow-properties); |
| 100 | + |
| 101 | + /// Padding |
| 102 | + @include setHelperListWithRange($padding-helpers, specs('spaces'), "px", "!important"); |
| 103 | + @include setHelperListWithRange($padding-helpers, auto, null, "!important"); // padding auto |
| 104 | + |
| 105 | + /// Place Content |
| 106 | + @include setHelperList($place-content, "place-content", "!important"); |
| 107 | + |
| 108 | + /// Place Items |
| 109 | + @include setHelperList($place-items, "place-items", "!important"); |
| 110 | + |
| 111 | + /// Place Self |
| 112 | + @include setHelperList($place-self, "place-self", "!important"); |
| 113 | + |
| 114 | + /// Position |
| 115 | + @include setHelperList($position-properties, "position", "!important"); |
135 | 116 |
|
136 | | - /// |
137 | 117 | /// Resize |
138 | | - /// |
139 | 118 | @include setHelperList($resizes, "resize", "!important"); |
140 | 119 |
|
141 | | - /// |
142 | | - /// Backdrop Filters (only blur) |
143 | | - /// |
144 | | - @include setFilters($backdrop-blur-ranges, $backdrop-blur, "backdrop-filter"); |
| 120 | + /// Text Colors |
| 121 | + @include setHelperList($text-colors, "color", "!important"); |
| 122 | + @include setColorScale($text-colors, "color"); // color scale |
145 | 123 |
|
146 | | - /// |
147 | | - /// All Backdrop Filters |
148 | | - /// |
149 | | - @include setFilters($backdrop-filter-ranges, $backdrop-filters, "backdrop-filter"); |
| 124 | + /// Text Decoration |
| 125 | + @include setHelperList($text-decorations, "text-decoration", "!important"); |
| 126 | + |
| 127 | + /// Text Transform |
| 128 | + @include setHelperList($text-transforms, "text-transform", "!important"); |
| 129 | + |
| 130 | + /// User Select |
| 131 | + @include setHelperList($user-selects, "user-select", "!important"); |
| 132 | + |
| 133 | + /// Width |
| 134 | + @include setHelperList($width-helpers, "width", "!important"); |
| 135 | + |
| 136 | + /// Z-Index |
| 137 | + @include setHelperListWithRange($z-indexes, specs('z-index'), null, "!important"); |
150 | 138 |
|
151 | 139 | /// |
152 | 140 | /// Others |
|
0 commit comments