bourbon 5.0.0.beta.6 → 5.0.0.beta.7

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 (66) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE.md +11 -0
  3. data/.github/PULL_REQUEST_TEMPLATE.md +5 -0
  4. data/CHANGELOG.md +32 -1
  5. data/README.md +111 -44
  6. data/RELEASING.md +3 -2
  7. data/bourbon.gemspec +3 -5
  8. data/bower.json +2 -2
  9. data/core/_bourbon.scss +8 -6
  10. data/core/bourbon/library/_border-color.scss +8 -7
  11. data/core/bourbon/library/_border-radius.scss +12 -12
  12. data/core/bourbon/library/_border-style.scss +8 -7
  13. data/core/bourbon/library/_border-width.scss +8 -7
  14. data/core/bourbon/library/_buttons.scss +4 -4
  15. data/core/bourbon/library/_clearfix.scss +2 -2
  16. data/core/bourbon/library/_contrast-switch.scss +36 -14
  17. data/core/bourbon/library/_ellipsis.scss +1 -1
  18. data/core/bourbon/library/_font-face.scss +5 -4
  19. data/core/bourbon/library/_font-stacks.scss +170 -8
  20. data/core/bourbon/library/_hide-text.scss +2 -2
  21. data/core/bourbon/library/_hide-visually.scss +4 -2
  22. data/core/bourbon/library/_margin.scss +17 -14
  23. data/core/bourbon/library/_modular-scale.scss +28 -20
  24. data/core/bourbon/library/_overflow-wrap.scss +24 -0
  25. data/core/bourbon/library/_padding.scss +12 -10
  26. data/core/bourbon/library/_position.scss +30 -20
  27. data/core/bourbon/library/_prefixer.scss +1 -1
  28. data/core/bourbon/library/_shade.scss +1 -1
  29. data/core/bourbon/library/_size.scss +7 -5
  30. data/core/bourbon/library/_strip-unit.scss +1 -1
  31. data/core/bourbon/library/_text-inputs.scss +5 -5
  32. data/core/bourbon/library/_timing-functions.scss +1 -1
  33. data/core/bourbon/library/_tint.scss +1 -1
  34. data/core/bourbon/library/_triangle.scss +1 -1
  35. data/core/bourbon/library/_value-prefixer.scss +1 -1
  36. data/core/bourbon/settings/_settings.scss +28 -4
  37. data/core/bourbon/utilities/{_collapse-directionals.scss → _compact-shorthand.scss} +6 -18
  38. data/core/bourbon/utilities/_contrast-ratio.scss +31 -0
  39. data/core/bourbon/utilities/_directional-property.scss +71 -0
  40. data/core/bourbon/utilities/_font-source-declaration.scss +1 -1
  41. data/core/bourbon/utilities/_gamma.scss +21 -0
  42. data/core/bourbon/utilities/_lightness.scss +24 -0
  43. data/core/bourbon/utilities/{_unpack.scss → _unpack-shorthand.scss} +4 -4
  44. data/core/bourbon/validators/_contains-falsy.scss +1 -1
  45. data/lib/bourbon/version.rb +1 -1
  46. data/package.json +2 -2
  47. data/spec/bourbon/library/font_stacks_spec.rb +6 -4
  48. data/spec/bourbon/library/hide_visually_spec.rb +2 -0
  49. data/spec/bourbon/library/overflow_wrap_spec.rb +27 -0
  50. data/spec/bourbon/utilities/compact_shorthand_spec.rb +30 -0
  51. data/spec/bourbon/utilities/{directional_values_spec.rb → directional_property_spec.rb} +9 -2
  52. data/spec/fixtures/library/overflow-wrap.scss +9 -0
  53. data/spec/fixtures/library/position.scss +0 -4
  54. data/spec/fixtures/utilities/compact-shorthand.scss +21 -0
  55. data/spec/fixtures/utilities/{directional-values.scss → directional-property.scss} +4 -0
  56. data/spec/fixtures/utilities/unpack.scss +4 -4
  57. metadata +26 -28
  58. data/core/bourbon/library/_word-wrap.scss +0 -29
  59. data/core/bourbon/utilities/_directional-values.scss +0 -58
  60. data/core/bourbon/validators/_is-light.scss +0 -23
  61. data/spec/bourbon/library/word_wrap_spec.rb +0 -29
  62. data/spec/bourbon/utilities/collapse_directionals.rb +0 -25
  63. data/spec/bourbon/validators/is_light_spec.rb +0 -37
  64. data/spec/fixtures/library/word-wrap.scss +0 -9
  65. data/spec/fixtures/utilities/collapse-directionals.scss +0 -17
  66. data/spec/fixtures/validators/is-light.scss +0 -29
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";
2
2
 
3
- /// Provides a shorthand syntax to add `border-radius` to both the top-left and
4
- /// top-right of an element.
3
+ /// Provides a concise, one-line method for setting `border-radius` on both the
4
+ /// top-left and top-right of a box.
5
5
  ///
6
6
  /// @argument {number (with unit)} $radii
7
7
  ///
@@ -10,7 +10,7 @@
10
10
  /// @include border-top-radius(4px);
11
11
  /// }
12
12
  ///
13
- /// @example css
13
+ /// // CSS Output
14
14
  /// .element {
15
15
  /// border-top-left-radius: 4px;
16
16
  /// border-top-right-radius: 4px;
@@ -21,8 +21,8 @@
21
21
  border-top-right-radius: $radii;
22
22
  }
23
23
 
24
- /// Provides a shorthand syntax to add `border-radius` to both the top-right and
25
- /// bottom-right of an element.
24
+ /// Provides a concise, one-line method for setting `border-radius` on both the
25
+ /// top-right and bottom-right of a box.
26
26
  ///
27
27
  /// @argument {number (with unit)} $radii
28
28
  ///
@@ -31,7 +31,7 @@
31
31
  /// @include border-right-radius(3px);
32
32
  /// }
33
33
  ///
34
- /// @example css
34
+ /// // CSS Output
35
35
  /// .element {
36
36
  /// border-bottom-right-radius: 3px;
37
37
  /// border-top-right-radius: 3px;
@@ -42,8 +42,8 @@
42
42
  border-top-right-radius: $radii;
43
43
  }
44
44
 
45
- /// Provides a shorthand syntax to add `border-radius` to both the bottom-left
46
- /// and bottom-right of an element.
45
+ /// Provides a concise, one-line method for setting `border-radius` on both the
46
+ /// bottom-left and bottom-right of a box.
47
47
  ///
48
48
  /// @argument {number (with unit)} $radii
49
49
  ///
@@ -52,7 +52,7 @@
52
52
  /// @include border-bottom-radius(2px);
53
53
  /// }
54
54
  ///
55
- /// @example css
55
+ /// // CSS Output
56
56
  /// .element {
57
57
  /// border-bottom-left-radius: 2px;
58
58
  /// border-bottom-right-radius: 2px;
@@ -63,8 +63,8 @@
63
63
  border-bottom-right-radius: $radii;
64
64
  }
65
65
 
66
- /// Provides a shorthand syntax to add `border-radius` to both the top-left
67
- /// and bottom-left of an element.
66
+ /// Provides a concise, one-line method for setting `border-radius` on both the
67
+ /// top-left and bottom-left of a box.
68
68
  ///
69
69
  /// @argument {number (with unit)} $radii
70
70
  ///
@@ -73,7 +73,7 @@
73
73
  /// @include border-left-radius(1px);
74
74
  /// }
75
75
  ///
76
- /// @example css
76
+ /// // CSS Output
77
77
  /// .element {
78
78
  /// border-bottom-left-radius: 1px;
79
79
  /// border-top-left-radius: 1px;
@@ -1,17 +1,18 @@
1
1
  @charset "UTF-8";
2
2
 
3
- /// Provides a quick method for targeting `border-style` on specific sides of a
4
- /// box. Use a `null` value to “skip” a side.
3
+ /// Provides a concise, one-line method for setting `border-style` on specific
4
+ /// edges of a box. Use a `null` value to “skip” edges of the box with standard
5
+ /// CSS shorthand.
5
6
  ///
6
- /// @argument {arglist} $values
7
- /// List of border styles, defined as CSS shorthand.
7
+ /// @argument {list} $values
8
+ /// List of border styles; accepts CSS shorthand.
8
9
  ///
9
10
  /// @example scss
10
11
  /// .element {
11
12
  /// @include border-style(dashed null solid);
12
13
  /// }
13
14
  ///
14
- /// @example css
15
+ /// // CSS Output
15
16
  /// .element {
16
17
  /// border-bottom-style: solid;
17
18
  /// border-top-style: dashed;
@@ -19,6 +20,6 @@
19
20
  ///
20
21
  /// @require {mixin} _directional-property
21
22
 
22
- @mixin border-style($values...) {
23
- @include _directional-property(border, style, $values...);
23
+ @mixin border-style($values) {
24
+ @include _directional-property(border, style, $values);
24
25
  }
@@ -1,17 +1,18 @@
1
1
  @charset "UTF-8";
2
2
 
3
- /// Provides a quick method for targeting `border-width` on specific sides of a
4
- /// box. Use a `null` value to “skip” a side.
3
+ /// Provides a concise, one-line method for setting `border-width` on specific
4
+ /// edges of a box. Use a `null` value to “skip” edges of the box with standard
5
+ /// CSS shorthand.
5
6
  ///
6
- /// @argument {arglist} $values
7
- /// List of border widths, defined as CSS shorthand.
7
+ /// @argument {list} $values
8
+ /// List of border widths; accepts CSS shorthand.
8
9
  ///
9
10
  /// @example scss
10
11
  /// .element {
11
12
  /// @include border-width(1em null 20px);
12
13
  /// }
13
14
  ///
14
- /// @example css
15
+ /// // CSS Output
15
16
  /// .element {
16
17
  /// border-bottom-width: 20px;
17
18
  /// border-top-width: 1em;
@@ -19,6 +20,6 @@
19
20
  ///
20
21
  /// @require {mixin} _directional-property
21
22
 
22
- @mixin border-width($values...) {
23
- @include _directional-property(border, width, $values...);
23
+ @mixin border-width($values) {
24
+ @include _directional-property(border, width, $values);
24
25
  }
@@ -16,7 +16,7 @@
16
16
  /// background-color: #f00;
17
17
  /// }
18
18
  ///
19
- /// @example css
19
+ /// // CSS Output
20
20
  /// button,
21
21
  /// [type='button'],
22
22
  /// [type='reset'],
@@ -35,7 +35,7 @@ $all-buttons: _assign-inputs($_buttons-list);
35
35
  /// background-color: #00f;
36
36
  /// }
37
37
  ///
38
- /// @example css
38
+ /// // CSS Output
39
39
  /// button:active,
40
40
  /// [type='button']:active,
41
41
  /// [type='reset']:active,
@@ -54,7 +54,7 @@ $all-buttons-active: _assign-inputs($_buttons-list, active);
54
54
  /// background-color: #0f0;
55
55
  /// }
56
56
  ///
57
- /// @example css
57
+ /// // CSS Output
58
58
  /// button:focus,
59
59
  /// [type='button']:focus,
60
60
  /// [type='reset']:focus,
@@ -73,7 +73,7 @@ $all-buttons-focus: _assign-inputs($_buttons-list, focus);
73
73
  /// background-color: #0f0;
74
74
  /// }
75
75
  ///
76
- /// @example css
76
+ /// // CSS Output
77
77
  /// button:hover,
78
78
  /// [type='button']:hover,
79
79
  /// [type='reset']:hover,
@@ -2,14 +2,14 @@
2
2
 
3
3
  /// Provides an easy way to include a clearfix for containing floats.
4
4
  ///
5
- /// @link http://goo.gl/yP5hiZ
5
+ /// @link https://goo.gl/yP5hiZ
6
6
  ///
7
7
  /// @example scss
8
8
  /// .element {
9
9
  /// @include clearfix;
10
10
  /// }
11
11
  ///
12
- /// @example css
12
+ /// // CSS Output
13
13
  /// .element::after {
14
14
  /// clear: both;
15
15
  /// content: "";
@@ -1,41 +1,59 @@
1
1
  @charset "UTF-8";
2
2
 
3
- /// Switches between two colors based on the lightness of a another color. Great
4
- /// for building button styles.
3
+ /// Switches between two colors based on the contrast to another color. It’s
4
+ /// like a [ternary operator] for color contrast and can be useful for building
5
+ /// a button system.
6
+ ///
7
+ /// The calculation of the contrast ratio is based on the [WCAG 2.0
8
+ /// specification]. However, we cannot guarantee full compliance, though all of
9
+ /// our manual testing passed.
10
+ ///
11
+ /// [ternary operator]: https://goo.gl/ccfLqi
12
+ /// [WCAG 2.0 specification]: https://goo.gl/zhQuYA
5
13
  ///
6
14
  /// @argument {color} $base-color
7
15
  /// The color to evaluate lightness against.
8
16
  ///
9
17
  /// @argument {color} $dark-color [#000]
10
- /// The color to be output when `$base-color` is light.
18
+ /// The color to be output when `$base-color` is light. Can also be set
19
+ /// globally using the `contrast-switch-dark-color` key in the
20
+ /// Bourbon settings.
11
21
  ///
12
22
  /// @argument {color} $light-color [#fff]
13
- /// The color to be output when `$base-color` is dark.
23
+ /// The color to be output when `$base-color` is dark. Can also be set
24
+ /// globally using the `contrast-switch-light-color` key in the
25
+ /// Bourbon settings.
14
26
  ///
15
27
  /// @return {color}
16
28
  ///
17
29
  /// @example scss
18
- /// .first-element {
30
+ /// .element {
19
31
  /// color: contrast-switch(#bae6e6);
20
32
  /// }
21
33
  ///
22
- /// .second-element {
34
+ /// // CSS Output
35
+ /// .element {
36
+ /// color: #000;
37
+ /// }
38
+ ///
39
+ /// @example scss
40
+ /// .element {
23
41
  /// $button-color: #2d72d9;
24
42
  /// background-color: $button-color;
25
43
  /// color: contrast-switch($button-color, #222, #eee);
26
44
  /// }
27
45
  ///
28
- /// @example css
29
- /// .first-element {
30
- /// color: #000;
31
- /// }
32
- ///
33
- /// .second-element {
46
+ /// // CSS Output
47
+ /// .element {
34
48
  /// background-color: #2d72d9;
35
49
  /// color: #eee;
36
50
  /// }
37
51
  ///
38
- /// @require {function} _is-light
52
+ /// @require {function} _retrieve-bourbon-setting
53
+ ///
54
+ /// @require {function} _is-color
55
+ ///
56
+ /// @require {function} _contrast-ratio
39
57
  ///
40
58
  /// @since 5.0.0
41
59
 
@@ -55,6 +73,10 @@
55
73
  @error "`#{$light-color}` is not a valid color for the `$light-color` " +
56
74
  "argument in the `contrast-switch` function.";
57
75
  } @else {
58
- @return if(_is-light($base-color), $dark-color, $light-color);
76
+ $-contrast-to-dark: _contrast-ratio($base-color, $dark-color);
77
+ $-contrast-to-light: _contrast-ratio($base-color, $light-color);
78
+ $-prefer-dark: $-contrast-to-dark >= $-contrast-to-light;
79
+
80
+ @return if($-prefer-dark, $dark-color, $light-color);
59
81
  }
60
82
  }
@@ -13,7 +13,7 @@
13
13
  /// @include ellipsis;
14
14
  /// }
15
15
  ///
16
- /// @example css
16
+ /// // CSS Output
17
17
  /// .element {
18
18
  /// display: inline-block;
19
19
  /// max-width: 100%;
@@ -11,11 +11,12 @@
11
11
  ///
12
12
  /// @argument {string} $asset-pipeline [false]
13
13
  /// Set to `true` if you’re using the Rails Asset Pipeline (place the fonts
14
- /// in `app/assets/fonts/`).
14
+ /// in `app/assets/fonts/`). Can also be set globally using the
15
+ /// `rails-asset-pipeline` key in the Bourbon settings.
15
16
  ///
16
17
  /// @argument {string | list} $file-formats [("ttf", "woff2", "woff")]
17
- /// Pass a list of file formats to support,
18
- /// for example ("eot", "ttf", "svg", "woff2", "woff").
18
+ /// List of the font file formats to include. Can also be set globally using
19
+ /// the `global-font-file-formats` key in the Bourbon settings.
19
20
  ///
20
21
  /// @content
21
22
  /// Any additional CSS properties that are included in the `@include`
@@ -32,7 +33,7 @@
32
33
  /// font-weight: 400;
33
34
  /// }
34
35
  ///
35
- /// @example css
36
+ /// // CSS Output
36
37
  /// @font-face {
37
38
  /// font-family: "source-sans-pro";
38
39
  /// src: url("fonts/source-sans-pro-regular.woff2") format("woff2"),
@@ -1,10 +1,20 @@
1
1
  @charset "UTF-8";
2
2
 
3
- ////
3
+ /// A variable that outputs a Helvetica font stack.
4
+ ///
5
+ /// @link https://goo.gl/uSJvZe
6
+ ///
4
7
  /// @type list
5
8
  ///
6
- /// @link goo.gl/Cxb26i
7
- ////
9
+ /// @example scss
10
+ /// .element {
11
+ /// font-family: $font-stack-helvetica;
12
+ /// }
13
+ ///
14
+ /// // CSS Output
15
+ /// .element {
16
+ /// font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
17
+ /// }
8
18
 
9
19
  $font-stack-helvetica: (
10
20
  "Helvetica Neue",
@@ -13,6 +23,22 @@ $font-stack-helvetica: (
13
23
  sans-serif,
14
24
  );
15
25
 
26
+ /// A variable that outputs a Lucida Grande font stack.
27
+ ///
28
+ /// @link https://goo.gl/R5UyYE
29
+ ///
30
+ /// @type list
31
+ ///
32
+ /// @example scss
33
+ /// .element {
34
+ /// font-family: $font-stack-lucida-grande;
35
+ /// }
36
+ ///
37
+ /// // CSS Output
38
+ /// .element {
39
+ /// font-family: "Lucida Grande", "Lucida Sans Unicode", "Geneva", "Verdana", sans-serif;
40
+ /// }
41
+
16
42
  $font-stack-lucida-grande: (
17
43
  "Lucida Grande",
18
44
  "Lucida Sans Unicode",
@@ -21,26 +47,82 @@ $font-stack-lucida-grande: (
21
47
  sans-serif,
22
48
  );
23
49
 
50
+ /// A variable that outputs a Verdana font stack.
51
+ ///
52
+ /// @link https://goo.gl/yGXWSS
53
+ ///
54
+ /// @type list
55
+ ///
56
+ /// @example scss
57
+ /// .element {
58
+ /// font-family: $font-stack-verdana;
59
+ /// }
60
+ ///
61
+ /// // CSS Output
62
+ /// .element {
63
+ /// font-family: "Verdana", "Geneva", sans-serif;
64
+ /// }
65
+
24
66
  $font-stack-verdana: (
25
67
  "Verdana",
26
68
  "Geneva",
27
69
  sans-serif,
28
70
  );
29
71
 
72
+ /// A variable that outputs a system font stack.
73
+ ///
74
+ /// @link https://goo.gl/LHRZIf
75
+ ///
76
+ /// @type list
77
+ ///
78
+ /// @example scss
79
+ /// .element {
80
+ /// font-family: $font-stack-system;
81
+ /// }
82
+ ///
83
+ /// // CSS Output
84
+ /// .element {
85
+ /// font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", "Avenir", "Segoe UI", "Lucida Grande", "Helvetica Neue", "Helvetica", "Fira Sans", "Roboto", "Noto", "Droid Sans", "Cantarell", "Oxygen", "Ubuntu", "Franklin Gothic Medium", "Century Gothic", "Liberation Sans", sans-serif;
86
+ /// }
87
+
30
88
  $font-stack-system: (
31
89
  -apple-system,
32
90
  BlinkMacSystemFont,
91
+ "Avenir Next",
92
+ "Avenir",
33
93
  "Segoe UI",
94
+ "Lucida Grande",
95
+ "Helvetica Neue",
96
+ "Helvetica",
97
+ "Fira Sans",
34
98
  "Roboto",
99
+ "Noto",
100
+ "Droid Sans",
101
+ "Cantarell",
35
102
  "Oxygen",
36
103
  "Ubuntu",
37
- "Cantarell",
38
- "Fira Sans",
39
- "Droid Sans",
40
- "Helvetica Neue",
104
+ "Franklin Gothic Medium",
105
+ "Century Gothic",
106
+ "Liberation Sans",
41
107
  sans-serif,
42
108
  );
43
109
 
110
+ /// A variable that outputs a Garamond font stack.
111
+ ///
112
+ /// @link https://goo.gl/QQFEkV
113
+ ///
114
+ /// @type list
115
+ ///
116
+ /// @example scss
117
+ /// .element {
118
+ /// font-family: $font-stack-garamond;
119
+ /// }
120
+ ///
121
+ /// // CSS Output
122
+ /// .element {
123
+ /// font-family: "Garamond", "Baskerville", "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
124
+ /// }
125
+
44
126
  $font-stack-garamond: (
45
127
  "Garamond",
46
128
  "Baskerville",
@@ -50,6 +132,22 @@ $font-stack-garamond: (
50
132
  serif,
51
133
  );
52
134
 
135
+ /// A variable that outputs a Georgia font stack.
136
+ ///
137
+ /// @link https://goo.gl/wtzVPy
138
+ ///
139
+ /// @type list
140
+ ///
141
+ /// @example scss
142
+ /// .element {
143
+ /// font-family: $font-stack-georgia;
144
+ /// }
145
+ ///
146
+ /// // CSS Output
147
+ /// .element {
148
+ /// font-family: "Georgia", "Times", "Times New Roman", serif;
149
+ /// }
150
+
53
151
  $font-stack-georgia: (
54
152
  "Georgia",
55
153
  "Times",
@@ -57,6 +155,22 @@ $font-stack-georgia: (
57
155
  serif,
58
156
  );
59
157
 
158
+ /// A variable that outputs a Hoefler Text font stack.
159
+ ///
160
+ /// @link https://goo.gl/n7U7zx
161
+ ///
162
+ /// @type list
163
+ ///
164
+ /// @example scss
165
+ /// .element {
166
+ /// font-family: $font-stack-hoefler-text;
167
+ /// }
168
+ ///
169
+ /// // CSS Output
170
+ /// .element {
171
+ /// font-family: "Hoefler Text", "Baskerville Old Face", "Garamond", "Times New Roman", serif;
172
+ /// }
173
+
60
174
  $font-stack-hoefler-text: (
61
175
  "Hoefler Text",
62
176
  "Baskerville Old Face",
@@ -65,12 +179,44 @@ $font-stack-hoefler-text: (
65
179
  serif,
66
180
  );
67
181
 
182
+ /// A variable that outputs a Consolas font stack.
183
+ ///
184
+ /// @link https://goo.gl/iKrtqv
185
+ ///
186
+ /// @type list
187
+ ///
188
+ /// @example scss
189
+ /// .element {
190
+ /// font-family: $font-stack-consolas;
191
+ /// }
192
+ ///
193
+ /// // CSS Output
194
+ /// .element {
195
+ /// font-family: "Consolas", "monaco", monospace;
196
+ /// }
197
+
68
198
  $font-stack-consolas: (
69
199
  "Consolas",
70
200
  "monaco",
71
201
  monospace,
72
202
  );
73
203
 
204
+ /// A variable that outputs a Courier New font stack.
205
+ ///
206
+ /// @link https://goo.gl/bHfWMP
207
+ ///
208
+ /// @type list
209
+ ///
210
+ /// @example scss
211
+ /// .element {
212
+ /// font-family: $font-stack-courier-new;
213
+ /// }
214
+ ///
215
+ /// // CSS Output
216
+ /// .element {
217
+ /// font-family: "Courier New", "Courier", "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
218
+ /// }
219
+
74
220
  $font-stack-courier-new: (
75
221
  "Courier New",
76
222
  "Courier",
@@ -79,8 +225,24 @@ $font-stack-courier-new: (
79
225
  monospace,
80
226
  );
81
227
 
228
+ /// A variable that outputs a Monaco font stack.
229
+ ///
230
+ /// @link https://goo.gl/9PgKDO
231
+ ///
232
+ /// @type list
233
+ ///
234
+ /// @example scss
235
+ /// .element {
236
+ /// font-family: $font-stack-monaco;
237
+ /// }
238
+ ///
239
+ /// // CSS Output
240
+ /// .element {
241
+ /// font-family: "Monaco", "Consolas", "Lucida Console", monospace;
242
+ /// }
243
+
82
244
  $font-stack-monaco: (
83
- "monaco",
245
+ "Monaco",
84
246
  "Consolas",
85
247
  "Lucida Console",
86
248
  monospace,