bulma-rails 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/bulma.scss +1 -1
  3. data/app/assets/stylesheets/sass/elements/button.scss +6 -0
  4. data/app/assets/stylesheets/sass/elements/image.scss +4 -2
  5. data/app/assets/stylesheets/sass/elements/title.scss +4 -2
  6. data/app/assets/stylesheets/sass/form/input-textarea.scss +3 -1
  7. data/app/assets/stylesheets/sass/form/shared.scss +7 -5
  8. data/app/assets/stylesheets/sass/helpers/aspect-ratio.scss +5 -3
  9. data/app/assets/stylesheets/sass/helpers/border.scss +1 -1
  10. data/app/assets/stylesheets/sass/helpers/color.scss +40 -40
  11. data/app/assets/stylesheets/sass/helpers/flexbox.scss +7 -7
  12. data/app/assets/stylesheets/sass/helpers/float.scss +7 -7
  13. data/app/assets/stylesheets/sass/helpers/gap.scss +3 -3
  14. data/app/assets/stylesheets/sass/helpers/other.scss +4 -4
  15. data/app/assets/stylesheets/sass/helpers/overflow.scss +4 -4
  16. data/app/assets/stylesheets/sass/helpers/position.scss +4 -4
  17. data/app/assets/stylesheets/sass/helpers/spacing.scss +6 -6
  18. data/app/assets/stylesheets/sass/helpers/typography.scss +29 -27
  19. data/app/assets/stylesheets/sass/helpers/visibility.scss +61 -61
  20. data/app/assets/stylesheets/sass/layout/hero.scss +6 -3
  21. data/app/assets/stylesheets/sass/themes/dark.scss +2 -1
  22. data/app/assets/stylesheets/sass/themes/light.scss +6 -5
  23. data/app/assets/stylesheets/sass/utilities/css-variables.scss +98 -22
  24. data/app/assets/stylesheets/sass/utilities/functions.scss +100 -48
  25. data/app/assets/stylesheets/sass/utilities/mixins.scss +5 -3
  26. data/bulma-rails.gemspec +1 -1
  27. metadata +2 -2
@@ -1,10 +1,10 @@
1
1
  @use "../utilities/initial-variables" as iv;
2
2
 
3
- .marginless {
3
+ .#{iv.$class-prefix}marginless {
4
4
  margin: 0 !important;
5
5
  }
6
6
 
7
- .paddingless {
7
+ .#{iv.$class-prefix}paddingless {
8
8
  padding: 0 !important;
9
9
  }
10
10
 
@@ -34,20 +34,20 @@ $spacing-values: (
34
34
  @each $property, $shortcut in $spacing-shortcuts {
35
35
  @each $name, $value in $spacing-values {
36
36
  // All directions
37
- .#{$shortcut}-#{$name} {
37
+ .#{iv.$class-prefix}#{$shortcut}-#{$name} {
38
38
  #{$property}: $value !important;
39
39
  }
40
40
 
41
41
  // Cardinal directions
42
42
  @each $direction, $suffix in $spacing-directions {
43
- .#{$shortcut}#{$suffix}-#{$name} {
43
+ .#{iv.$class-prefix}#{$shortcut}#{$suffix}-#{$name} {
44
44
  #{$property}-#{$direction}: $value !important;
45
45
  }
46
46
  }
47
47
 
48
48
  // Horizontal axis
49
49
  @if $spacing-horizontal != null {
50
- .#{$shortcut}#{$spacing-horizontal}-#{$name} {
50
+ .#{iv.$class-prefix}#{$shortcut}#{$spacing-horizontal}-#{$name} {
51
51
  #{$property}-left: $value !important;
52
52
  #{$property}-right: $value !important;
53
53
  }
@@ -55,7 +55,7 @@ $spacing-values: (
55
55
 
56
56
  // Vertical axis
57
57
  @if $spacing-vertical != null {
58
- .#{$shortcut}#{$spacing-vertical}-#{$name} {
58
+ .#{iv.$class-prefix}#{$shortcut}#{$spacing-vertical}-#{$name} {
59
59
  #{$property}-top: $value !important;
60
60
  #{$property}-bottom: $value !important;
61
61
  }
@@ -1,12 +1,14 @@
1
+ @use "sass:list";
2
+
1
3
  @use "../utilities/derived-variables" as dv;
2
4
  @use "../utilities/initial-variables" as iv;
3
5
  @use "../utilities/mixins" as mx;
4
6
 
5
7
  @mixin typography-size($target: "") {
6
8
  @each $size in dv.$sizes {
7
- $i: index(dv.$sizes, $size);
9
+ $i: list.index(dv.$sizes, $size);
8
10
 
9
- .#{iv.$helpers-prefix}size-#{$i}#{if($target == "", "", "-" + $target)} {
11
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}size-#{$i}#{if($target == "", "", "-" + $target)} {
10
12
  font-size: $size !important;
11
13
  }
12
14
  }
@@ -46,123 +48,123 @@ $alignments: (
46
48
  );
47
49
 
48
50
  @each $alignment, $text-align in $alignments {
49
- .#{iv.$helpers-has-prefix}text-#{$alignment} {
51
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment} {
50
52
  text-align: #{$text-align} !important;
51
53
  }
52
54
  }
53
55
 
54
56
  @each $alignment, $text-align in $alignments {
55
57
  @include mx.mobile {
56
- .#{iv.$helpers-has-prefix}text-#{$alignment}-mobile {
58
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-mobile {
57
59
  text-align: #{$text-align} !important;
58
60
  }
59
61
  }
60
62
 
61
63
  @include mx.tablet {
62
- .#{iv.$helpers-has-prefix}text-#{$alignment}-tablet {
64
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-tablet {
63
65
  text-align: #{$text-align} !important;
64
66
  }
65
67
  }
66
68
 
67
69
  @include mx.tablet-only {
68
- .#{iv.$helpers-has-prefix}text-#{$alignment}-tablet-only {
70
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-tablet-only {
69
71
  text-align: #{$text-align} !important;
70
72
  }
71
73
  }
72
74
 
73
75
  @include mx.touch {
74
- .#{iv.$helpers-has-prefix}text-#{$alignment}-touch {
76
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-touch {
75
77
  text-align: #{$text-align} !important;
76
78
  }
77
79
  }
78
80
 
79
81
  @include mx.desktop {
80
- .#{iv.$helpers-has-prefix}text-#{$alignment}-desktop {
82
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-desktop {
81
83
  text-align: #{$text-align} !important;
82
84
  }
83
85
  }
84
86
 
85
87
  @include mx.desktop-only {
86
- .#{iv.$helpers-has-prefix}text-#{$alignment}-desktop-only {
88
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-desktop-only {
87
89
  text-align: #{$text-align} !important;
88
90
  }
89
91
  }
90
92
 
91
93
  @include mx.widescreen {
92
- .#{iv.$helpers-has-prefix}text-#{$alignment}-widescreen {
94
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-widescreen {
93
95
  text-align: #{$text-align} !important;
94
96
  }
95
97
  }
96
98
 
97
99
  @include mx.widescreen-only {
98
- .#{iv.$helpers-has-prefix}text-#{$alignment}-widescreen-only {
100
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-widescreen-only {
99
101
  text-align: #{$text-align} !important;
100
102
  }
101
103
  }
102
104
 
103
105
  @include mx.fullhd {
104
- .#{iv.$helpers-has-prefix}text-#{$alignment}-fullhd {
106
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-fullhd {
105
107
  text-align: #{$text-align} !important;
106
108
  }
107
109
  }
108
110
  }
109
111
 
110
- .#{iv.$helpers-prefix}capitalized {
112
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}capitalized {
111
113
  text-transform: capitalize !important;
112
114
  }
113
115
 
114
- .#{iv.$helpers-prefix}lowercase {
116
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}lowercase {
115
117
  text-transform: lowercase !important;
116
118
  }
117
119
 
118
- .#{iv.$helpers-prefix}uppercase {
120
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}uppercase {
119
121
  text-transform: uppercase !important;
120
122
  }
121
123
 
122
- .#{iv.$helpers-prefix}italic {
124
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}italic {
123
125
  font-style: italic !important;
124
126
  }
125
127
 
126
- .#{iv.$helpers-prefix}underlined {
128
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}underlined {
127
129
  text-decoration: underline !important;
128
130
  }
129
131
 
130
- .#{iv.$helpers-has-prefix}text-weight-light {
132
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-light {
131
133
  font-weight: iv.$weight-light !important;
132
134
  }
133
135
 
134
- .#{iv.$helpers-has-prefix}text-weight-normal {
136
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-normal {
135
137
  font-weight: iv.$weight-normal !important;
136
138
  }
137
139
 
138
- .#{iv.$helpers-has-prefix}text-weight-medium {
140
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-medium {
139
141
  font-weight: iv.$weight-medium !important;
140
142
  }
141
143
 
142
- .#{iv.$helpers-has-prefix}text-weight-semibold {
144
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-semibold {
143
145
  font-weight: iv.$weight-semibold !important;
144
146
  }
145
147
 
146
- .#{iv.$helpers-has-prefix}text-weight-bold {
148
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-bold {
147
149
  font-weight: iv.$weight-bold !important;
148
150
  }
149
151
 
150
- .#{iv.$helpers-prefix}family-primary {
152
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}family-primary {
151
153
  font-family: dv.$family-primary !important;
152
154
  }
153
155
 
154
- .#{iv.$helpers-prefix}family-secondary {
156
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}family-secondary {
155
157
  font-family: dv.$family-secondary !important;
156
158
  }
157
159
 
158
- .#{iv.$helpers-prefix}family-sans-serif {
160
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}family-sans-serif {
159
161
  font-family: iv.$family-sans-serif !important;
160
162
  }
161
163
 
162
- .#{iv.$helpers-prefix}family-monospace {
164
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}family-monospace {
163
165
  font-family: iv.$family-monospace !important;
164
166
  }
165
167
 
166
- .#{iv.$helpers-prefix}family-code {
168
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}family-code {
167
169
  font-family: dv.$family-code !important;
168
170
  }
@@ -1,84 +1,84 @@
1
1
  @use "../utilities/initial-variables" as iv;
2
2
  @use "../utilities/mixins" as mx;
3
3
 
4
- .#{iv.$helpers-prefix}display-none,
5
- .#{iv.$helpers-prefix}hidden {
4
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none,
5
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden {
6
6
  display: none !important;
7
7
  }
8
8
 
9
9
  $displays: block flex inline inline-block inline-flex grid;
10
10
 
11
11
  @each $display in $displays {
12
- .#{iv.$helpers-prefix}display-#{$display},
13
- .#{iv.$helpers-prefix}#{$display} {
12
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display},
13
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display} {
14
14
  display: $display !important;
15
15
  }
16
16
 
17
17
  @include mx.mobile {
18
- .#{iv.$helpers-prefix}display-#{$display}-mobile,
19
- .#{iv.$helpers-prefix}#{$display}-mobile {
18
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-mobile,
19
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-mobile {
20
20
  display: $display !important;
21
21
  }
22
22
  }
23
23
 
24
24
  @include mx.tablet {
25
- .#{iv.$helpers-prefix}display-#{$display}-tablet,
26
- .#{iv.$helpers-prefix}#{$display}-tablet {
25
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-tablet,
26
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-tablet {
27
27
  display: $display !important;
28
28
  }
29
29
  }
30
30
 
31
31
  @include mx.tablet-only {
32
- .#{iv.$helpers-prefix}display-#{$display}-tablet-only,
33
- .#{iv.$helpers-prefix}#{$display}-tablet-only {
32
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-tablet-only,
33
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-tablet-only {
34
34
  display: $display !important;
35
35
  }
36
36
  }
37
37
 
38
38
  @include mx.touch {
39
- .#{iv.$helpers-prefix}display-#{$display}-touch,
40
- .#{iv.$helpers-prefix}#{$display}-touch {
39
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-touch,
40
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-touch {
41
41
  display: $display !important;
42
42
  }
43
43
  }
44
44
 
45
45
  @include mx.desktop {
46
- .#{iv.$helpers-prefix}display-#{$display}-desktop,
47
- .#{iv.$helpers-prefix}#{$display}-desktop {
46
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-desktop,
47
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-desktop {
48
48
  display: $display !important;
49
49
  }
50
50
  }
51
51
 
52
52
  @include mx.desktop-only {
53
- .#{iv.$helpers-prefix}display-#{$display}-desktop-only,
54
- .#{iv.$helpers-prefix}#{$display}-desktop-only {
53
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-desktop-only,
54
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-desktop-only {
55
55
  display: $display !important;
56
56
  }
57
57
  }
58
58
 
59
59
  @include mx.widescreen {
60
- .#{iv.$helpers-prefix}display-#{$display}-widescreen,
61
- .#{iv.$helpers-prefix}#{$display}-widescreen {
60
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-widescreen,
61
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-widescreen {
62
62
  display: $display !important;
63
63
  }
64
64
  }
65
65
 
66
66
  @include mx.widescreen-only {
67
- .#{iv.$helpers-prefix}display-#{$display}-widescreen-only,
68
- .#{iv.$helpers-prefix}#{$display}-widescreen-only {
67
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-widescreen-only,
68
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-widescreen-only {
69
69
  display: $display !important;
70
70
  }
71
71
  }
72
72
 
73
73
  @include mx.fullhd {
74
- .#{iv.$helpers-prefix}display-#{$display}-fullhd,
75
- .#{iv.$helpers-prefix}#{$display}-fullhd {
74
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-fullhd,
75
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-fullhd {
76
76
  display: $display !important;
77
77
  }
78
78
  }
79
79
  }
80
80
 
81
- .#{iv.$helpers-prefix}sr-only {
81
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}sr-only {
82
82
  border: none !important;
83
83
  clip: rect(0, 0, 0, 0) !important;
84
84
  height: 0.01em !important;
@@ -90,132 +90,132 @@ $displays: block flex inline inline-block inline-flex grid;
90
90
  }
91
91
 
92
92
  @include mx.mobile {
93
- .#{iv.$helpers-prefix}display-none-mobile,
94
- .#{iv.$helpers-prefix}hidden-mobile {
93
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-mobile,
94
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-mobile {
95
95
  display: none !important;
96
96
  }
97
97
  }
98
98
 
99
99
  @include mx.tablet {
100
- .#{iv.$helpers-prefix}display-none-tablet,
101
- .#{iv.$helpers-prefix}hidden-tablet {
100
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-tablet,
101
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-tablet {
102
102
  display: none !important;
103
103
  }
104
104
  }
105
105
 
106
106
  @include mx.tablet-only {
107
- .#{iv.$helpers-prefix}display-none-tablet-only,
108
- .#{iv.$helpers-prefix}hidden-tablet-only {
107
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-tablet-only,
108
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-tablet-only {
109
109
  display: none !important;
110
110
  }
111
111
  }
112
112
 
113
113
  @include mx.touch {
114
- .#{iv.$helpers-prefix}display-none-touch,
115
- .#{iv.$helpers-prefix}hidden-touch {
114
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-touch,
115
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-touch {
116
116
  display: none !important;
117
117
  }
118
118
  }
119
119
 
120
120
  @include mx.desktop {
121
- .#{iv.$helpers-prefix}display-none-desktop,
122
- .#{iv.$helpers-prefix}hidden-desktop {
121
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-desktop,
122
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-desktop {
123
123
  display: none !important;
124
124
  }
125
125
  }
126
126
 
127
127
  @include mx.desktop-only {
128
- .#{iv.$helpers-prefix}display-none-desktop-only,
129
- .#{iv.$helpers-prefix}hidden-desktop-only {
128
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-desktop-only,
129
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-desktop-only {
130
130
  display: none !important;
131
131
  }
132
132
  }
133
133
 
134
134
  @include mx.widescreen {
135
- .#{iv.$helpers-prefix}display-none-widescreen,
136
- .#{iv.$helpers-prefix}hidden-widescreen {
135
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-widescreen,
136
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-widescreen {
137
137
  display: none !important;
138
138
  }
139
139
  }
140
140
 
141
141
  @include mx.widescreen-only {
142
- .#{iv.$helpers-prefix}display-none-widescreen-only,
143
- .#{iv.$helpers-prefix}hidden-widescreen-only {
142
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-widescreen-only,
143
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-widescreen-only {
144
144
  display: none !important;
145
145
  }
146
146
  }
147
147
 
148
148
  @include mx.fullhd {
149
- .#{iv.$helpers-prefix}display-none-fullhd,
150
- .#{iv.$helpers-prefix}hidden-fullhd {
149
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-fullhd,
150
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-fullhd {
151
151
  display: none !important;
152
152
  }
153
153
  }
154
154
 
155
- .#{iv.$helpers-prefix}visibility-hidden,
156
- .#{iv.$helpers-prefix}invisible {
155
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden,
156
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible {
157
157
  visibility: hidden !important;
158
158
  }
159
159
 
160
160
  @include mx.mobile {
161
- .#{iv.$helpers-prefix}visibility-hidden-mobile,
162
- .#{iv.$helpers-prefix}invisible-mobile {
161
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-mobile,
162
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-mobile {
163
163
  visibility: hidden !important;
164
164
  }
165
165
  }
166
166
 
167
167
  @include mx.tablet {
168
- .#{iv.$helpers-prefix}visibility-hidden-tablet,
169
- .#{iv.$helpers-prefix}invisible-tablet {
168
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-tablet,
169
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-tablet {
170
170
  visibility: hidden !important;
171
171
  }
172
172
  }
173
173
 
174
174
  @include mx.tablet-only {
175
- .#{iv.$helpers-prefix}visibility-hidden-tablet-only,
176
- .#{iv.$helpers-prefix}invisible-tablet-only {
175
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-tablet-only,
176
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-tablet-only {
177
177
  visibility: hidden !important;
178
178
  }
179
179
  }
180
180
 
181
181
  @include mx.touch {
182
- .#{iv.$helpers-prefix}visibility-hidden-touch,
183
- .#{iv.$helpers-prefix}invisible-touch {
182
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-touch,
183
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-touch {
184
184
  visibility: hidden !important;
185
185
  }
186
186
  }
187
187
 
188
188
  @include mx.desktop {
189
- .#{iv.$helpers-prefix}visibility-hidden-desktop,
190
- .#{iv.$helpers-prefix}invisible-desktop {
189
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-desktop,
190
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-desktop {
191
191
  visibility: hidden !important;
192
192
  }
193
193
  }
194
194
 
195
195
  @include mx.desktop-only {
196
- .#{iv.$helpers-prefix}visibility-hidden-desktop-only,
197
- .#{iv.$helpers-prefix}invisible-desktop-only {
196
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-desktop-only,
197
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-desktop-only {
198
198
  visibility: hidden !important;
199
199
  }
200
200
  }
201
201
 
202
202
  @include mx.widescreen {
203
- .#{iv.$helpers-prefix}visibility-hidden-widescreen,
204
- .#{iv.$helpers-prefix}invisible-widescreen {
203
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-widescreen,
204
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-widescreen {
205
205
  visibility: hidden !important;
206
206
  }
207
207
  }
208
208
 
209
209
  @include mx.widescreen-only {
210
- .#{iv.$helpers-prefix}visibility-hidden-widescreen-only,
211
- .#{iv.$helpers-prefix}invisible-widescreen-only {
210
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-widescreen-only,
211
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-widescreen-only {
212
212
  visibility: hidden !important;
213
213
  }
214
214
  }
215
215
 
216
216
  @include mx.fullhd {
217
- .#{iv.$helpers-prefix}visibility-hidden-fullhd,
218
- .#{iv.$helpers-prefix}invisible-fullhd {
217
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-fullhd,
218
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-fullhd {
219
219
  visibility: hidden !important;
220
220
  }
221
221
  }
@@ -10,9 +10,9 @@ $hero-body-padding-small: 1.5rem !default;
10
10
  $hero-body-padding-medium: 9rem 4.5rem !default;
11
11
  $hero-body-padding-large: 18rem 6rem !default;
12
12
 
13
- $hero-gradient-h-offset: 5deg;
14
- $hero-gradient-s-offset: 10%;
15
- $hero-gradient-l-offset: 5%;
13
+ $hero-gradient-h-offset: 5deg !default;
14
+ $hero-gradient-s-offset: 10% !default;
15
+ $hero-gradient-l-offset: 5% !default;
16
16
 
17
17
  $hero-colors: dv.$colors !default;
18
18
 
@@ -25,6 +25,9 @@ $hero-colors: dv.$colors !default;
25
25
  "hero-body-padding-small": #{$hero-body-padding-small},
26
26
  "hero-body-padding-medium": #{$hero-body-padding-medium},
27
27
  "hero-body-padding-large": #{$hero-body-padding-large},
28
+ "hero-gradient-h-offset": #{$hero-gradient-h-offset},
29
+ "hero-gradient-s-offset": #{$hero-gradient-s-offset},
30
+ "hero-gradient-l-offset": #{$hero-gradient-l-offset},
28
31
  )
29
32
  );
30
33
  }
@@ -1,4 +1,5 @@
1
1
  @use "sass:list";
2
+ @use "sass:meta";
2
3
 
3
4
  @use "../utilities/initial-variables" as iv;
4
5
  @use "../utilities/css-variables" as cv;
@@ -19,7 +20,7 @@ $text: hsl(iv.$scheme-h, iv.$scheme-s, $text-l);
19
20
  @each $name, $color in dv.$colors {
20
21
  $base: $color;
21
22
 
22
- @if type-of($color == "list") {
23
+ @if meta.type-of($color == "list") {
23
24
  $base: list.nth($color, 1);
24
25
  }
25
26
 
@@ -1,4 +1,5 @@
1
1
  @use "sass:list";
2
+ @use "sass:meta";
2
3
 
3
4
  @use "../utilities/css-variables" as cv;
4
5
  @use "../utilities/derived-variables" as dv;
@@ -73,13 +74,13 @@ $scheme-main: hsl(iv.$scheme-h, iv.$scheme-s, $scheme-main-l);
73
74
  // Other
74
75
  "block-spacing": iv.$block-spacing,
75
76
  "duration": 294ms,
76
- "easing": ease-out,
77
+ "easing": iv.$easing,
77
78
  "radius-small": iv.$radius-small,
78
79
  "radius": iv.$radius,
79
80
  "radius-medium": iv.$radius-medium,
80
81
  "radius-large": iv.$radius-large,
81
- "radius-rounded": 9999px,
82
- "speed": 86ms,
82
+ "radius-rounded": iv.$radius-rounded,
83
+ "speed": iv.$speed,
83
84
 
84
85
  "arrow-color": #{cv.getVar("link")},
85
86
  "loading-color": #{cv.getVar("border")},
@@ -103,7 +104,7 @@ $scheme-main: hsl(iv.$scheme-h, iv.$scheme-s, $scheme-main-l);
103
104
  $light: null;
104
105
  $dark: null;
105
106
 
106
- @if type-of($color == "list") {
107
+ @if meta.type-of($color == "list") {
107
108
  $base: list.nth($color, 1);
108
109
 
109
110
  @if list.length($color) > 3 {
@@ -139,7 +140,7 @@ $scheme-main: hsl(iv.$scheme-h, iv.$scheme-s, $scheme-main-l);
139
140
  @include cv.register-hsl("shadow", dv.$shadow-color);
140
141
 
141
142
  @each $size in dv.$sizes {
142
- $i: index(dv.$sizes, $size);
143
+ $i: list.index(dv.$sizes, $size);
143
144
  $name: "size-#{$i}";
144
145
  @include cv.register-var($name, $size);
145
146
  }