bourbon 5.0.0.beta.5 → 5.0.0.beta.6
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.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/CHANGELOG.md +9 -1
- data/CONTRIBUTING.md +1 -0
- data/RELEASING.md +7 -4
- data/bourbon.gemspec +6 -6
- data/bower.json +1 -1
- data/circle.yml +6 -0
- data/core/_bourbon.scss +7 -3
- data/core/bourbon/helpers/_buttons-list.scss +14 -0
- data/core/bourbon/helpers/_text-inputs-list.scss +26 -0
- data/core/bourbon/library/_border-radius.scss +55 -18
- data/core/bourbon/library/_buttons.scss +56 -32
- data/core/bourbon/library/_contrast-switch.scss +14 -3
- data/core/bourbon/library/_font-face.scss +21 -16
- data/core/bourbon/library/_hide-visually.scss +1 -1
- data/core/bourbon/library/_margin.scss +15 -6
- data/core/bourbon/library/_modular-scale.scss +3 -3
- data/core/bourbon/library/_padding.scss +13 -4
- data/core/bourbon/library/_prefixer.scss +1 -1
- data/core/bourbon/library/_shade.scss +6 -1
- data/core/bourbon/library/_size.scss +2 -2
- data/core/bourbon/library/_text-inputs.scss +91 -53
- data/core/bourbon/{helpers → library}/_timing-functions.scss +0 -0
- data/core/bourbon/library/_tint.scss +6 -1
- data/core/bourbon/library/_triangle.scss +3 -0
- data/core/bourbon/library/_value-prefixer.scss +38 -0
- data/core/bourbon/settings/_settings.scss +11 -1
- data/core/bourbon/utilities/{_bourbon-get-setting.scss → _retrieve-bourbon-setting.scss} +2 -2
- data/core/bourbon/validators/_is-color.scss +13 -0
- data/lib/bourbon/version.rb +1 -1
- data/package.json +1 -1
- data/spec/bourbon/library/prefixer_spec.rb +34 -0
- data/spec/bourbon/utilities/{bourbon_get_setting_spec.rb → retrieve_bourbon_setting_spec.rb} +2 -2
- data/spec/fixtures/library/prefixer.scss +13 -0
- data/spec/fixtures/utilities/assign-inputs.scss +4 -4
- data/spec/fixtures/utilities/{bourbon-get-setting.scss → retrieve-bourbon-setting.scss} +2 -2
- metadata +29 -20
data/spec/bourbon/utilities/{bourbon_get_setting_spec.rb → retrieve_bourbon_setting_spec.rb}
RENAMED
@@ -1,8 +1,8 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
|
-
describe "
|
3
|
+
describe "_retrieve-bourbon-setting" do
|
4
4
|
before(:all) do
|
5
|
-
ParserSupport.parse_file("utilities/bourbon-
|
5
|
+
ParserSupport.parse_file("utilities/retrieve-bourbon-setting")
|
6
6
|
end
|
7
7
|
|
8
8
|
context "gets the modular-scale-base setting" do
|
@@ -1,19 +1,19 @@
|
|
1
1
|
@import "setup";
|
2
2
|
|
3
|
-
#{_assign-inputs($
|
3
|
+
#{_assign-inputs($_text-inputs-list)} {
|
4
4
|
color: #f00;
|
5
5
|
}
|
6
6
|
|
7
|
-
#{_assign-inputs($
|
7
|
+
#{_assign-inputs($_text-inputs-list, active)} {
|
8
8
|
color: #0f0;
|
9
9
|
}
|
10
10
|
|
11
|
-
#{_assign-inputs($
|
11
|
+
#{_assign-inputs($_text-inputs-list)},
|
12
12
|
select {
|
13
13
|
color: #00f;
|
14
14
|
}
|
15
15
|
|
16
16
|
[type="file"],
|
17
|
-
#{_assign-inputs($
|
17
|
+
#{_assign-inputs($_text-inputs-list)} {
|
18
18
|
color: #f0f;
|
19
19
|
}
|
@@ -6,11 +6,11 @@ $bourbon: (
|
|
6
6
|
);
|
7
7
|
|
8
8
|
.test-1 {
|
9
|
-
content:
|
9
|
+
content: _retrieve-bourbon-setting("modular-scale-base");
|
10
10
|
}
|
11
11
|
|
12
12
|
.test-2 {
|
13
|
-
content:
|
13
|
+
content: _retrieve-bourbon-setting("rails-asset-pipeline");
|
14
14
|
}
|
15
15
|
|
16
16
|
@include font-face("source-sans-pro", "source-sans-pro-regular");
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bourbon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0.beta.
|
4
|
+
version: 5.0.0.beta.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Reuter
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
|
-
date: 2016-
|
20
|
+
date: 2016-06-06 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: aruba
|
@@ -39,84 +39,84 @@ dependencies:
|
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: 1.4.1
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
49
|
+
version: 1.4.1
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: rake
|
52
52
|
requirement: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
56
|
+
version: 11.1.2
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
63
|
+
version: 11.1.2
|
64
64
|
- !ruby/object:Gem::Dependency
|
65
65
|
name: rspec
|
66
66
|
requirement: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
70
|
+
version: 3.4.0
|
71
71
|
type: :development
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
77
|
+
version: 3.4.0
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: scss_lint
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - '='
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version:
|
84
|
+
version: 0.48.0
|
85
85
|
type: :development
|
86
86
|
prerelease: false
|
87
87
|
version_requirements: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version:
|
91
|
+
version: 0.48.0
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: sass
|
94
94
|
requirement: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - "~>"
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version:
|
98
|
+
version: 3.4.22
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
101
|
version_requirements: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
103
|
- - "~>"
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version:
|
105
|
+
version: 3.4.22
|
106
106
|
- !ruby/object:Gem::Dependency
|
107
107
|
name: thor
|
108
108
|
requirement: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - "~>"
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
112
|
+
version: 0.19.1
|
113
113
|
type: :runtime
|
114
114
|
prerelease: false
|
115
115
|
version_requirements: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
117
|
- - "~>"
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version:
|
119
|
+
version: 0.19.1
|
120
120
|
description: |2
|
121
121
|
Bourbon is a library of pure Sass mixins that are designed to be simple
|
122
122
|
and easy to use. No configuration required. The mixins aim to be as
|
@@ -131,6 +131,7 @@ files:
|
|
131
131
|
- ".gitignore"
|
132
132
|
- ".hound.yml"
|
133
133
|
- ".npmignore"
|
134
|
+
- ".ruby-version"
|
134
135
|
- ".scss-lint.yml"
|
135
136
|
- CHANGELOG.md
|
136
137
|
- CONTRIBUTING.md
|
@@ -144,8 +145,9 @@ files:
|
|
144
145
|
- bower.json
|
145
146
|
- circle.yml
|
146
147
|
- core/_bourbon.scss
|
148
|
+
- core/bourbon/helpers/_buttons-list.scss
|
147
149
|
- core/bourbon/helpers/_scales.scss
|
148
|
-
- core/bourbon/helpers/
|
150
|
+
- core/bourbon/helpers/_text-inputs-list.scss
|
149
151
|
- core/bourbon/library/_border-color.scss
|
150
152
|
- core/bourbon/library/_border-radius.scss
|
151
153
|
- core/bourbon/library/_border-style.scss
|
@@ -167,18 +169,21 @@ files:
|
|
167
169
|
- core/bourbon/library/_size.scss
|
168
170
|
- core/bourbon/library/_strip-unit.scss
|
169
171
|
- core/bourbon/library/_text-inputs.scss
|
172
|
+
- core/bourbon/library/_timing-functions.scss
|
170
173
|
- core/bourbon/library/_tint.scss
|
171
174
|
- core/bourbon/library/_triangle.scss
|
175
|
+
- core/bourbon/library/_value-prefixer.scss
|
172
176
|
- core/bourbon/library/_word-wrap.scss
|
173
177
|
- core/bourbon/settings/_settings.scss
|
174
178
|
- core/bourbon/utilities/_assign-inputs.scss
|
175
|
-
- core/bourbon/utilities/_bourbon-get-setting.scss
|
176
179
|
- core/bourbon/utilities/_collapse-directionals.scss
|
177
180
|
- core/bourbon/utilities/_directional-values.scss
|
178
181
|
- core/bourbon/utilities/_font-source-declaration.scss
|
182
|
+
- core/bourbon/utilities/_retrieve-bourbon-setting.scss
|
179
183
|
- core/bourbon/utilities/_unpack.scss
|
180
184
|
- core/bourbon/validators/_contains-falsy.scss
|
181
185
|
- core/bourbon/validators/_contains.scss
|
186
|
+
- core/bourbon/validators/_is-color.scss
|
182
187
|
- core/bourbon/validators/_is-length.scss
|
183
188
|
- core/bourbon/validators/_is-light.scss
|
184
189
|
- core/bourbon/validators/_is-number.scss
|
@@ -214,6 +219,7 @@ files:
|
|
214
219
|
- spec/bourbon/library/modular_scale_spec.rb
|
215
220
|
- spec/bourbon/library/padding_spec.rb
|
216
221
|
- spec/bourbon/library/position_spec.rb
|
222
|
+
- spec/bourbon/library/prefixer_spec.rb
|
217
223
|
- spec/bourbon/library/shade_spec.rb
|
218
224
|
- spec/bourbon/library/size_spec.rb
|
219
225
|
- spec/bourbon/library/strip_unit_spec.rb
|
@@ -222,10 +228,10 @@ files:
|
|
222
228
|
- spec/bourbon/library/triangle_spec.rb
|
223
229
|
- spec/bourbon/library/word_wrap_spec.rb
|
224
230
|
- spec/bourbon/utilities/assign_inputs_spec.rb
|
225
|
-
- spec/bourbon/utilities/bourbon_get_setting_spec.rb
|
226
231
|
- spec/bourbon/utilities/collapse_directionals.rb
|
227
232
|
- spec/bourbon/utilities/directional_values_spec.rb
|
228
233
|
- spec/bourbon/utilities/font_source_declaration_spec.rb
|
234
|
+
- spec/bourbon/utilities/retrieve_bourbon_setting_spec.rb
|
229
235
|
- spec/bourbon/utilities/unpack_spec.rb
|
230
236
|
- spec/bourbon/validators/contains_spec.rb
|
231
237
|
- spec/bourbon/validators/is_length_spec.rb
|
@@ -252,6 +258,7 @@ files:
|
|
252
258
|
- spec/fixtures/library/modular-scale.scss
|
253
259
|
- spec/fixtures/library/padding.scss
|
254
260
|
- spec/fixtures/library/position.scss
|
261
|
+
- spec/fixtures/library/prefixer.scss
|
255
262
|
- spec/fixtures/library/shade.scss
|
256
263
|
- spec/fixtures/library/size.scss
|
257
264
|
- spec/fixtures/library/strip-unit.scss
|
@@ -260,10 +267,10 @@ files:
|
|
260
267
|
- spec/fixtures/library/triangle.scss
|
261
268
|
- spec/fixtures/library/word-wrap.scss
|
262
269
|
- spec/fixtures/utilities/assign-inputs.scss
|
263
|
-
- spec/fixtures/utilities/bourbon-get-setting.scss
|
264
270
|
- spec/fixtures/utilities/collapse-directionals.scss
|
265
271
|
- spec/fixtures/utilities/directional-values.scss
|
266
272
|
- spec/fixtures/utilities/font-source-declaration.scss
|
273
|
+
- spec/fixtures/utilities/retrieve-bourbon-setting.scss
|
267
274
|
- spec/fixtures/utilities/unpack.scss
|
268
275
|
- spec/fixtures/validators/contains.scss
|
269
276
|
- spec/fixtures/validators/is-length.scss
|
@@ -326,6 +333,7 @@ test_files:
|
|
326
333
|
- spec/bourbon/library/modular_scale_spec.rb
|
327
334
|
- spec/bourbon/library/padding_spec.rb
|
328
335
|
- spec/bourbon/library/position_spec.rb
|
336
|
+
- spec/bourbon/library/prefixer_spec.rb
|
329
337
|
- spec/bourbon/library/shade_spec.rb
|
330
338
|
- spec/bourbon/library/size_spec.rb
|
331
339
|
- spec/bourbon/library/strip_unit_spec.rb
|
@@ -334,10 +342,10 @@ test_files:
|
|
334
342
|
- spec/bourbon/library/triangle_spec.rb
|
335
343
|
- spec/bourbon/library/word_wrap_spec.rb
|
336
344
|
- spec/bourbon/utilities/assign_inputs_spec.rb
|
337
|
-
- spec/bourbon/utilities/bourbon_get_setting_spec.rb
|
338
345
|
- spec/bourbon/utilities/collapse_directionals.rb
|
339
346
|
- spec/bourbon/utilities/directional_values_spec.rb
|
340
347
|
- spec/bourbon/utilities/font_source_declaration_spec.rb
|
348
|
+
- spec/bourbon/utilities/retrieve_bourbon_setting_spec.rb
|
341
349
|
- spec/bourbon/utilities/unpack_spec.rb
|
342
350
|
- spec/bourbon/validators/contains_spec.rb
|
343
351
|
- spec/bourbon/validators/is_length_spec.rb
|
@@ -364,6 +372,7 @@ test_files:
|
|
364
372
|
- spec/fixtures/library/modular-scale.scss
|
365
373
|
- spec/fixtures/library/padding.scss
|
366
374
|
- spec/fixtures/library/position.scss
|
375
|
+
- spec/fixtures/library/prefixer.scss
|
367
376
|
- spec/fixtures/library/shade.scss
|
368
377
|
- spec/fixtures/library/size.scss
|
369
378
|
- spec/fixtures/library/strip-unit.scss
|
@@ -372,10 +381,10 @@ test_files:
|
|
372
381
|
- spec/fixtures/library/triangle.scss
|
373
382
|
- spec/fixtures/library/word-wrap.scss
|
374
383
|
- spec/fixtures/utilities/assign-inputs.scss
|
375
|
-
- spec/fixtures/utilities/bourbon-get-setting.scss
|
376
384
|
- spec/fixtures/utilities/collapse-directionals.scss
|
377
385
|
- spec/fixtures/utilities/directional-values.scss
|
378
386
|
- spec/fixtures/utilities/font-source-declaration.scss
|
387
|
+
- spec/fixtures/utilities/retrieve-bourbon-setting.scss
|
379
388
|
- spec/fixtures/utilities/unpack.scss
|
380
389
|
- spec/fixtures/validators/contains.scss
|
381
390
|
- spec/fixtures/validators/is-length.scss
|