bulma-rails 1.0.1 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +30 -3
  3. data/app/assets/stylesheets/bulma.scss +1 -1
  4. data/app/assets/stylesheets/sass/components/navbar.scss +41 -30
  5. data/app/assets/stylesheets/sass/components/panel.scss +2 -2
  6. data/app/assets/stylesheets/sass/elements/button.scss +6 -0
  7. data/app/assets/stylesheets/sass/elements/content.scss +8 -2
  8. data/app/assets/stylesheets/sass/elements/image.scss +4 -2
  9. data/app/assets/stylesheets/sass/elements/title.scss +4 -2
  10. data/app/assets/stylesheets/sass/form/checkbox-radio.scss +7 -3
  11. data/app/assets/stylesheets/sass/form/input-textarea.scss +3 -11
  12. data/app/assets/stylesheets/sass/form/shared.scss +11 -5
  13. data/app/assets/stylesheets/sass/form/tools.scss +23 -12
  14. data/app/assets/stylesheets/sass/grid/columns.scss +109 -25
  15. data/app/assets/stylesheets/sass/grid/grid.scss +1 -1
  16. data/app/assets/stylesheets/sass/helpers/aspect-ratio.scss +5 -3
  17. data/app/assets/stylesheets/sass/helpers/border.scss +1 -1
  18. data/app/assets/stylesheets/sass/helpers/color.scss +200 -220
  19. data/app/assets/stylesheets/sass/helpers/flexbox.scss +7 -7
  20. data/app/assets/stylesheets/sass/helpers/float.scss +7 -7
  21. data/app/assets/stylesheets/sass/helpers/gap.scss +3 -3
  22. data/app/assets/stylesheets/sass/helpers/other.scss +4 -4
  23. data/app/assets/stylesheets/sass/helpers/overflow.scss +4 -4
  24. data/app/assets/stylesheets/sass/helpers/position.scss +4 -4
  25. data/app/assets/stylesheets/sass/helpers/spacing.scss +6 -6
  26. data/app/assets/stylesheets/sass/helpers/typography.scss +29 -27
  27. data/app/assets/stylesheets/sass/helpers/visibility.scss +61 -61
  28. data/app/assets/stylesheets/sass/layout/container.scss +16 -8
  29. data/app/assets/stylesheets/sass/layout/hero.scss +6 -3
  30. data/app/assets/stylesheets/sass/layout/section.scss +4 -0
  31. data/app/assets/stylesheets/sass/themes/dark.scss +2 -1
  32. data/app/assets/stylesheets/sass/themes/light.scss +6 -5
  33. data/app/assets/stylesheets/sass/utilities/css-variables.scss +101 -24
  34. data/app/assets/stylesheets/sass/utilities/functions.scss +100 -48
  35. data/app/assets/stylesheets/sass/utilities/initial-variables.scss +4 -4
  36. data/app/assets/stylesheets/sass/utilities/mixins.scss +5 -3
  37. data/bulma-rails.gemspec +1 -1
  38. metadata +2 -3
  39. data/app/assets/stylesheets/sass/grid/columns-v2.scss +0 -957
@@ -26,7 +26,7 @@ $digits: (
26
26
  "100"
27
27
  );
28
28
 
29
- .#{iv.$helpers-has-prefix}background {
29
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background {
30
30
  background-color: cv.getVar("background");
31
31
  }
32
32
 
@@ -34,311 +34,277 @@ $digits: (
34
34
  $background: hsl(
35
35
  #{cv.getVar($name, "", "-h")},
36
36
  #{cv.getVar($name, "", "-s")},
37
- calc(#{cv.getVar("background-l")} + #{cv.getVar("background-l-delta")})
37
+ #{cv.getVar($name, "", "-l")}
38
38
  );
39
39
 
40
40
  $color: hsl(
41
41
  #{cv.getVar($name, "", "-h")},
42
42
  #{cv.getVar($name, "", "-s")},
43
- calc(#{cv.getVar("color-l")} + #{cv.getVar("color-l-delta")})
43
+ #{cv.getVar($name, "", "-l")}
44
44
  );
45
45
 
46
- [class*="#{iv.$helpers-prefix}color-#{$name}"],
47
- [class*="#{iv.$helpers-has-prefix}text-#{$name}"] {
48
- @include cv.register-vars(
49
- (
50
- "color-l": #{cv.getVar($name, "", "-l")},
51
- "color-l-delta": 0%,
52
- )
53
- );
46
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name} {
54
47
  color: $color !important;
55
48
  }
56
49
 
57
- [class*="#{iv.$helpers-prefix}background-#{$name}"],
58
- [class*="#{iv.$helpers-has-prefix}background-#{$name}"] {
59
- @include cv.register-vars(
60
- (
61
- "background-l": #{cv.getVar($name, "", "-l")},
62
- "background-l-delta": 0%,
63
- )
64
- );
50
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name} {
65
51
  background-color: $background !important;
66
52
  }
67
53
 
68
54
  // Invert
69
- .#{iv.$helpers-prefix}color-#{$name}-invert,
70
- .#{iv.$helpers-has-prefix}text-#{$name}-invert {
71
- @include cv.register-vars(
72
- (
73
- "color-l": #{cv.getVar($name, "", "-invert-l")},
74
- )
75
- );
55
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-invert {
56
+ color: hsl(
57
+ #{cv.getVar($name, "", "-h")},
58
+ #{cv.getVar($name, "", "-s")},
59
+ #{cv.getVar($name, "", "-invert-l")}
60
+ ) !important;
76
61
  }
77
62
 
78
- .#{iv.$helpers-prefix}background-#{$name}-invert,
79
- .#{iv.$helpers-has-prefix}background-#{$name}-invert {
80
- @include cv.register-vars(
81
- (
82
- "background-l": #{cv.getVar($name, "", "-invert-l")},
83
- )
84
- );
63
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-invert {
64
+ background-color: hsl(
65
+ #{cv.getVar($name, "", "-h")},
66
+ #{cv.getVar($name, "", "-s")},
67
+ #{cv.getVar($name, "", "-invert-l")}
68
+ ) !important;
85
69
  }
86
70
 
87
71
  // On Scheme
88
- .#{iv.$helpers-prefix}color-#{$name}-on-scheme,
89
- .#{iv.$helpers-has-prefix}text-#{$name}-on-scheme {
90
- @include cv.register-vars(
91
- (
92
- "color-l": #{cv.getVar($name, "", "-on-scheme-l")},
93
- )
94
- );
72
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-on-scheme {
73
+ color: hsl(
74
+ #{cv.getVar($name, "", "-h")},
75
+ #{cv.getVar($name, "", "-s")},
76
+ #{cv.getVar($name, "", "-on-scheme-l")}
77
+ ) !important;
95
78
  }
96
79
 
97
- .#{iv.$helpers-prefix}background-#{$name}-on-scheme,
98
- .#{iv.$helpers-has-prefix}background-#{$name}-on-scheme {
99
- @include cv.register-vars(
100
- (
101
- "background-l": #{cv.getVar($name, "", "-on-scheme-l")},
102
- )
103
- );
80
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-on-scheme {
81
+ background-color: hsl(
82
+ #{cv.getVar($name, "", "-h")},
83
+ #{cv.getVar($name, "", "-s")},
84
+ #{cv.getVar($name, "", "-on-scheme-l")}
85
+ ) !important;
104
86
  }
105
87
 
106
88
  // Light
107
- .#{iv.$helpers-prefix}color-#{$name}-light,
108
- .#{iv.$helpers-has-prefix}text-#{$name}-light {
109
- @include cv.register-vars(
110
- (
111
- "color-l": #{cv.getVar($name, "", "-light-l")},
112
- )
113
- );
89
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-light {
90
+ color: hsl(
91
+ #{cv.getVar($name, "", "-h")},
92
+ #{cv.getVar($name, "", "-s")},
93
+ #{cv.getVar($name, "", "-light-l")}
94
+ ) !important;
114
95
  }
115
96
 
116
- .#{iv.$helpers-prefix}background-#{$name}-light,
117
- .#{iv.$helpers-has-prefix}background-#{$name}-light {
118
- @include cv.register-vars(
119
- (
120
- "background-l": #{cv.getVar($name, "", "-light-l")},
121
- )
122
- );
97
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-light {
98
+ background-color: hsl(
99
+ #{cv.getVar($name, "", "-h")},
100
+ #{cv.getVar($name, "", "-s")},
101
+ #{cv.getVar($name, "", "-light-l")}
102
+ ) !important;
123
103
  }
124
104
 
125
- .#{iv.$helpers-prefix}color-#{$name}-light-invert,
126
- .#{iv.$helpers-has-prefix}text-#{$name}-light-invert {
127
- @include cv.register-vars(
128
- (
129
- "color-l": #{cv.getVar($name, "", "-light-invert-l")},
130
- )
131
- );
105
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-light-invert {
106
+ color: hsl(
107
+ #{cv.getVar($name, "", "-h")},
108
+ #{cv.getVar($name, "", "-s")},
109
+ #{cv.getVar($name, "", "-light-invert-l")}
110
+ ) !important;
132
111
  }
133
112
 
134
- .#{iv.$helpers-prefix}background-#{$name}-light-invert,
135
- .#{iv.$helpers-has-prefix}background-#{$name}-light-invert {
136
- @include cv.register-vars(
137
- (
138
- "background-l": #{cv.getVar($name, "", "-light-invert-l")},
139
- )
140
- );
113
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-light-invert {
114
+ background-color: hsl(
115
+ #{cv.getVar($name, "", "-h")},
116
+ #{cv.getVar($name, "", "-s")},
117
+ #{cv.getVar($name, "", "-light-invert-l")}
118
+ ) !important;
141
119
  }
142
120
 
143
121
  // Dark
144
- .#{iv.$helpers-prefix}color-#{$name}-dark,
145
- .#{iv.$helpers-has-prefix}text-#{$name}-dark {
146
- @include cv.register-vars(
147
- (
148
- "color-l": #{cv.getVar($name, "", "-dark-l")},
149
- )
150
- );
122
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-dark {
123
+ color: hsl(
124
+ #{cv.getVar($name, "", "-h")},
125
+ #{cv.getVar($name, "", "-s")},
126
+ #{cv.getVar($name, "", "-dark-l")}
127
+ ) !important;
151
128
  }
152
129
 
153
- .#{iv.$helpers-prefix}background-#{$name}-dark,
154
- .#{iv.$helpers-has-prefix}background-#{$name}-dark {
155
- @include cv.register-vars(
156
- (
157
- "background-l": #{cv.getVar($name, "", "-dark-l")},
158
- )
159
- );
130
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-dark {
131
+ background-color: hsl(
132
+ #{cv.getVar($name, "", "-h")},
133
+ #{cv.getVar($name, "", "-s")},
134
+ #{cv.getVar($name, "", "-dark-l")}
135
+ ) !important;
160
136
  }
161
137
 
162
- .#{iv.$helpers-prefix}color-#{$name}-dark-invert,
163
- .#{iv.$helpers-has-prefix}text-#{$name}-dark-invert {
164
- @include cv.register-vars(
165
- (
166
- "color-l": #{cv.getVar($name, "", "-dark-invert-l")},
167
- )
168
- );
138
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-dark-invert {
139
+ color: hsl(
140
+ #{cv.getVar($name, "", "-h")},
141
+ #{cv.getVar($name, "", "-s")},
142
+ #{cv.getVar($name, "", "-dark-invert-l")}
143
+ ) !important;
169
144
  }
170
145
 
171
- .#{iv.$helpers-prefix}background-#{$name}-dark-invert,
172
- .#{iv.$helpers-has-prefix}background-#{$name}-dark-invert {
173
- @include cv.register-vars(
174
- (
175
- "background-l": #{cv.getVar($name, "", "-dark-invert-l")},
176
- )
177
- );
146
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-dark-invert {
147
+ background-color: hsl(
148
+ #{cv.getVar($name, "", "-h")},
149
+ #{cv.getVar($name, "", "-s")},
150
+ #{cv.getVar($name, "", "-dark-invert-l")}
151
+ ) !important;
178
152
  }
179
153
 
180
154
  // Soft/Bold
181
- .#{iv.$helpers-prefix}color-#{$name}-soft,
182
- .#{iv.$helpers-has-prefix}text-#{$name}-soft {
183
- @include cv.register-vars(
184
- (
185
- "color-l": #{cv.getVar("soft-l")},
186
- )
187
- );
155
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-soft {
156
+ color: hsl(
157
+ #{cv.getVar($name, "", "-h")},
158
+ #{cv.getVar($name, "", "-s")},
159
+ #{cv.getVar("soft-l")}
160
+ ) !important;
188
161
  }
189
162
 
190
- .#{iv.$helpers-prefix}background-#{$name}-soft,
191
- .#{iv.$helpers-has-prefix}background-#{$name}-soft {
192
- @include cv.register-vars(
193
- (
194
- "background-l": #{cv.getVar("soft-l")},
195
- )
196
- );
163
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-soft {
164
+ background-color: hsl(
165
+ #{cv.getVar($name, "", "-h")},
166
+ #{cv.getVar($name, "", "-s")},
167
+ #{cv.getVar("soft-l")}
168
+ ) !important;
197
169
  }
198
170
 
199
- .#{iv.$helpers-prefix}color-#{$name}-bold,
200
- .#{iv.$helpers-has-prefix}text-#{$name}-bold {
201
- @include cv.register-vars(
202
- (
203
- "color-l": #{cv.getVar("bold-l")},
204
- )
205
- );
171
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-bold {
172
+ color: hsl(
173
+ #{cv.getVar($name, "", "-h")},
174
+ #{cv.getVar($name, "", "-s")},
175
+ #{cv.getVar("bold-l")}
176
+ ) !important;
206
177
  }
207
178
 
208
- .#{iv.$helpers-prefix}background-#{$name}-bold,
209
- .#{iv.$helpers-has-prefix}background-#{$name}-bold {
210
- @include cv.register-vars(
211
- (
212
- "background-l": #{cv.getVar("bold-l")},
213
- )
214
- );
179
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-bold {
180
+ background-color: hsl(
181
+ #{cv.getVar($name, "", "-h")},
182
+ #{cv.getVar($name, "", "-s")},
183
+ #{cv.getVar("bold-l")}
184
+ ) !important;
215
185
  }
216
186
 
217
- .#{iv.$helpers-prefix}color-#{$name}-soft-invert,
218
- .#{iv.$helpers-has-prefix}text-#{$name}-soft-invert {
219
- @include cv.register-vars(
220
- (
221
- "color-l": #{cv.getVar("soft-invert-l")},
222
- )
223
- );
187
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-soft-invert {
188
+ color: hsl(
189
+ #{cv.getVar($name, "", "-h")},
190
+ #{cv.getVar($name, "", "-s")},
191
+ #{cv.getVar("soft-invert-l")}
192
+ ) !important;
224
193
  }
225
194
 
226
- .#{iv.$helpers-prefix}background-#{$name}-soft-invert,
227
- .#{iv.$helpers-has-prefix}background-#{$name}-soft-invert {
228
- @include cv.register-vars(
229
- (
230
- "background-l": #{cv.getVar("soft-invert-l")},
231
- )
232
- );
195
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-soft-invert {
196
+ background-color: hsl(
197
+ #{cv.getVar($name, "", "-h")},
198
+ #{cv.getVar($name, "", "-s")},
199
+ #{cv.getVar("soft-invert-l")}
200
+ ) !important;
233
201
  }
234
202
 
235
- .#{iv.$helpers-prefix}color-#{$name}-bold-invert,
236
- .#{iv.$helpers-has-prefix}text-#{$name}-bold-invert {
237
- @include cv.register-vars(
238
- (
239
- "color-l": #{cv.getVar("bold-invert-l")},
240
- )
241
- );
203
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-bold-invert {
204
+ color: hsl(
205
+ #{cv.getVar($name, "", "-h")},
206
+ #{cv.getVar($name, "", "-s")},
207
+ #{cv.getVar("bold-invert-l")}
208
+ ) !important;
242
209
  }
243
210
 
244
- .#{iv.$helpers-prefix}background-#{$name}-bold-invert,
245
- .#{iv.$helpers-has-prefix}background-#{$name}-bold-invert {
246
- @include cv.register-vars(
247
- (
248
- "background-l": #{cv.getVar("bold-invert-l")},
249
- )
250
- );
211
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-bold-invert {
212
+ background-color: hsl(
213
+ #{cv.getVar($name, "", "-h")},
214
+ #{cv.getVar($name, "", "-s")},
215
+ #{cv.getVar("bold-invert-l")}
216
+ ) !important;
251
217
  }
252
218
 
253
219
  @each $digit in $digits {
254
- .#{iv.$helpers-prefix}color-#{$name}-#{$digit},
255
- .#{iv.$helpers-has-prefix}text-#{$name}-#{$digit} {
256
- @include cv.register-vars(
257
- (
258
- "color-l": #{cv.getVar($name, "", "-#{$digit}-l")},
259
- )
260
- );
220
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-#{$digit} {
221
+ color: hsl(
222
+ #{cv.getVar($name, "", "-h")},
223
+ #{cv.getVar($name, "", "-s")},
224
+ #{cv.getVar($name, "", "-#{$digit}-l")}
225
+ ) !important;
261
226
  }
262
227
 
263
- .#{iv.$helpers-prefix}background-#{$name}-#{$digit},
264
- .#{iv.$helpers-has-prefix}background-#{$name}-#{$digit} {
265
- @include cv.register-vars(
266
- (
267
- "background-l": #{cv.getVar($name, "", "-#{$digit}-l")},
268
- )
269
- );
228
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-#{$digit} {
229
+ background-color: hsl(
230
+ #{cv.getVar($name, "", "-h")},
231
+ #{cv.getVar($name, "", "-s")},
232
+ #{cv.getVar($name, "", "-#{$digit}-l")}
233
+ ) !important;
270
234
  }
271
235
 
272
- .#{iv.$helpers-prefix}color-#{$name}-#{$digit}-invert,
273
- .#{iv.$helpers-has-prefix}text-#{$name}-#{$digit}-invert {
274
- @include cv.register-vars(
275
- (
276
- "color-l": #{cv.getVar($name, "", "-#{$digit}-invert-l")},
277
- )
278
- );
236
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-#{$digit}-invert {
237
+ color: hsl(
238
+ #{cv.getVar($name, "", "-h")},
239
+ #{cv.getVar($name, "", "-s")},
240
+ #{cv.getVar($name, "", "-#{$digit}-invert-l")}
241
+ ) !important;
279
242
  }
280
243
 
281
- .#{iv.$helpers-prefix}background-#{$name}-#{$digit}-invert,
282
- .#{iv.$helpers-has-prefix}background-#{$name}-#{$digit}-invert {
283
- @include cv.register-vars(
284
- (
285
- "background-l": #{cv.getVar($name, "", "-#{$digit}-invert-l")},
286
- )
287
- );
244
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-#{$digit}-invert {
245
+ background-color: hsl(
246
+ #{cv.getVar($name, "", "-h")},
247
+ #{cv.getVar($name, "", "-s")},
248
+ #{cv.getVar($name, "", "-#{$digit}-invert-l")}
249
+ ) !important;
288
250
  }
289
251
  }
290
252
 
291
253
  // Hover
292
- a.#{iv.$helpers-prefix}color-#{$name},
293
- button.#{iv.$helpers-prefix}color-#{$name},
294
- #{iv.$helpers-prefix}color-#{$name}.is-hoverable,
295
- a.#{iv.$helpers-has-prefix}text-#{$name},
296
- button.#{iv.$helpers-has-prefix}text-#{$name},
297
- #{iv.$helpers-has-prefix}text-#{$name}.is-hoverable {
254
+ a.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name},
255
+ button.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name},
256
+ #{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}.is-hoverable {
298
257
  &:hover,
299
258
  &:focus-visible {
300
- @include cv.register-vars(
301
- (
302
- "color-l-delta": #{cv.getVar("hover-color-l-delta")},
259
+ color: hsl(
260
+ #{cv.getVar($name, "", "-h")},
261
+ #{cv.getVar($name, "", "-s")},
262
+ calc(
263
+ #{cv.getVar($name, "", "-l")} + #{cv.getVar("hover-color-l-delta")}
303
264
  )
304
- );
265
+ ) !important;
305
266
  }
306
267
 
307
268
  &:active {
308
- @include cv.register-vars(
309
- (
310
- "color-l-delta": #{cv.getVar("active-color-l-delta")},
269
+ color: hsl(
270
+ #{cv.getVar($name, "", "-h")},
271
+ #{cv.getVar($name, "", "-s")},
272
+ calc(
273
+ #{cv.getVar($name, "", "-l")} + #{cv.getVar("active-color-l-delta")}
311
274
  )
312
- );
275
+ ) !important;
313
276
  }
314
277
  }
315
278
 
316
- a.#{iv.$helpers-prefix}background-#{$name},
317
- button.#{iv.$helpers-prefix}background-#{$name},
318
- #{iv.$helpers-prefix}background-#{$name}.is-hoverable,
319
- a.#{iv.$helpers-has-prefix}background-#{$name},
320
- button.#{iv.$helpers-has-prefix}background-#{$name},
321
- #{iv.$helpers-has-prefix}background-#{$name}.is-hoverable {
279
+ a.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name},
280
+ button.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name},
281
+ #{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}.is-hoverable {
322
282
  &:hover,
323
283
  &:focus-visible {
324
- @include cv.register-vars(
325
- (
326
- "background-l-delta": #{cv.getVar("hover-background-l-delta")},
284
+ background-color: hsl(
285
+ #{cv.getVar($name, "", "-h")},
286
+ #{cv.getVar($name, "", "-s")},
287
+ calc(
288
+ #{cv.getVar($name, "", "-l")} +
289
+ #{cv.getVar("hover-background-l-delta")}
327
290
  )
328
- );
291
+ ) !important;
329
292
  }
330
293
 
331
294
  &:active {
332
- @include cv.register-vars(
333
- (
334
- "background-l-delta": #{cv.getVar("active-background-l-delta")},
295
+ background-color: hsl(
296
+ #{cv.getVar($name, "", "-h")},
297
+ #{cv.getVar($name, "", "-s")},
298
+ calc(
299
+ #{cv.getVar($name, "", "-l")} +
300
+ #{cv.getVar("active-background-l-delta")}
335
301
  )
336
- );
302
+ ) !important;
337
303
  }
338
304
  }
339
305
 
340
306
  // Palettes
341
- .#{iv.$helpers-prefix}palette-#{$name} {
307
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}palette-#{$name} {
342
308
  --h: #{cv.getVar($name, "", "-h")};
343
309
  --s: #{cv.getVar($name, "", "-s")};
344
310
  --l: #{cv.getVar($name, "", "-l")};
@@ -352,13 +318,27 @@ $digits: (
352
318
  }
353
319
 
354
320
  @each $name, $shade in dv.$shades {
355
- .#{iv.$helpers-prefix}color-#{$name},
356
- .#{iv.$helpers-has-prefix}text-#{$name} {
321
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name} {
357
322
  color: $shade !important;
358
323
  }
359
324
 
360
- .#{iv.$helpers-prefix}background-#{$name},
361
- .#{iv.$helpers-has-prefix}background-#{$name} {
325
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name} {
362
326
  background-color: $shade !important;
363
327
  }
364
328
  }
329
+
330
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-current {
331
+ color: currentColor !important;
332
+ }
333
+
334
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-inherit {
335
+ color: inherit !important;
336
+ }
337
+
338
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-current {
339
+ background-color: currentColor !important;
340
+ }
341
+
342
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-inherit {
343
+ background-color: inherit !important;
344
+ }
@@ -3,7 +3,7 @@
3
3
  $flex-direction-values: row, row-reverse, column, column-reverse;
4
4
 
5
5
  @each $value in $flex-direction-values {
6
- .#{iv.$helpers-prefix}flex-direction-#{$value} {
6
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}flex-direction-#{$value} {
7
7
  flex-direction: $value !important;
8
8
  }
9
9
  }
@@ -11,7 +11,7 @@ $flex-direction-values: row, row-reverse, column, column-reverse;
11
11
  $flex-wrap-values: nowrap, wrap, wrap-reverse;
12
12
 
13
13
  @each $value in $flex-wrap-values {
14
- .#{iv.$helpers-prefix}flex-wrap-#{$value} {
14
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}flex-wrap-#{$value} {
15
15
  flex-wrap: $value !important;
16
16
  }
17
17
  }
@@ -20,7 +20,7 @@ $justify-content-values: flex-start, flex-end, center, space-between,
20
20
  space-around, space-evenly, start, end, left, right;
21
21
 
22
22
  @each $value in $justify-content-values {
23
- .#{iv.$helpers-prefix}justify-content-#{$value} {
23
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}justify-content-#{$value} {
24
24
  justify-content: $value !important;
25
25
  }
26
26
  }
@@ -29,7 +29,7 @@ $align-content-values: flex-start, flex-end, center, space-between, space-around
29
29
  space-evenly, stretch, start, end, baseline;
30
30
 
31
31
  @each $value in $align-content-values {
32
- .#{iv.$helpers-prefix}align-content-#{$value} {
32
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}align-content-#{$value} {
33
33
  align-content: $value !important;
34
34
  }
35
35
  }
@@ -38,7 +38,7 @@ $align-items-values: stretch, flex-start, flex-end, center, baseline, start, end
38
38
  self-start, self-end;
39
39
 
40
40
  @each $value in $align-items-values {
41
- .#{iv.$helpers-prefix}align-items-#{$value} {
41
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}align-items-#{$value} {
42
42
  align-items: $value !important;
43
43
  }
44
44
  }
@@ -46,7 +46,7 @@ $align-items-values: stretch, flex-start, flex-end, center, baseline, start, end
46
46
  $align-self-values: auto, flex-start, flex-end, center, baseline, stretch;
47
47
 
48
48
  @each $value in $align-self-values {
49
- .#{iv.$helpers-prefix}align-self-#{$value} {
49
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}align-self-#{$value} {
50
50
  align-self: $value !important;
51
51
  }
52
52
  }
@@ -55,7 +55,7 @@ $flex-operators: grow, shrink;
55
55
 
56
56
  @each $operator in $flex-operators {
57
57
  @for $i from 0 through 5 {
58
- .#{iv.$helpers-prefix}flex-#{$operator}-#{$i} {
58
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}flex-#{$operator}-#{$i} {
59
59
  flex-#{$operator}: $i !important;
60
60
  }
61
61
  }
@@ -1,28 +1,28 @@
1
1
  @use "../utilities/initial-variables" as iv;
2
2
  @use "../utilities/mixins" as mx;
3
3
 
4
- .#{iv.$helpers-prefix}clearfix {
4
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}clearfix {
5
5
  @include mx.clearfix;
6
6
  }
7
7
 
8
- .#{iv.$helpers-prefix}float-left,
9
- .#{iv.$helpers-prefix}pulled-left {
8
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}float-left,
9
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}pulled-left {
10
10
  float: left !important;
11
11
  }
12
12
 
13
- .#{iv.$helpers-prefix}float-right,
14
- .#{iv.$helpers-prefix}pulled-right {
13
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}float-right,
14
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}pulled-right {
15
15
  float: right !important;
16
16
  }
17
17
 
18
- .#{iv.$helpers-prefix}float-none {
18
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}float-none {
19
19
  float: none !important;
20
20
  }
21
21
 
22
22
  $clears: both left none right;
23
23
 
24
24
  @each $clear in $clears {
25
- .#{iv.$helpers-prefix}clear-#{$clear} {
25
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}clear-#{$clear} {
26
26
  clear: $clear !important;
27
27
  }
28
28
  }
@@ -2,7 +2,7 @@
2
2
  @use "sass:string";
3
3
  @use "../utilities/initial-variables" as iv;
4
4
 
5
- .#{iv.$helpers-prefix}gapless {
5
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}gapless {
6
6
  gap: 0 !important;
7
7
  }
8
8
 
@@ -11,12 +11,12 @@ $gap-base: 0.5rem;
11
11
 
12
12
  @each $gap in $gaps {
13
13
  @for $i from 0 through 8 {
14
- .#{iv.$helpers-prefix}#{$gap}-#{$i} {
14
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$gap}-#{$i} {
15
15
  #{$gap}: ($gap-base * $i) !important;
16
16
  }
17
17
 
18
18
  @if $i < 8 {
19
- .#{iv.$helpers-prefix}#{$gap}-#{$i}\.5 {
19
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$gap}-#{$i}\.5 {
20
20
  #{$gap}: ($gap-base * $i + math.div($gap-base, 2)) !important;
21
21
  }
22
22
  }