bulma-rails 0.9.4 → 1.0.4

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 (143) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +86 -13
  3. data/app/assets/stylesheets/bulma.scss +4 -0
  4. data/app/assets/stylesheets/bulma_sass/_index.scss +10 -0
  5. data/app/assets/stylesheets/bulma_sass/base/_index.scss +6 -0
  6. data/app/assets/stylesheets/bulma_sass/base/animations.scss +15 -0
  7. data/app/assets/stylesheets/bulma_sass/base/generic.scss +240 -0
  8. data/app/assets/stylesheets/bulma_sass/base/minireset.scss +92 -0
  9. data/app/assets/stylesheets/bulma_sass/base/skeleton.scss +114 -0
  10. data/app/assets/stylesheets/bulma_sass/components/_index.scss +13 -0
  11. data/app/assets/stylesheets/bulma_sass/components/breadcrumb.scss +139 -0
  12. data/app/assets/stylesheets/bulma_sass/components/card.scss +162 -0
  13. data/app/assets/stylesheets/bulma_sass/components/dropdown.scss +188 -0
  14. data/app/assets/stylesheets/bulma_sass/components/menu.scss +165 -0
  15. data/app/assets/stylesheets/bulma_sass/components/message.scss +183 -0
  16. data/app/assets/stylesheets/bulma_sass/components/modal.scss +164 -0
  17. data/app/assets/stylesheets/bulma_sass/components/navbar.scss +799 -0
  18. data/app/assets/stylesheets/bulma_sass/components/pagination.scss +379 -0
  19. data/app/assets/stylesheets/bulma_sass/components/panel.scss +218 -0
  20. data/app/assets/stylesheets/bulma_sass/components/tabs.scss +273 -0
  21. data/app/assets/stylesheets/bulma_sass/elements/_index.scss +16 -0
  22. data/app/assets/stylesheets/bulma_sass/elements/block.scss +6 -0
  23. data/app/assets/stylesheets/bulma_sass/elements/box.scss +59 -0
  24. data/app/assets/stylesheets/bulma_sass/elements/button.scss +659 -0
  25. data/app/assets/stylesheets/bulma_sass/elements/content.scss +289 -0
  26. data/app/assets/stylesheets/bulma_sass/elements/delete.scss +6 -0
  27. data/app/assets/stylesheets/bulma_sass/elements/icon.scss +67 -0
  28. data/app/assets/stylesheets/bulma_sass/elements/image.scss +64 -0
  29. data/app/assets/stylesheets/bulma_sass/elements/loader.scss +15 -0
  30. data/app/assets/stylesheets/bulma_sass/elements/notification.scss +105 -0
  31. data/app/assets/stylesheets/bulma_sass/elements/progress.scss +115 -0
  32. data/app/assets/stylesheets/bulma_sass/elements/table.scss +261 -0
  33. data/app/assets/stylesheets/bulma_sass/elements/tag.scss +219 -0
  34. data/app/assets/stylesheets/bulma_sass/elements/title.scss +130 -0
  35. data/app/assets/stylesheets/bulma_sass/form/_index.scss +9 -0
  36. data/app/assets/stylesheets/bulma_sass/form/checkbox-radio.scss +36 -0
  37. data/app/assets/stylesheets/bulma_sass/form/file.scss +330 -0
  38. data/app/assets/stylesheets/bulma_sass/form/input-textarea.scss +115 -0
  39. data/app/assets/stylesheets/bulma_sass/form/select.scss +144 -0
  40. data/app/assets/stylesheets/bulma_sass/form/shared.scss +178 -0
  41. data/app/assets/stylesheets/bulma_sass/form/tools.scss +352 -0
  42. data/app/assets/stylesheets/bulma_sass/grid/_index.scss +5 -0
  43. data/app/assets/stylesheets/bulma_sass/grid/columns.scss +961 -0
  44. data/app/assets/stylesheets/bulma_sass/grid/grid.scss +209 -0
  45. data/app/assets/stylesheets/bulma_sass/helpers/_index.scss +15 -0
  46. data/app/assets/stylesheets/bulma_sass/helpers/aspect-ratio.scss +12 -0
  47. data/app/assets/stylesheets/bulma_sass/helpers/border.scss +15 -0
  48. data/app/assets/stylesheets/bulma_sass/helpers/color.scss +344 -0
  49. data/app/assets/stylesheets/bulma_sass/helpers/flexbox.scss +62 -0
  50. data/app/assets/stylesheets/bulma_sass/helpers/float.scss +28 -0
  51. data/app/assets/stylesheets/bulma_sass/helpers/gap.scss +24 -0
  52. data/app/assets/stylesheets/bulma_sass/helpers/other.scss +19 -0
  53. data/app/assets/stylesheets/bulma_sass/helpers/overflow.scss +21 -0
  54. data/app/assets/stylesheets/bulma_sass/helpers/position.scss +19 -0
  55. data/app/assets/stylesheets/bulma_sass/helpers/spacing.scss +64 -0
  56. data/app/assets/stylesheets/bulma_sass/helpers/typography.scss +174 -0
  57. data/app/assets/stylesheets/bulma_sass/helpers/visibility.scss +221 -0
  58. data/app/assets/stylesheets/bulma_sass/layout/_index.scss +9 -0
  59. data/app/assets/stylesheets/bulma_sass/layout/container.scss +59 -0
  60. data/app/assets/stylesheets/bulma_sass/layout/footer.scss +23 -0
  61. data/app/assets/stylesheets/bulma_sass/layout/hero.scss +273 -0
  62. data/app/assets/stylesheets/bulma_sass/layout/level.scss +107 -0
  63. data/app/assets/stylesheets/bulma_sass/layout/media.scss +106 -0
  64. data/app/assets/stylesheets/bulma_sass/layout/section.scss +38 -0
  65. data/app/assets/stylesheets/bulma_sass/themes/_index.scss +36 -0
  66. data/app/assets/stylesheets/bulma_sass/themes/dark.scss +57 -0
  67. data/app/assets/stylesheets/bulma_sass/themes/light.scss +147 -0
  68. data/app/assets/stylesheets/bulma_sass/themes/setup.scss +174 -0
  69. data/app/assets/stylesheets/bulma_sass/utilities/_index.scss +7 -0
  70. data/app/assets/stylesheets/bulma_sass/utilities/controls.scss +85 -0
  71. data/app/assets/stylesheets/bulma_sass/utilities/css-variables.scss +502 -0
  72. data/app/assets/stylesheets/bulma_sass/utilities/derived-variables.scss +112 -0
  73. data/app/assets/stylesheets/bulma_sass/utilities/extends.scss +34 -0
  74. data/app/assets/stylesheets/bulma_sass/utilities/functions.scss +310 -0
  75. data/app/assets/stylesheets/bulma_sass/utilities/initial-variables.scss +157 -0
  76. data/app/assets/stylesheets/bulma_sass/utilities/mixins.scss +462 -0
  77. data/bulma-rails.gemspec +4 -6
  78. metadata +83 -74
  79. data/app/assets/stylesheets/bulma.sass +0 -10
  80. data/app/assets/stylesheets/sass/base/_all.sass +0 -6
  81. data/app/assets/stylesheets/sass/base/animations.sass +0 -5
  82. data/app/assets/stylesheets/sass/base/generic.sass +0 -145
  83. data/app/assets/stylesheets/sass/base/helpers.sass +0 -1
  84. data/app/assets/stylesheets/sass/base/minireset.sass +0 -79
  85. data/app/assets/stylesheets/sass/components/_all.sass +0 -15
  86. data/app/assets/stylesheets/sass/components/breadcrumb.sass +0 -77
  87. data/app/assets/stylesheets/sass/components/card.sass +0 -103
  88. data/app/assets/stylesheets/sass/components/dropdown.sass +0 -83
  89. data/app/assets/stylesheets/sass/components/level.sass +0 -79
  90. data/app/assets/stylesheets/sass/components/media.sass +0 -59
  91. data/app/assets/stylesheets/sass/components/menu.sass +0 -59
  92. data/app/assets/stylesheets/sass/components/message.sass +0 -101
  93. data/app/assets/stylesheets/sass/components/modal.sass +0 -117
  94. data/app/assets/stylesheets/sass/components/navbar.sass +0 -446
  95. data/app/assets/stylesheets/sass/components/pagination.sass +0 -167
  96. data/app/assets/stylesheets/sass/components/panel.sass +0 -121
  97. data/app/assets/stylesheets/sass/components/tabs.sass +0 -176
  98. data/app/assets/stylesheets/sass/elements/_all.sass +0 -16
  99. data/app/assets/stylesheets/sass/elements/box.sass +0 -26
  100. data/app/assets/stylesheets/sass/elements/button.sass +0 -357
  101. data/app/assets/stylesheets/sass/elements/container.sass +0 -29
  102. data/app/assets/stylesheets/sass/elements/content.sass +0 -162
  103. data/app/assets/stylesheets/sass/elements/form.sass +0 -1
  104. data/app/assets/stylesheets/sass/elements/icon.sass +0 -46
  105. data/app/assets/stylesheets/sass/elements/image.sass +0 -73
  106. data/app/assets/stylesheets/sass/elements/notification.sass +0 -52
  107. data/app/assets/stylesheets/sass/elements/other.sass +0 -31
  108. data/app/assets/stylesheets/sass/elements/progress.sass +0 -73
  109. data/app/assets/stylesheets/sass/elements/table.sass +0 -134
  110. data/app/assets/stylesheets/sass/elements/tag.sass +0 -140
  111. data/app/assets/stylesheets/sass/elements/title.sass +0 -70
  112. data/app/assets/stylesheets/sass/form/_all.sass +0 -9
  113. data/app/assets/stylesheets/sass/form/checkbox-radio.sass +0 -22
  114. data/app/assets/stylesheets/sass/form/file.sass +0 -184
  115. data/app/assets/stylesheets/sass/form/input-textarea.sass +0 -66
  116. data/app/assets/stylesheets/sass/form/select.sass +0 -88
  117. data/app/assets/stylesheets/sass/form/shared.sass +0 -60
  118. data/app/assets/stylesheets/sass/form/tools.sass +0 -215
  119. data/app/assets/stylesheets/sass/grid/_all.sass +0 -5
  120. data/app/assets/stylesheets/sass/grid/columns.sass +0 -513
  121. data/app/assets/stylesheets/sass/grid/tiles.sass +0 -36
  122. data/app/assets/stylesheets/sass/helpers/_all.sass +0 -12
  123. data/app/assets/stylesheets/sass/helpers/color.sass +0 -39
  124. data/app/assets/stylesheets/sass/helpers/flexbox.sass +0 -35
  125. data/app/assets/stylesheets/sass/helpers/float.sass +0 -10
  126. data/app/assets/stylesheets/sass/helpers/other.sass +0 -14
  127. data/app/assets/stylesheets/sass/helpers/overflow.sass +0 -2
  128. data/app/assets/stylesheets/sass/helpers/position.sass +0 -7
  129. data/app/assets/stylesheets/sass/helpers/spacing.sass +0 -31
  130. data/app/assets/stylesheets/sass/helpers/typography.sass +0 -103
  131. data/app/assets/stylesheets/sass/helpers/visibility.sass +0 -122
  132. data/app/assets/stylesheets/sass/layout/_all.sass +0 -6
  133. data/app/assets/stylesheets/sass/layout/footer.sass +0 -11
  134. data/app/assets/stylesheets/sass/layout/hero.sass +0 -153
  135. data/app/assets/stylesheets/sass/layout/section.sass +0 -17
  136. data/app/assets/stylesheets/sass/utilities/_all.sass +0 -9
  137. data/app/assets/stylesheets/sass/utilities/animations.sass +0 -1
  138. data/app/assets/stylesheets/sass/utilities/controls.sass +0 -49
  139. data/app/assets/stylesheets/sass/utilities/derived-variables.sass +0 -114
  140. data/app/assets/stylesheets/sass/utilities/extends.sass +0 -25
  141. data/app/assets/stylesheets/sass/utilities/functions.sass +0 -135
  142. data/app/assets/stylesheets/sass/utilities/initial-variables.sass +0 -79
  143. data/app/assets/stylesheets/sass/utilities/mixins.sass +0 -303
@@ -0,0 +1,310 @@
1
+ @use "sass:color";
2
+ @use "sass:list";
3
+ @use "sass:map";
4
+ @use "sass:math";
5
+ @use "sass:meta";
6
+ @use "sass:string";
7
+
8
+ @function mergeColorMaps($bulma-colors, $custom-colors) {
9
+ // We return at least Bulma's hard-coded colors
10
+ $merged-colors: $bulma-colors;
11
+
12
+ // We want a map as input
13
+ @if meta.type-of($custom-colors) == "map" {
14
+ @each $name, $components in $custom-colors {
15
+ // The color name should be a string
16
+ // and the components either a single color
17
+ // or a colors list with at least one element
18
+ @if meta.type-of($name) ==
19
+ "string" and
20
+ (
21
+ meta.type-of($components) ==
22
+ "list" or
23
+ meta.type-of($components) ==
24
+ "color"
25
+ ) and
26
+ list.length($components) >=
27
+ 1
28
+ {
29
+ $color-base: null;
30
+ $color-invert: null;
31
+ $color-light: null;
32
+ $color-dark: null;
33
+ $value: null;
34
+
35
+ // The param can either be a single color
36
+ // or a list of 2 colors
37
+ @if meta.type-of($components) == "color" {
38
+ $color-base: $components;
39
+ $color-invert: bulmaFindColorInvert($color-base);
40
+ $color-light: bulmaFindLightColor($color-base);
41
+ $color-dark: bulmaFindDarkColor($color-base);
42
+ } @else if meta.type-of($components) == "list" {
43
+ $color-base: list.nth($components, 1);
44
+
45
+ // If Invert, Light and Dark are provided
46
+ @if list.length($components) > 3 {
47
+ $color-invert: list.nth($components, 2);
48
+ $color-light: list.nth($components, 3);
49
+ $color-dark: list.nth($components, 4);
50
+
51
+ // If only Invert and Light are provided
52
+ } @else if list.length($components) > 2 {
53
+ $color-invert: list.nth($components, 2);
54
+ $color-light: list.nth($components, 3);
55
+ $color-dark: bulmaFindDarkColor($color-base);
56
+
57
+ // If only Invert is provided
58
+ } @else {
59
+ $color-invert: list.nth($components, 2);
60
+ $color-light: bulmaFindLightColor($color-base);
61
+ $color-dark: bulmaFindDarkColor($color-base);
62
+ }
63
+ }
64
+
65
+ $value: $color-base, $color-invert, $color-light, $color-dark;
66
+
67
+ // We only want to merge the map if the color base is an actual color
68
+ @if meta.type-of($color-base) == "color" {
69
+ // We merge this colors elements as map with Bulma's colors map
70
+ // (we can override them this way, no multiple definition for the same name)
71
+ // $merged-colors: map_merge($merged-colors, ($name: ($color-base, $color-invert, $color-light, $color-dark)))
72
+ $merged-colors: map.merge(
73
+ $merged-colors,
74
+ (
75
+ $name: $value,
76
+ )
77
+ );
78
+ }
79
+ }
80
+ }
81
+ }
82
+
83
+ @return $merged-colors;
84
+ }
85
+
86
+ @function powerNumber($number, $exp) {
87
+ $value: 1;
88
+
89
+ @if $exp > 0 {
90
+ @for $i from 1 through $exp {
91
+ $value: $value * $number;
92
+ }
93
+ } @else if $exp < 0 {
94
+ @for $i from 1 through -$exp {
95
+ $value: math.div($value, $number);
96
+ }
97
+ }
98
+
99
+ @return $value;
100
+ }
101
+
102
+ @function bulmaColorLuminance($color) {
103
+ @if meta.type-of($color) != "color" {
104
+ @return 0.55;
105
+ }
106
+
107
+ $color-rgb: (
108
+ "red": color.channel($color, "red", $space: rgb),
109
+ "green": color.channel($color, "green", $space: rgb),
110
+ "blue": color.channel($color, "blue", $space: rgb),
111
+ );
112
+
113
+ @each $name, $value in $color-rgb {
114
+ $adjusted: 0;
115
+ $value: math.div($value, 255);
116
+
117
+ @if $value < 0.03928 {
118
+ $value: math.div($value, 12.92);
119
+ } @else {
120
+ $value: math.div($value + 0.055, 1.055);
121
+ $value: powerNumber($value, 2);
122
+ }
123
+
124
+ $color-rgb: map.merge(
125
+ $color-rgb,
126
+ (
127
+ $name: $value,
128
+ )
129
+ );
130
+ }
131
+
132
+ @return map.get($color-rgb, "red") * 0.2126 + map.get($color-rgb, "green") *
133
+ 0.7152 + map.get($color-rgb, "blue") * 0.0722;
134
+ }
135
+
136
+ @function bulmaFindColorInvert($color) {
137
+ @if bulmaColorLuminance($color) > 0.55 {
138
+ @return rgba(#000, 0.7);
139
+ } @else {
140
+ @return #fff;
141
+ }
142
+ }
143
+
144
+ @function bulmaFindLightColor($color, $l: 96%) {
145
+ @if meta.type-of($color) == "color" {
146
+ $l: 96%;
147
+
148
+ @if color.channel($color, "lightness", $space: hsl) > 96% {
149
+ $l: color.channel($color, "lightness", $space: hsl);
150
+ }
151
+
152
+ @return color.change($color, $lightness: $l);
153
+ }
154
+
155
+ @return $background;
156
+ }
157
+
158
+ @function bulmaFindDarkColor($color, $base-l: 29%) {
159
+ @if meta.type-of($color) == "color" {
160
+ $luminance: bulmaColorLuminance($color);
161
+ $luminance-delta: 0.53 - $luminance;
162
+ $target-l: math.round($base-l + $luminance-delta * 53);
163
+
164
+ @return color.change($color, $lightness: max($base-l, $target-l));
165
+ }
166
+
167
+ @return $text-strong;
168
+ }
169
+
170
+ @function bulmaRgba($color, $alpha) {
171
+ @if meta.type-of($color) != "color" {
172
+ @return $color;
173
+ }
174
+
175
+ @return rgba($color, $alpha);
176
+ }
177
+
178
+ @function bulmaDarken($color, $amount) {
179
+ @if meta.type-of($color) != "color" {
180
+ @return $color;
181
+ }
182
+
183
+ @return color.adjust($color, $lightness: -$amount, $space: hsl);
184
+ }
185
+
186
+ @function bulmaLighten($color, $amount) {
187
+ @if meta.type-of($color) != "color" {
188
+ @return $color;
189
+ }
190
+
191
+ @return color.adjust($color, $lightness: $amount, $space: hsl);
192
+ }
193
+
194
+ @function bulmaColorBrightness($n) {
195
+ $color-brightness: math.round(
196
+ math.div(
197
+ (color.channel($n, "red", $space: rgb) * 299) +
198
+ (color.channel($n, "green", $space: rgb) * 587) +
199
+ (color.channel($n, "blue", $space: rgb) * 114),
200
+ 1000
201
+ )
202
+ );
203
+ $light-color: math.round(
204
+ math.div(
205
+ (color.channel(#ffffff, "red", $space: rgb) * 299) +
206
+ (color.channel(#ffffff, "green", $space: rgb) * 587) +
207
+ (color.channel(#ffffff, "blue", $space: rgb) * 114),
208
+ 1000
209
+ )
210
+ );
211
+
212
+ @if abs($color-brightness) < math.div($light-color, 2) {
213
+ @return "dark";
214
+ }
215
+
216
+ @return "bright";
217
+ }
218
+
219
+ @function bulmaEnoughContrast($foreground, $background) {
220
+ $r: (
221
+ max(
222
+ color.channel($foreground, "red", $space: rgb),
223
+ color.channel($background, "red", $space: rgb)
224
+ )
225
+ ) -
226
+ (
227
+ min(
228
+ color.channel($foreground, "red", $space: rgb),
229
+ color.channel($background, "red", $space: rgb)
230
+ )
231
+ );
232
+ $g: (
233
+ max(
234
+ color.channel($foreground, "green", $space: rgb),
235
+ color.channel($background, "green", $space: rgb)
236
+ )
237
+ ) -
238
+ (
239
+ min(
240
+ color.channel($foreground, "green", $space: rgb),
241
+ color.channel($background, "green", $space: rgb)
242
+ )
243
+ );
244
+ $b: (
245
+ max(
246
+ color.channel($foreground, "blue", $space: rgb),
247
+ color.channel($background, "blue", $space: rgb)
248
+ )
249
+ ) -
250
+ (
251
+ min(
252
+ color.channel($foreground, "blue", $space: rgb),
253
+ color.channel($background, "blue", $space: rgb)
254
+ )
255
+ );
256
+ $sum-rgb: $r + $g + $b;
257
+
258
+ @if $sum-rgb < 500 {
259
+ @return false;
260
+ }
261
+
262
+ @return true;
263
+ }
264
+
265
+ // By Cory Simmons https://corysimmons.com/
266
+ @function bulmaStringToNumber($value) {
267
+ @if meta.type-of($value) == "number" {
268
+ @return $value;
269
+ } @else if meta.type-of($value) != "string" {
270
+ $_: log("Value for `to-number` should be a number or a string.");
271
+ }
272
+
273
+ $result: 0;
274
+ $digits: 0;
275
+ $minus: string.slice($value, 1, 1) == "-";
276
+ $numbers: (
277
+ "0": 0,
278
+ "1": 1,
279
+ "2": 2,
280
+ "3": 3,
281
+ "4": 4,
282
+ "5": 5,
283
+ "6": 6,
284
+ "7": 7,
285
+ "8": 8,
286
+ "9": 9,
287
+ );
288
+
289
+ @for $i from if($minus, 2, 1) through string.length($value) {
290
+ $character: string.slice($value, $i, $i);
291
+
292
+ @if not(list.index(map.keys($numbers), $character) or $character == ".") {
293
+ @return to-length(
294
+ if($minus, -$result, $result),
295
+ string.slice($value, $i)
296
+ );
297
+ }
298
+
299
+ @if $character == "." {
300
+ $digits: 1;
301
+ } @else if $digits == 0 {
302
+ $result: $result * 10 + map.get($numbers, $character);
303
+ } @else {
304
+ $digits: $digits * 10;
305
+ $result: $result + map.get($numbers, $character) / $digits;
306
+ }
307
+ }
308
+
309
+ @return if($minus, -$result, $result);
310
+ }
@@ -0,0 +1,157 @@
1
+ // Scheme Hue and Saturation
2
+
3
+ $scheme-h: 221 !default;
4
+ $scheme-s: 14% !default;
5
+ $dark-l: 20% !default;
6
+ $light-l: 90% !default;
7
+
8
+ // Colors
9
+
10
+ $black: hsl(221, 14%, 4%) !default;
11
+ $black-bis: hsl(221, 14%, 9%) !default;
12
+ $black-ter: hsl(221, 14%, 14%) !default;
13
+
14
+ $grey-darker: hsl(221, 14%, 21%) !default;
15
+ $grey-dark: hsl(221, 14%, 29%) !default;
16
+ $grey: hsl(221, 14%, 48%) !default;
17
+ $grey-light: hsl(221, 14%, 71%) !default;
18
+ $grey-lighter: hsl(221, 14%, 86%) !default;
19
+ $grey-lightest: hsl(221, 14%, 93%) !default;
20
+
21
+ $white-ter: hsl(221, 14%, 96%) !default;
22
+ $white-bis: hsl(221, 14%, 98%) !default;
23
+ $white: hsl(221, 14%, 100%) !default;
24
+
25
+ $orange: hsl(14, 100%, 53%) !default;
26
+ $yellow: hsl(42, 100%, 53%) !default;
27
+ $green: hsl(153, 53%, 53%) !default;
28
+ $turquoise: hsl(171, 100%, 41%) !default;
29
+ $cyan: hsl(198, 100%, 70%) !default;
30
+ $blue: hsl(233, 100%, 63%) !default;
31
+ $purple: hsl(271, 100%, 71%) !default;
32
+ $red: hsl(348, 100%, 70%) !default;
33
+
34
+ // Typography
35
+
36
+ $family-sans-serif: "Inter", "SF Pro", "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
37
+ "Helvetica Neue", "Helvetica", "Arial", sans-serif !default;
38
+ $family-monospace: "Inconsolata", "Hack", "SF Mono", "Roboto Mono",
39
+ "Source Code Pro", "Ubuntu Mono", monospace !default;
40
+ $render-mode: optimizeLegibility !default;
41
+
42
+ $size-1: 3rem !default;
43
+ $size-2: 2.5rem !default;
44
+ $size-3: 2rem !default;
45
+ $size-4: 1.5rem !default;
46
+ $size-5: 1.25rem !default;
47
+ $size-6: 1rem !default;
48
+ $size-7: 0.75rem !default;
49
+
50
+ $weight-light: 300 !default;
51
+ $weight-normal: 400 !default;
52
+ $weight-medium: 500 !default;
53
+ $weight-semibold: 600 !default;
54
+ $weight-bold: 700 !default;
55
+ $weight-extrabold: 800 !default;
56
+
57
+ // Spacing
58
+
59
+ $block-spacing: 1.5rem !default;
60
+ $aspect-ratios: (
61
+ (1, 1),
62
+ (5, 4),
63
+ (4, 3),
64
+ (3, 2),
65
+ (5, 3),
66
+ (16, 9),
67
+ (2, 1),
68
+ (3, 1),
69
+ (4, 5),
70
+ (3, 4),
71
+ (2, 3),
72
+ (3, 5),
73
+ (9, 16),
74
+ (1, 2),
75
+ (1, 3)
76
+ ) !default;
77
+
78
+ // Responsiveness
79
+
80
+ // The container horizontal gap, which acts as the offset for breakpoints
81
+ $gap: 32px !default;
82
+
83
+ // 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
84
+ $tablet: 769px !default;
85
+
86
+ // 960px container + 4rem
87
+ $desktop: 960px + 2 * $gap !default;
88
+
89
+ // 1152px container + 4rem
90
+ $widescreen: 1152px + 2 * $gap !default;
91
+ $widescreen-enabled: true !default;
92
+
93
+ // 1344px container + 4rem
94
+ $fullhd: 1344px + 2 * $gap !default;
95
+ $fullhd-enabled: true !default;
96
+ $breakpoints: (
97
+ "mobile": (
98
+ "until": $tablet,
99
+ ),
100
+ "tablet": (
101
+ "from": $tablet,
102
+ ),
103
+ "tablet-only": (
104
+ "from": $tablet,
105
+ "until": $desktop,
106
+ ),
107
+ "touch": (
108
+ "from": $desktop,
109
+ ),
110
+ "desktop": (
111
+ "from": $desktop,
112
+ ),
113
+ "desktop-only": (
114
+ "from": $desktop,
115
+ "until": $widescreen,
116
+ ),
117
+ "until-widescreen": (
118
+ "until": $widescreen,
119
+ ),
120
+ "widescreen": (
121
+ "from": $widescreen,
122
+ ),
123
+ "widescreen-only": (
124
+ "from": $widescreen,
125
+ "until": $fullhd,
126
+ ),
127
+ "until-fullhd": (
128
+ "until": $fullhd,
129
+ ),
130
+ "fullhd": (
131
+ "from": $fullhd,
132
+ ),
133
+ ) !default;
134
+
135
+ // Miscellaneous
136
+
137
+ $duration: 294ms !default;
138
+ $easing: ease-out !default;
139
+ $radius-small: 0.25rem !default;
140
+ $radius: 0.375rem !default;
141
+ $radius-medium: 0.5em !default;
142
+ $radius-large: 0.75rem !default;
143
+ $radius-rounded: 9999px !default;
144
+ $speed: 86ms !default;
145
+
146
+ // Flags
147
+
148
+ $variable-columns: true !default;
149
+ $rtl: false !default;
150
+
151
+ // Prefixes
152
+
153
+ $class-prefix: "" !default;
154
+ $cssvars-prefix: "bulma-" !default;
155
+ $helpers-prefix: "is-" !default;
156
+ $helpers-has-prefix: "has-" !default;
157
+ $variables-host: ":root" !default;