bourbon 5.0.1 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +6 -16
- data/.hound.yml +4 -1
- data/.npmignore +2 -3
- data/.stylelintrc.json +3 -0
- data/.tool-versions +2 -1
- data/CHANGELOG.md +46 -3
- data/CONTRIBUTING.md +5 -1
- data/LICENSE.md +1 -1
- data/README.md +4 -20
- data/RELEASING.md +8 -11
- data/bourbon.gemspec +3 -4
- data/core/_bourbon.scss +2 -2
- data/core/bourbon/helpers/_scales.scss +16 -16
- data/core/bourbon/library/_contrast-switch.scss +3 -3
- data/core/bourbon/library/_font-face.scss +6 -6
- data/core/bourbon/library/_font-stacks.scss +2 -3
- data/core/bourbon/library/_hide-visually.scss +1 -1
- data/core/bourbon/library/_modular-scale.scss +7 -5
- data/core/bourbon/library/_overflow-wrap.scss +1 -0
- data/core/bourbon/library/_position.scss +4 -4
- data/core/bourbon/library/_shade.scss +1 -1
- data/core/bourbon/library/_size.scss +2 -2
- data/core/bourbon/library/_strip-unit.scss +3 -1
- data/core/bourbon/library/_timing-functions.scss +24 -26
- data/core/bourbon/library/_tint.scss +1 -1
- data/core/bourbon/library/_triangle.scss +6 -6
- data/core/bourbon/settings/_settings.scss +4 -4
- data/core/bourbon/utilities/_compact-shorthand.scss +9 -6
- data/core/bourbon/utilities/_contrast-ratio.scss +4 -2
- data/core/bourbon/utilities/_directional-property.scss +4 -6
- data/core/bourbon/utilities/_font-source-declaration.scss +10 -9
- data/core/bourbon/utilities/_gamma.scss +10 -5
- data/core/bourbon/utilities/_lightness.scss +5 -3
- data/core/bourbon/validators/_is-length.scss +8 -3
- data/core/bourbon/validators/_is-size.scss +1 -1
- data/lib/bourbon/version.rb +1 -1
- data/lib/bourbon.rb +6 -3
- data/package-lock.json +6636 -0
- data/package.json +8 -1
- data/spec/bourbon/library/font_face_spec_1.rb +2 -2
- data/spec/bourbon/library/font_face_spec_2.rb +2 -3
- data/spec/bourbon/library/font_face_spec_3.rb +1 -1
- data/spec/bourbon/library/font_stacks_spec.rb +4 -4
- data/spec/bourbon/utilities/font_source_declaration_spec.rb +4 -10
- data/spec/bourbon/utilities/gamma_spec.rb +1 -1
- data/spec/bourbon/utilities/lightness_spec.rb +1 -1
- data/spec/bourbon/validators/is_length_spec.rb +12 -0
- data/spec/fixtures/utilities/font-source-declaration.scss +1 -1
- data/spec/fixtures/validators/is-length.scss +8 -0
- data/spec/support/sass_support.rb +2 -2
- metadata +19 -39
- data/.ruby-version +0 -1
- data/.scss-lint.yml +0 -247
- data/bower.json +0 -39
- data/spec/bourbon/library/font_face_spec_4.rb +0 -17
- data/spec/fixtures/library/font-face-4.scss +0 -7
data/package.json
CHANGED
@@ -7,6 +7,11 @@
|
|
7
7
|
"url": "https://github.com/thoughtbot/bourbon/issues"
|
8
8
|
},
|
9
9
|
"description": "A lightweight Sass tool set.",
|
10
|
+
"devDependencies": {
|
11
|
+
"@thoughtbot/stylelint-config": "1.1.0",
|
12
|
+
"sassdoc": "^2.5.0",
|
13
|
+
"stylelint": "10.1.0"
|
14
|
+
},
|
10
15
|
"eyeglass": {
|
11
16
|
"needs": "*",
|
12
17
|
"exports": "eyeglass-exports.js"
|
@@ -28,7 +33,9 @@
|
|
28
33
|
"url": "https://github.com/thoughtbot/bourbon.git"
|
29
34
|
},
|
30
35
|
"scripts": {
|
36
|
+
"sassdoc": "npx sassdoc core/ --parse --verbose --strict",
|
37
|
+
"stylelint": "npx stylelint 'core/**/*.scss'",
|
31
38
|
"test": "bundle exec rake"
|
32
39
|
},
|
33
|
-
"version": "
|
40
|
+
"version": "7.1.0"
|
34
41
|
}
|
@@ -2,13 +2,13 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe "font-face" do
|
4
4
|
before(:all) do
|
5
|
-
ParserSupport.parse_file("
|
5
|
+
ParserSupport.parse_file("library/font-face-1")
|
6
6
|
end
|
7
7
|
|
8
8
|
context "called with defaults" do
|
9
9
|
it "outputs defaults" do
|
10
10
|
ruleset = 'font-family: "source-sans-pro"; ' +
|
11
|
-
'src: url("/fonts/source-sans-pro/source-sans-pro-regular.woff2") format("woff2"), url("/fonts/source-sans-pro/source-sans-pro-regular.woff") format("woff")
|
11
|
+
'src: url("/fonts/source-sans-pro/source-sans-pro-regular.woff2") format("woff2"), url("/fonts/source-sans-pro/source-sans-pro-regular.woff") format("woff");'
|
12
12
|
|
13
13
|
expect("@font-face").to have_ruleset(ruleset)
|
14
14
|
end
|
@@ -2,15 +2,14 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe "font-face" do
|
4
4
|
before(:all) do
|
5
|
-
ParserSupport.parse_file("
|
5
|
+
ParserSupport.parse_file("library/font-face-5")
|
6
6
|
end
|
7
7
|
|
8
8
|
context "called with additional CSS rules" do
|
9
9
|
it "outputs defaults with additional content" do
|
10
10
|
ruleset = 'font-family: "calibre"; ' +
|
11
11
|
'src: url("fonts/calibre.woff2") format("woff2"), ' +
|
12
|
-
'url("fonts/calibre.woff") format("woff")
|
13
|
-
'url("fonts/calibre.ttf") format("truetype"); ' +
|
12
|
+
'url("fonts/calibre.woff") format("woff"); ' +
|
14
13
|
"font-style: normal;" +
|
15
14
|
"font-weight: 600;" +
|
16
15
|
"unicode-range: U+26;"
|
@@ -21,10 +21,10 @@ describe "font-stacks" do
|
|
21
21
|
'"Lucida Typewriter", monospace'
|
22
22
|
monaco = '"Monaco", "Consolas", "Lucida Console", monospace'
|
23
23
|
|
24
|
-
system = '-apple-system, BlinkMacSystemFont, "Avenir Next",
|
25
|
-
'"Segoe UI", "Lucida Grande", "Helvetica Neue",
|
26
|
-
'"Fira Sans", "Roboto", "Noto", "Droid Sans",
|
27
|
-
'"Oxygen", "Ubuntu", "Franklin Gothic Medium", ' +
|
24
|
+
system = 'system-ui, -apple-system, BlinkMacSystemFont, "Avenir Next", ' +
|
25
|
+
'"Avenir", "Segoe UI", "Lucida Grande", "Helvetica Neue", ' +
|
26
|
+
'"Helvetica", "Fira Sans", "Roboto", "Noto", "Droid Sans", ' +
|
27
|
+
'"Cantarell", "Oxygen", "Ubuntu", "Franklin Gothic Medium", ' +
|
28
28
|
'"Century Gothic", "Liberation Sans", sans-serif'
|
29
29
|
|
30
30
|
expect(".helvetica").to have_value(helvetica)
|
@@ -7,22 +7,16 @@ describe "font-source-declaration" do
|
|
7
7
|
|
8
8
|
context "called with pipeline" do
|
9
9
|
it "returns pipeline path" do
|
10
|
-
rule = 'src: font-url("b.
|
11
|
-
'font-url("b.
|
12
|
-
'font-url("b.woff") format("woff"), ' +
|
13
|
-
'font-url("b.ttf") format("truetype"), ' +
|
14
|
-
'font-url("b.svg#a") format("svg")'
|
10
|
+
rule = 'src: font-url("b.woff2") format("woff2"), ' +
|
11
|
+
'font-url("b.woff") format("woff")'
|
15
12
|
expect(".has-pipeline").to have_rule(rule)
|
16
13
|
end
|
17
14
|
end
|
18
15
|
|
19
16
|
context "called with no pipeline" do
|
20
17
|
it "does not return pipeline path" do
|
21
|
-
rule = 'src: url("b.
|
22
|
-
'url("b.
|
23
|
-
'url("b.woff") format("woff"), ' +
|
24
|
-
'url("b.ttf") format("truetype"), ' +
|
25
|
-
'url("b.svg#a") format("svg")'
|
18
|
+
rule = 'src: url("b.woff2") format("woff2"), ' +
|
19
|
+
'url("b.woff") format("woff")'
|
26
20
|
expect(".no-pipeline").to have_rule(rule)
|
27
21
|
end
|
28
22
|
end
|
@@ -35,6 +35,18 @@ describe "is-length" do
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
+
context "parses custom properties" do
|
39
|
+
it "returns true" do
|
40
|
+
expect(".var").to have_rule("color: #fff")
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context "parses environment variables" do
|
45
|
+
it "returns true" do
|
46
|
+
expect(".env").to have_rule("color: #fff")
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
38
50
|
context "checks if strings can be represented as a length" do
|
39
51
|
it "returns false" do
|
40
52
|
expect(".string").not_to have_rule("color: #fff")
|
@@ -26,6 +26,14 @@
|
|
26
26
|
@include color-length(calc(2em - 5px));
|
27
27
|
}
|
28
28
|
|
29
|
+
.env {
|
30
|
+
@include color-length(env(safe-area-inset-top, 0));
|
31
|
+
}
|
32
|
+
|
33
|
+
.var {
|
34
|
+
@include color-length(var(--a-custom-property));
|
35
|
+
}
|
36
|
+
|
29
37
|
.string {
|
30
38
|
@include color-length("stringy");
|
31
39
|
}
|
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:
|
4
|
+
version: 7.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Reuter
|
@@ -14,10 +14,10 @@ authors:
|
|
14
14
|
- Reda Lemeden
|
15
15
|
- Tyson Gach
|
16
16
|
- Will McMahan
|
17
|
-
autorequire:
|
17
|
+
autorequire:
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
|
-
date:
|
20
|
+
date: 2022-02-22 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: aruba
|
@@ -65,16 +65,16 @@ dependencies:
|
|
65
65
|
name: rake
|
66
66
|
requirement: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - "
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
70
|
+
version: '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: '0'
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: rspec
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,48 +89,34 @@ dependencies:
|
|
89
89
|
- - "~>"
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '3.4'
|
92
|
-
- !ruby/object:Gem::Dependency
|
93
|
-
name: scss_lint
|
94
|
-
requirement: !ruby/object:Gem::Requirement
|
95
|
-
requirements:
|
96
|
-
- - '='
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: '0.48'
|
99
|
-
type: :development
|
100
|
-
prerelease: false
|
101
|
-
version_requirements: !ruby/object:Gem::Requirement
|
102
|
-
requirements:
|
103
|
-
- - '='
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: '0.48'
|
106
92
|
- !ruby/object:Gem::Dependency
|
107
93
|
name: sass
|
108
94
|
requirement: !ruby/object:Gem::Requirement
|
109
95
|
requirements:
|
110
|
-
- - "
|
96
|
+
- - ">="
|
111
97
|
- !ruby/object:Gem::Version
|
112
|
-
version: '
|
113
|
-
type: :
|
98
|
+
version: '0'
|
99
|
+
type: :development
|
114
100
|
prerelease: false
|
115
101
|
version_requirements: !ruby/object:Gem::Requirement
|
116
102
|
requirements:
|
117
|
-
- - "
|
103
|
+
- - ">="
|
118
104
|
- !ruby/object:Gem::Version
|
119
|
-
version: '
|
105
|
+
version: '0'
|
120
106
|
- !ruby/object:Gem::Dependency
|
121
107
|
name: thor
|
122
108
|
requirement: !ruby/object:Gem::Requirement
|
123
109
|
requirements:
|
124
110
|
- - "~>"
|
125
111
|
- !ruby/object:Gem::Version
|
126
|
-
version: '0
|
112
|
+
version: '1.0'
|
127
113
|
type: :runtime
|
128
114
|
prerelease: false
|
129
115
|
version_requirements: !ruby/object:Gem::Requirement
|
130
116
|
requirements:
|
131
117
|
- - "~>"
|
132
118
|
- !ruby/object:Gem::Version
|
133
|
-
version: '0
|
119
|
+
version: '1.0'
|
134
120
|
description: |2
|
135
121
|
Bourbon is a library of pure Sass mixins and functions that are designed to
|
136
122
|
make you a more efficient developer.
|
@@ -146,8 +132,7 @@ files:
|
|
146
132
|
- ".gitignore"
|
147
133
|
- ".hound.yml"
|
148
134
|
- ".npmignore"
|
149
|
-
- ".
|
150
|
-
- ".scss-lint.yml"
|
135
|
+
- ".stylelintrc.json"
|
151
136
|
- ".tool-versions"
|
152
137
|
- CHANGELOG.md
|
153
138
|
- CODE_OF_CONDUCT.md
|
@@ -159,7 +144,6 @@ files:
|
|
159
144
|
- Rakefile
|
160
145
|
- bin/bourbon
|
161
146
|
- bourbon.gemspec
|
162
|
-
- bower.json
|
163
147
|
- core/_bourbon.scss
|
164
148
|
- core/bourbon/helpers/_buttons-list.scss
|
165
149
|
- core/bourbon/helpers/_scales.scss
|
@@ -217,6 +201,7 @@ files:
|
|
217
201
|
- lib/bourbon.rb
|
218
202
|
- lib/bourbon/generator.rb
|
219
203
|
- lib/bourbon/version.rb
|
204
|
+
- package-lock.json
|
220
205
|
- package.json
|
221
206
|
- spec/bourbon/library/border_color_spec.rb
|
222
207
|
- spec/bourbon/library/border_radius_spec.rb
|
@@ -229,7 +214,6 @@ files:
|
|
229
214
|
- spec/bourbon/library/font_face_spec_1.rb
|
230
215
|
- spec/bourbon/library/font_face_spec_2.rb
|
231
216
|
- spec/bourbon/library/font_face_spec_3.rb
|
232
|
-
- spec/bourbon/library/font_face_spec_4.rb
|
233
217
|
- spec/bourbon/library/font_stacks_spec.rb
|
234
218
|
- spec/bourbon/library/hide_text_spec.rb
|
235
219
|
- spec/bourbon/library/hide_visually_spec.rb
|
@@ -270,7 +254,6 @@ files:
|
|
270
254
|
- spec/fixtures/library/font-face-1.scss
|
271
255
|
- spec/fixtures/library/font-face-2.scss
|
272
256
|
- spec/fixtures/library/font-face-3.scss
|
273
|
-
- spec/fixtures/library/font-face-4.scss
|
274
257
|
- spec/fixtures/library/font-stacks.scss
|
275
258
|
- spec/fixtures/library/hide-text.scss
|
276
259
|
- spec/fixtures/library/hide-visually.scss
|
@@ -309,7 +292,7 @@ homepage: https://www.bourbon.io/
|
|
309
292
|
licenses:
|
310
293
|
- MIT
|
311
294
|
metadata: {}
|
312
|
-
post_install_message:
|
295
|
+
post_install_message:
|
313
296
|
rdoc_options: []
|
314
297
|
require_paths:
|
315
298
|
- lib
|
@@ -324,9 +307,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
324
307
|
- !ruby/object:Gem::Version
|
325
308
|
version: '0'
|
326
309
|
requirements: []
|
327
|
-
|
328
|
-
|
329
|
-
signing_key:
|
310
|
+
rubygems_version: 3.0.3
|
311
|
+
signing_key:
|
330
312
|
specification_version: 4
|
331
313
|
summary: A lightweight Sass tool set.
|
332
314
|
test_files:
|
@@ -347,7 +329,6 @@ test_files:
|
|
347
329
|
- spec/bourbon/library/font_face_spec_1.rb
|
348
330
|
- spec/bourbon/library/font_face_spec_2.rb
|
349
331
|
- spec/bourbon/library/font_face_spec_3.rb
|
350
|
-
- spec/bourbon/library/font_face_spec_4.rb
|
351
332
|
- spec/bourbon/library/font_stacks_spec.rb
|
352
333
|
- spec/bourbon/library/hide_text_spec.rb
|
353
334
|
- spec/bourbon/library/hide_visually_spec.rb
|
@@ -388,7 +369,6 @@ test_files:
|
|
388
369
|
- spec/fixtures/library/font-face-1.scss
|
389
370
|
- spec/fixtures/library/font-face-2.scss
|
390
371
|
- spec/fixtures/library/font-face-3.scss
|
391
|
-
- spec/fixtures/library/font-face-4.scss
|
392
372
|
- spec/fixtures/library/font-stacks.scss
|
393
373
|
- spec/fixtures/library/hide-text.scss
|
394
374
|
- spec/fixtures/library/hide-visually.scss
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.4.3
|
data/.scss-lint.yml
DELETED
@@ -1,247 +0,0 @@
|
|
1
|
-
scss_files: "**/*.scss"
|
2
|
-
|
3
|
-
severity: warning
|
4
|
-
|
5
|
-
linters:
|
6
|
-
BangFormat:
|
7
|
-
enabled: true
|
8
|
-
space_before_bang: true
|
9
|
-
space_after_bang: false
|
10
|
-
|
11
|
-
BemDepth:
|
12
|
-
enabled: false
|
13
|
-
|
14
|
-
BorderZero:
|
15
|
-
enabled: true
|
16
|
-
convention: zero
|
17
|
-
|
18
|
-
ChainedClasses:
|
19
|
-
enabled: false
|
20
|
-
|
21
|
-
ColorKeyword:
|
22
|
-
enabled: true
|
23
|
-
|
24
|
-
ColorVariable:
|
25
|
-
enabled: false
|
26
|
-
|
27
|
-
Comment:
|
28
|
-
enabled: true
|
29
|
-
style: silent
|
30
|
-
|
31
|
-
DebugStatement:
|
32
|
-
enabled: true
|
33
|
-
|
34
|
-
DeclarationOrder:
|
35
|
-
enabled: true
|
36
|
-
|
37
|
-
DisableLinterReason:
|
38
|
-
enabled: false
|
39
|
-
|
40
|
-
DuplicateProperty:
|
41
|
-
enabled: true
|
42
|
-
|
43
|
-
ElsePlacement:
|
44
|
-
enabled: true
|
45
|
-
style: same_line
|
46
|
-
|
47
|
-
EmptyLineBetweenBlocks:
|
48
|
-
enabled: true
|
49
|
-
ignore_single_line_blocks: true
|
50
|
-
|
51
|
-
EmptyRule:
|
52
|
-
enabled: true
|
53
|
-
|
54
|
-
ExtendDirective:
|
55
|
-
enabled: false
|
56
|
-
|
57
|
-
FinalNewline:
|
58
|
-
enabled: true
|
59
|
-
present: true
|
60
|
-
|
61
|
-
HexLength:
|
62
|
-
enabled: true
|
63
|
-
style: short
|
64
|
-
|
65
|
-
HexNotation:
|
66
|
-
enabled: true
|
67
|
-
style: lowercase
|
68
|
-
|
69
|
-
HexValidation:
|
70
|
-
enabled: true
|
71
|
-
|
72
|
-
IdSelector:
|
73
|
-
enabled: true
|
74
|
-
|
75
|
-
ImportantRule:
|
76
|
-
enabled: true
|
77
|
-
|
78
|
-
ImportPath:
|
79
|
-
enabled: true
|
80
|
-
leading_underscore: false
|
81
|
-
filename_extension: false
|
82
|
-
|
83
|
-
Indentation:
|
84
|
-
enabled: true
|
85
|
-
allow_non_nested_indentation: false
|
86
|
-
character: space
|
87
|
-
width: 2
|
88
|
-
|
89
|
-
LeadingZero:
|
90
|
-
enabled: true
|
91
|
-
style: include_zero
|
92
|
-
|
93
|
-
MergeableSelector:
|
94
|
-
enabled: true
|
95
|
-
force_nesting: true
|
96
|
-
|
97
|
-
NameFormat:
|
98
|
-
enabled: true
|
99
|
-
allow_leading_underscore: true
|
100
|
-
convention: hyphenated_lowercase
|
101
|
-
|
102
|
-
NestingDepth:
|
103
|
-
enabled: true
|
104
|
-
max_depth: 3
|
105
|
-
ignore_parent_selectors: false
|
106
|
-
|
107
|
-
PlaceholderInExtend:
|
108
|
-
enabled: true
|
109
|
-
|
110
|
-
PrivateNamingConvention:
|
111
|
-
enabled: false
|
112
|
-
prefix: _
|
113
|
-
|
114
|
-
PropertyCount:
|
115
|
-
enabled: false
|
116
|
-
|
117
|
-
PropertySortOrder:
|
118
|
-
enabled: true
|
119
|
-
ignore_unspecified: false
|
120
|
-
min_properties: 2
|
121
|
-
separate_groups: false
|
122
|
-
|
123
|
-
PropertySpelling:
|
124
|
-
enabled: true
|
125
|
-
extra_properties: []
|
126
|
-
disabled_properties: []
|
127
|
-
|
128
|
-
PropertyUnits:
|
129
|
-
enabled: true
|
130
|
-
global: [
|
131
|
-
'ch', 'em', 'ex', 'rem',
|
132
|
-
'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q',
|
133
|
-
'vh', 'vw', 'vmin', 'vmax',
|
134
|
-
'deg', 'grad', 'rad', 'turn',
|
135
|
-
'ms', 's',
|
136
|
-
'Hz', 'kHz',
|
137
|
-
'dpi', 'dpcm', 'dppx',
|
138
|
-
'%']
|
139
|
-
properties:
|
140
|
-
line-height: []
|
141
|
-
|
142
|
-
PseudoElement:
|
143
|
-
enabled: true
|
144
|
-
|
145
|
-
QualifyingElement:
|
146
|
-
enabled: true
|
147
|
-
allow_element_with_attribute: false
|
148
|
-
allow_element_with_class: false
|
149
|
-
allow_element_with_id: false
|
150
|
-
|
151
|
-
SelectorDepth:
|
152
|
-
enabled: true
|
153
|
-
max_depth: 2
|
154
|
-
|
155
|
-
SelectorFormat:
|
156
|
-
enabled: true
|
157
|
-
convention: hyphenated_BEM
|
158
|
-
|
159
|
-
Shorthand:
|
160
|
-
enabled: true
|
161
|
-
allowed_shorthands: [1, 2, 3]
|
162
|
-
|
163
|
-
SingleLinePerProperty:
|
164
|
-
enabled: true
|
165
|
-
allow_single_line_rule_sets: true
|
166
|
-
|
167
|
-
SingleLinePerSelector:
|
168
|
-
enabled: true
|
169
|
-
|
170
|
-
SpaceAfterComma:
|
171
|
-
enabled: true
|
172
|
-
style: one_space
|
173
|
-
|
174
|
-
SpaceAfterComment:
|
175
|
-
enabled: false
|
176
|
-
allow_empty_comments: true
|
177
|
-
|
178
|
-
SpaceAfterPropertyColon:
|
179
|
-
enabled: true
|
180
|
-
style: one_space
|
181
|
-
|
182
|
-
SpaceAfterPropertyName:
|
183
|
-
enabled: true
|
184
|
-
|
185
|
-
SpaceAfterVariableColon:
|
186
|
-
enabled: true
|
187
|
-
style: at_least_one_space
|
188
|
-
|
189
|
-
SpaceAfterVariableName:
|
190
|
-
enabled: true
|
191
|
-
|
192
|
-
SpaceAroundOperator:
|
193
|
-
enabled: true
|
194
|
-
style: one_space
|
195
|
-
|
196
|
-
SpaceBeforeBrace:
|
197
|
-
enabled: true
|
198
|
-
style: space
|
199
|
-
allow_single_line_padding: true
|
200
|
-
|
201
|
-
SpaceBetweenParens:
|
202
|
-
enabled: true
|
203
|
-
spaces: 0
|
204
|
-
|
205
|
-
StringQuotes:
|
206
|
-
enabled: true
|
207
|
-
style: double_quotes
|
208
|
-
|
209
|
-
TrailingSemicolon:
|
210
|
-
enabled: true
|
211
|
-
|
212
|
-
TrailingWhitespace:
|
213
|
-
enabled: true
|
214
|
-
|
215
|
-
TrailingZero:
|
216
|
-
enabled: true
|
217
|
-
|
218
|
-
TransitionAll:
|
219
|
-
enabled: true
|
220
|
-
|
221
|
-
UnnecessaryMantissa:
|
222
|
-
enabled: true
|
223
|
-
|
224
|
-
UnnecessaryParentReference:
|
225
|
-
enabled: true
|
226
|
-
|
227
|
-
UrlFormat:
|
228
|
-
enabled: true
|
229
|
-
|
230
|
-
UrlQuotes:
|
231
|
-
enabled: true
|
232
|
-
|
233
|
-
VariableForProperty:
|
234
|
-
enabled: false
|
235
|
-
properties: []
|
236
|
-
|
237
|
-
VendorPrefix:
|
238
|
-
enabled: true
|
239
|
-
identifier_list: base
|
240
|
-
additional_identifiers: []
|
241
|
-
excluded_identifiers: []
|
242
|
-
|
243
|
-
ZeroUnit:
|
244
|
-
enabled: true
|
245
|
-
|
246
|
-
Compass::*:
|
247
|
-
enabled: false
|
data/bower.json
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"authors": [
|
3
|
-
"thoughtbot (http://thoughtbot.com)"
|
4
|
-
],
|
5
|
-
"description": "A lightweight Sass tool set.",
|
6
|
-
"homepage": "https://www.bourbon.io/",
|
7
|
-
"ignore": [
|
8
|
-
"**/.*",
|
9
|
-
"_site/",
|
10
|
-
"bin/",
|
11
|
-
"bourbon.gemspec",
|
12
|
-
"circle.yml",
|
13
|
-
"eyeglass-exports.js",
|
14
|
-
"features/",
|
15
|
-
"Gemfile",
|
16
|
-
"Gemfile.lock",
|
17
|
-
"index.js",
|
18
|
-
"lib/",
|
19
|
-
"package.json",
|
20
|
-
"pkg/",
|
21
|
-
"Rakefile",
|
22
|
-
"RELEASING.md",
|
23
|
-
"spec/"
|
24
|
-
],
|
25
|
-
"keywords": [
|
26
|
-
"css",
|
27
|
-
"mixins",
|
28
|
-
"sass",
|
29
|
-
"scss"
|
30
|
-
],
|
31
|
-
"license": "MIT",
|
32
|
-
"main": "core/_bourbon.scss",
|
33
|
-
"name": "bourbon",
|
34
|
-
"repository": {
|
35
|
-
"type": "git",
|
36
|
-
"url": "https://github.com/thoughtbot/bourbon.git"
|
37
|
-
},
|
38
|
-
"version": "5.0.1"
|
39
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
require "spec_helper"
|
2
|
-
|
3
|
-
describe "font-face" do
|
4
|
-
before(:all) do
|
5
|
-
ParserSupport.parse_file("css3/font-face-4")
|
6
|
-
end
|
7
|
-
|
8
|
-
context "called with defaults" do
|
9
|
-
it "outputs defaults" do
|
10
|
-
ruleset = 'font-family: "circular"; ' +
|
11
|
-
'src: url("/circular.woff2") format("woff2"), ' +
|
12
|
-
'url("/circular.svg#circular") format("svg");'
|
13
|
-
|
14
|
-
expect("@font-face").to have_ruleset(ruleset)
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|