bootswatch 4.1.3 → 4.2.1

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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/.gitattributes +1 -0
  3. data/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +5 -1
  4. data/assets/stylesheets/bootswatch/cerulean/_variables.scss +1 -1
  5. data/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +1 -1
  6. data/assets/stylesheets/bootswatch/cosmo/_variables.scss +1 -1
  7. data/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +14 -6
  8. data/assets/stylesheets/bootswatch/cyborg/_variables.scss +3 -3
  9. data/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +6 -2
  10. data/assets/stylesheets/bootswatch/darkly/_variables.scss +1 -1
  11. data/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +6 -2
  12. data/assets/stylesheets/bootswatch/flatly/_variables.scss +1 -1
  13. data/assets/stylesheets/bootswatch/journal/_bootswatch.scss +1 -1
  14. data/assets/stylesheets/bootswatch/journal/_variables.scss +1 -1
  15. data/assets/stylesheets/bootswatch/litera/_bootswatch.scss +6 -2
  16. data/assets/stylesheets/bootswatch/litera/_variables.scss +1 -1
  17. data/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +5 -6
  18. data/assets/stylesheets/bootswatch/lumen/_variables.scss +1 -1
  19. data/assets/stylesheets/bootswatch/lux/_bootswatch.scss +1 -1
  20. data/assets/stylesheets/bootswatch/lux/_variables.scss +1 -1
  21. data/assets/stylesheets/bootswatch/materia/_bootswatch.scss +11 -19
  22. data/assets/stylesheets/bootswatch/materia/_variables.scss +3 -1
  23. data/assets/stylesheets/bootswatch/minty/_bootswatch.scss +6 -1
  24. data/assets/stylesheets/bootswatch/minty/_variables.scss +1 -1
  25. data/assets/stylesheets/bootswatch/pulse/_bootswatch.scss +1 -1
  26. data/assets/stylesheets/bootswatch/pulse/_variables.scss +1 -1
  27. data/assets/stylesheets/bootswatch/sandstone/_bootswatch.scss +1 -1
  28. data/assets/stylesheets/bootswatch/sandstone/_variables.scss +1 -1
  29. data/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +5 -1
  30. data/assets/stylesheets/bootswatch/simplex/_variables.scss +1 -1
  31. data/assets/stylesheets/bootswatch/sketchy/_bootswatch.scss +1 -1
  32. data/assets/stylesheets/bootswatch/sketchy/_variables.scss +1 -1
  33. data/assets/stylesheets/bootswatch/slate/_bootswatch.scss +1 -1
  34. data/assets/stylesheets/bootswatch/slate/_variables.scss +1 -1
  35. data/assets/stylesheets/bootswatch/solar/_bootswatch.scss +18 -2
  36. data/assets/stylesheets/bootswatch/solar/_variables.scss +3 -1
  37. data/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +1 -1
  38. data/assets/stylesheets/bootswatch/spacelab/_variables.scss +1 -1
  39. data/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +14 -6
  40. data/assets/stylesheets/bootswatch/superhero/_variables.scss +7 -3
  41. data/assets/stylesheets/bootswatch/united/_bootswatch.scss +1 -1
  42. data/assets/stylesheets/bootswatch/united/_variables.scss +1 -1
  43. data/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +5 -1
  44. data/assets/stylesheets/bootswatch/yeti/_variables.scss +3 -3
  45. data/bootswatch.gemspec +0 -1
  46. data/lib/bootswatch.rb +3 -8
  47. data/lib/bootswatch/version.rb +1 -1
  48. metadata +3 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3145c6188128460b9745c38fd4991079028db880c7b5626affb1e8611a69794b
4
- data.tar.gz: 604ca072849e36a06a31482e7c0e1f954d5c5eaf8b854898c24bbac108b053b8
3
+ metadata.gz: 888671e41e13bf569ed6d1bbd3b174f9c6e5aa5bbd2dee65e0a51290336569d6
4
+ data.tar.gz: 0e170cc7f3dd6e47dbb3cd9350155ac4bb6a17044b8c1b4d59308d23f58546f7
5
5
  SHA512:
6
- metadata.gz: d3bdaaaf2fb4720c6cc8b044f959d8120cf33eaa1101e08f4c4d2099579ad2febe976d1ce99069f8a82189446e3a1fbf0672b8787b33a287ba49f6b2166e59a9
7
- data.tar.gz: 3141d42dec76825e583e3ba4af9e50a9e0785f800d8bad3804f5052a690ec43d46ee1a0c985f0bfe939ec3d034ea727d2f63373a0c0c37ad6f181c6dfe2b5e67
6
+ metadata.gz: 5d07e10beaa4d5e998a587d0176c41a03201296bac7a0940b1218d63687a6a49089d23271c95730fd712c2d71d0389079f7718a9356add952eab79f979fe54ec
7
+ data.tar.gz: 3618e84a3b48b0dc3c57dfc6208ee0b6cf70175e366822000e2826b1cd6196db9ab2b7ea670acd59b5add0f739936c9d511db3261d52eab60187e4ffa62520a4
@@ -0,0 +1 @@
1
+ assets/* linguist-vendored
@@ -1,4 +1,4 @@
1
- // Cerulean 4.1.3
1
+ // Cerulean 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -69,6 +69,10 @@ $text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) !default;
69
69
 
70
70
  // Typography ==================================================================
71
71
 
72
+ .text-secondary {
73
+ color: $gray-500 !important;
74
+ }
75
+
72
76
  .bg-primary,
73
77
  .bg-success,
74
78
  .bg-info,
@@ -1,4 +1,4 @@
1
- // Cerulean 4.1.3
1
+ // Cerulean 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Cosmo 4.1.3
1
+ // Cosmo 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- // Cosmo 4.1.3
1
+ // Cosmo 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Cyborg 4.1.3
1
+ // Cyborg 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -37,10 +37,14 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Roboto:400,700" !defaul
37
37
  // Buttons =====================================================================
38
38
 
39
39
  .btn {
40
-
41
- &-warning,
42
- &-warning:hover {
43
- color: $white;
40
+ @each $color, $value in $theme-colors {
41
+ &-#{$color} {
42
+ @if $enable-gradients {
43
+ background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
44
+ } @else {
45
+ background-color: $value;
46
+ }
47
+ }
44
48
  }
45
49
  }
46
50
 
@@ -222,7 +226,11 @@ legend {
222
226
 
223
227
  @each $color, $value in $theme-colors {
224
228
  &-#{$color} {
225
- background-color: $value;
229
+ @if $enable-gradients {
230
+ background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
231
+ } @else {
232
+ background-color: $value;
233
+ }
226
234
  }
227
235
  }
228
236
 
@@ -1,4 +1,4 @@
1
- // Cyborg 4.1.3
1
+ // Cyborg 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -37,6 +37,8 @@ $danger: $red !default;
37
37
  $light: $gray-800 !default;
38
38
  $dark: $gray-400 !default;
39
39
 
40
+ $yiq-contrasted-threshold: 175 !default;
41
+
40
42
 
41
43
  // Body
42
44
 
@@ -64,8 +66,6 @@ $table-hover-bg: rgba($white,.075) !default;
64
66
 
65
67
  $table-border-color: $gray-700 !default;
66
68
 
67
- $table-head-color: $white !default;
68
-
69
69
  $table-dark-bg: $gray-500 !default;
70
70
  $table-dark-border-color: darken($gray-500, 7.5%) !default;
71
71
  $table-dark-color: $body-bg !default;
@@ -1,4 +1,4 @@
1
- // Darkly 4.1.3
1
+ // Darkly 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -208,7 +208,11 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic"
208
208
 
209
209
  @each $color, $value in $theme-colors {
210
210
  &-#{$color} {
211
- background-color: $value;
211
+ @if $enable-gradients {
212
+ background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
213
+ } @else {
214
+ background-color: $value;
215
+ }
212
216
  }
213
217
  }
214
218
  }
@@ -1,4 +1,4 @@
1
- // Darkly 4.1.3
1
+ // Darkly 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Flatly 4.1.3
1
+ // Flatly 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -217,7 +217,11 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic"
217
217
 
218
218
  @each $color, $value in $theme-colors {
219
219
  &-#{$color} {
220
- background-color: $value;
220
+ @if $enable-gradients {
221
+ background: $value linear-gradient(180deg, mix($body-bg, $value, 15%), $value) repeat-x;
222
+ } @else {
223
+ background-color: $value;
224
+ }
221
225
  }
222
226
  }
223
227
 
@@ -1,4 +1,4 @@
1
- // Flatly 4.1.3
1
+ // Flatly 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Journal 4.1.3
1
+ // Journal 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- // Journal 4.1.3
1
+ // Journal 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Litera 4.1.3
1
+ // Litera 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -239,7 +239,11 @@ table,
239
239
 
240
240
  @each $color, $value in $theme-colors {
241
241
  &-#{$color} {
242
- background-color: $value;
242
+ @if $enable-gradients {
243
+ background: $value linear-gradient(0deg, mix($body-bg, $value, 15%), $value) repeat-x;
244
+ } @else {
245
+ background-color: $value;
246
+ }
243
247
  }
244
248
  }
245
249
 
@@ -1,4 +1,4 @@
1
- // Litera 4.1.3
1
+ // Litera 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Lumen 4.1.3
1
+ // Lumen 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -107,6 +107,10 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400
107
107
 
108
108
  // Typography ==================================================================
109
109
 
110
+ .text-secondary {
111
+ color: $gray-700 !important;
112
+ }
113
+
110
114
  .blockquote-footer {
111
115
  color: $gray-600;
112
116
  }
@@ -123,11 +127,6 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400
123
127
  color: #fff;
124
128
  }
125
129
 
126
- .thead-dark th {
127
- background-color: $primary;
128
- border-color: $primary;
129
- }
130
-
131
130
  &-primary {
132
131
  &, > th, > td {
133
132
  background-color: $primary;
@@ -1,4 +1,4 @@
1
- // Lumen 4.1.3
1
+ // Lumen 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Lux 4.1.3
1
+ // Lux 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- // Lux 4.1.3
1
+ // Lux 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Materia 4.1.3
1
+ // Materia 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -222,6 +222,10 @@ a {
222
222
  transition: all 0.2s;
223
223
  }
224
224
 
225
+ .text-secondary {
226
+ color: $gray-500 !important;
227
+ }
228
+
225
229
  // Tables ======================================================================
226
230
 
227
231
  .table-hover {
@@ -263,7 +267,6 @@ input[type=number],
263
267
  [type=email].form-control,
264
268
  [type=tel].form-control,
265
269
  [contenteditable].form-control {
266
- font-size: 1rem;
267
270
  box-shadow: inset 0 -1px 0 #ddd;
268
271
  transition: all 0.2s;
269
272
 
@@ -282,22 +285,6 @@ input[type=number],
282
285
  color: #ddd;
283
286
  }
284
287
 
285
- &:not(textarea) {
286
- height: $input-height;
287
- }
288
-
289
- &.form-control {
290
- &-sm {
291
- height: $input-height-sm;
292
- font-size: $font-size-sm;
293
- }
294
-
295
- &-lg {
296
- height: $input-height-lg;
297
- font-size: $font-size-lg;
298
- }
299
- }
300
-
301
288
  &::-ms-clear {
302
289
  display: none;
303
290
  }
@@ -564,6 +551,7 @@ select.form-control {
564
551
 
565
552
  .alert {
566
553
  padding-right: 2.5rem;
554
+ border: none;
567
555
 
568
556
  &, h1, h2, h3, h4, h5, h6 {
569
557
  color: #fff;
@@ -571,7 +559,11 @@ select.form-control {
571
559
 
572
560
  @each $color, $value in $theme-colors {
573
561
  &-#{$color} {
574
- background-color: $value;
562
+ @if $enable-gradients {
563
+ background: $value linear-gradient(180deg, mix($body-bg, $value, 15%), $value) repeat-x;
564
+ } @else {
565
+ background-color: $value;
566
+ }
575
567
  }
576
568
  }
577
569
 
@@ -1,4 +1,4 @@
1
- // Materia 4.1.3
1
+ // Materia 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -39,6 +39,8 @@ $dark: $gray-800 !default;
39
39
 
40
40
  $yiq-contrasted-threshold: 170 !default;
41
41
 
42
+ $enable-gradients: true;
43
+
42
44
  // Body
43
45
 
44
46
  $body-color: $gray-700 !default;
@@ -1,4 +1,4 @@
1
- // Minty 4.1.3
1
+ // Minty 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -31,6 +31,11 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Montserrat" !default;
31
31
  color: $white;
32
32
  }
33
33
 
34
+ &-light,
35
+ &-light:hover {
36
+ color: $gray-700;
37
+ }
38
+
34
39
  &-link,
35
40
  &-link:hover {
36
41
  color: $primary;
@@ -1,4 +1,4 @@
1
- // Minty 4.1.3
1
+ // Minty 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Pulse 4.1.3
1
+ // Pulse 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- // Pulse 4.1.3
1
+ // Pulse 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Sandstone 4.1.3
1
+ // Sandstone 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- // Sandstone 4.1.3
1
+ // Sandstone 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Simplex 4.1.3
1
+ // Simplex 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -102,6 +102,10 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:400,700" !def
102
102
 
103
103
  // Typography ==================================================================
104
104
 
105
+ .text-secondary {
106
+ color: $gray-700 !important;
107
+ }
108
+
105
109
  // Tables ======================================================================
106
110
 
107
111
  // Forms =======================================================================
@@ -1,4 +1,4 @@
1
- // Simplex 4.1.3
1
+ // Simplex 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Sketchy 4.1.3
1
+ // Sketchy 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- // Sketchy 4.1.3
1
+ // Sketchy 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Slate 4.1.3
1
+ // Slate 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- // Slate 4.1.3
1
+ // Slate 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Solar 4.1.3
1
+ // Solar 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -11,6 +11,18 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro" !defau
11
11
 
12
12
  // Buttons =====================================================================
13
13
 
14
+ .btn {
15
+ @each $color, $value in $theme-colors {
16
+ &-#{$color} {
17
+ @if $enable-gradients {
18
+ background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
19
+ } @else {
20
+ background-color: $value;
21
+ }
22
+ }
23
+ }
24
+ }
25
+
14
26
  // Typography ==================================================================
15
27
 
16
28
  // Tables ======================================================================
@@ -162,7 +174,11 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro" !defau
162
174
 
163
175
  @each $color, $value in $theme-colors {
164
176
  &-#{$color} {
165
- background-color: $value;
177
+ @if $enable-gradients {
178
+ background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
179
+ } @else {
180
+ background-color: $value;
181
+ }
166
182
  }
167
183
  }
168
184
 
@@ -1,4 +1,4 @@
1
- // Solar 4.1.3
1
+ // Solar 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -38,6 +38,8 @@ $danger: $red !default;
38
38
  $light: $gray-100 !default;
39
39
  $dark: $gray-800 !default;
40
40
 
41
+ $enable-gradients: true;
42
+
41
43
  // Body
42
44
 
43
45
  $body-bg: $gray-900 !default;
@@ -1,4 +1,4 @@
1
- // Spacelab 4.1.3
1
+ // Spacelab 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- // Spacelab 4.1.3
1
+ // Spacelab 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Superhero 4.1.3
1
+ // Superhero 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -16,10 +16,14 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:300,400,700" !defa
16
16
  // Buttons =====================================================================
17
17
 
18
18
  .btn {
19
-
20
- &-info,
21
- &-warning {
22
- color: $white;
19
+ @each $color, $value in $theme-colors {
20
+ &-#{$color} {
21
+ @if $enable-gradients {
22
+ background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
23
+ } @else {
24
+ background-color: $value;
25
+ }
26
+ }
23
27
  }
24
28
  }
25
29
 
@@ -220,7 +224,11 @@ label,
220
224
 
221
225
  @each $color, $value in $theme-colors {
222
226
  &-#{$color} {
223
- background-color: $value;
227
+ @if $enable-gradients {
228
+ background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
229
+ } @else {
230
+ background-color: $value;
231
+ }
224
232
  }
225
233
  }
226
234
  }
@@ -1,4 +1,4 @@
1
- // Superhero 4.1.3
1
+ // Superhero 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -34,9 +34,11 @@ $success: $green !default;
34
34
  $info: $cyan !default;
35
35
  $warning: $yellow !default;
36
36
  $danger: $red !default;
37
- $light: lighten($gray-200, 25%) !default;
37
+ $light: lighten($gray-200, 35%) !default;
38
38
  $dark: $gray-200 !default;
39
39
 
40
+ $yiq-contrasted-threshold: 185 !default;
41
+
40
42
  // Body
41
43
 
42
44
  $body-bg: #2B3E50 !default;
@@ -60,6 +62,8 @@ $table-hover-bg: rgba($white,.075) !default;
60
62
 
61
63
  $table-border-color: rgba($black,.15) !default;
62
64
 
65
+ $table-head-bg: $light !default;
66
+
63
67
  $table-dark-bg: $light !default;
64
68
  $table-dark-border-color: $gray-200 !default;
65
69
  $table-dark-color: $body-bg !default;
@@ -70,7 +74,7 @@ $input-border-color: transparent !default;
70
74
 
71
75
  $input-group-addon-color: $body-color !default;
72
76
 
73
- $custom-file-color: $white !default;
77
+ $custom-file-button-color: $white !default;
74
78
  $custom-file-border-color: $gray-200 !default;
75
79
 
76
80
  // Dropdowns
@@ -1,4 +1,4 @@
1
- // United 4.1.3
1
+ // United 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- // United 4.1.3
1
+ // United 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -1,4 +1,4 @@
1
- // Yeti 4.1.3
1
+ // Yeti 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
 
@@ -206,6 +206,10 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
206
206
 
207
207
  // Typography ==================================================================
208
208
 
209
+ .text-secondary {
210
+ color: $gray-700 !important;
211
+ }
212
+
209
213
  .blockquote-footer {
210
214
  color: $gray-600;
211
215
  }
@@ -1,4 +1,4 @@
1
- // Yeti 4.1.3
1
+ // Yeti 4.2.1
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -97,8 +97,8 @@ $badge-padding-x: 1rem !default;
97
97
 
98
98
  // Progress bars
99
99
 
100
- $progress-bg: #f6f6f6 !default;
101
- $progress-bar-color: $primary !default;
100
+ $progress-bg: $gray-400 !default;
101
+ $progress-bar-color: $white !default;
102
102
 
103
103
  // List group
104
104
 
@@ -18,7 +18,6 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency 'sass', '>= 3.5.2'
22
21
  spec.add_runtime_dependency 'autoprefixer-rails', '>= 6.0.3'
23
22
 
24
23
  spec.add_development_dependency "bundler", "~> 1.7"
@@ -11,9 +11,10 @@ module Bootswatch
11
11
  register_hanami
12
12
  elsif sprockets?
13
13
  register_sprockets
14
+ elsif defined?(::Sass) && ::Sass.respond_to?(:load_paths)
15
+ # The deprecated `sass` gem:
16
+ ::Sass.load_paths << stylesheets_path
14
17
  end
15
-
16
- configure_sass
17
18
  end
18
19
 
19
20
  # Paths
@@ -48,12 +49,6 @@ module Bootswatch
48
49
 
49
50
  private
50
51
 
51
- def configure_sass
52
- require 'sass'
53
-
54
- ::Sass.load_paths << stylesheets_path
55
- end
56
-
57
52
  def register_rails_engine
58
53
  require 'bootswatch/engine'
59
54
  end
@@ -1,3 +1,3 @@
1
1
  module Bootswatch
2
- VERSION = '4.1.3'
2
+ VERSION = '4.2.1'
3
3
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootswatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.3
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mkhairi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-02 00:00:00.000000000 Z
11
+ date: 2018-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: sass
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 3.5.2
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: 3.5.2
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: autoprefixer-rails
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -73,6 +59,7 @@ executables: []
73
59
  extensions: []
74
60
  extra_rdoc_files: []
75
61
  files:
62
+ - ".gitattributes"
76
63
  - ".gitignore"
77
64
  - Gemfile
78
65
  - LICENSE.txt