zen-grids 2.0.0.beta.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,8 @@
20
20
  $gutters : $zen-gutters,
21
21
  $gutter-method : $zen-gutter-method,
22
22
  $direction : $zen-direction,
23
- $switch-direction : $zen-switch-direction
23
+ $switch-direction : $zen-switch-direction,
24
+ $rtl-selector : $zen-rtl-selector
24
25
  ) {
25
26
 
26
27
  $dir: $direction;
@@ -38,20 +39,21 @@
38
39
  }
39
40
 
40
41
  // @TODO: This is a pre-IE8 line of code; don't remember why its needed.
41
- @if zen-support-for(ie, "7") {
42
+ @if zen-support-for-ie(7) {
42
43
  *position: static;
43
44
  }
44
45
 
45
46
  // Un-do the "micro clearfix".
46
- &:before,
47
- &:after {
47
+ &:before {
48
48
  content: normal;
49
49
  display: inline;
50
50
  }
51
51
  &:after {
52
+ content: normal;
53
+ display: inline;
52
54
  clear: none;
53
55
  }
54
- @if zen-support-for(ie, "7") {
56
+ @if zen-support-for-ie(7) {
55
57
  *zoom: normal;
56
58
  }
57
59
 
@@ -62,11 +64,21 @@
62
64
  left: 0;
63
65
  right: 0;
64
66
  }
67
+
68
+ // If $gutters is an odd number of pixels, we need special RTL handling.
69
+ @if zen-half-gutter($gutters, left, $dir) != zen-half-gutter($gutters, right, $dir) {
70
+ @include zen-rtl($rtl-selector) {
71
+ margin: {
72
+ left: 0;
73
+ right: 0;
74
+ }
75
+ }
76
+ }
65
77
  }
66
78
 
67
79
  // Re-add the original gutters to the grid item.
68
80
  @if $context == grid-item and $gutter-method == padding {
69
- @include zen-apply-gutter-padding($gutters, $direction, $switch-direction);
81
+ @include zen-apply-gutter-padding($gutters, $direction, $switch-direction, $rtl-selector);
70
82
  }
71
83
  }
72
84
 
@@ -74,9 +86,12 @@
74
86
  // Apply this to undo the grid item styling. @see http://next.zengrids.com/reference/grids/#undo-zen-grid-item
75
87
  //
76
88
  @mixin undo-zen-grid-item(
89
+ $direction : $zen-direction,
77
90
  $gutters : $zen-gutters,
78
91
  $gutter-method : $zen-gutter-method,
79
92
  $box-sizing : $zen-box-sizing,
93
+ $switch-direction : $zen-switch-direction,
94
+ $rtl-selector : $zen-rtl-selector,
80
95
  $include-base : $zen-auto-include-grid-item-base
81
96
  ) {
82
97
 
@@ -89,12 +104,12 @@
89
104
 
90
105
  // Include the grid item base mixin.
91
106
  @if $include-base {
92
- @include undo-zen-grid-item-base($gutter-method, $box-sizing);
107
+ @include undo-zen-grid-item-base($gutters, $gutter-method, $box-sizing, $direction, $switch-direction, $rtl-selector);
93
108
  }
94
109
  // If the $gutters parameter has been used, undo the gutters even if
95
110
  // $include-base is false.
96
111
  @else if $gutters != $zen-gutters and $gutter-method == padding {
97
- @include undo-zen-apply-gutter-padding();
112
+ @include undo-zen-apply-gutter-padding($gutters, $direction, $switch-direction, $rtl-selector);
98
113
  }
99
114
  }
100
115
 
@@ -107,28 +122,31 @@
107
122
  // would break the layout. There is no way to undo that.
108
123
  //
109
124
  @mixin undo-zen-grid-item-base(
125
+ $gutters : $zen-gutters,
110
126
  $gutter-method : $zen-gutter-method,
111
- $box-sizing : $zen-box-sizing
127
+ $box-sizing : $zen-box-sizing,
128
+ $direction : $zen-direction,
129
+ $switch-direction : $zen-switch-direction,
130
+ $rtl-selector : $zen-rtl-selector
112
131
  ) {
113
132
 
114
133
  // Specify the padding if the gutter method uses padding.
115
134
  @if $gutter-method == padding {
116
- @include undo-zen-apply-gutter-padding();
135
+ @include undo-zen-apply-gutter-padding($gutters, $direction, $switch-direction, $rtl-selector);
117
136
  }
118
137
 
119
138
  // Specify the border-box properties.
120
139
  @if $box-sizing == border-box {
121
140
  -moz-box-sizing: content-box;
122
141
  -webkit-box-sizing: content-box;
123
- -ms-box-sizing: content-box;
124
142
  box-sizing: content-box;
125
143
  }
126
144
 
127
- @if zen-support-for(ie, "7") {
145
+ @if zen-support-for-ie(7) {
128
146
  @if $box-sizing-polyfill-path != "" {
129
147
  *behavior: none;
130
148
  }
131
- @if zen-support-for(ie, "6") {
149
+ @if zen-support-for-ie(6) {
132
150
  _display: block;
133
151
  _overflow: visible;
134
152
  }
@@ -140,17 +158,47 @@
140
158
  // Apply this to prevent a grid item from starting a new row.
141
159
  // @see http://next.zengrids.com/reference/grids/#undo-zen-new-row
142
160
  //
143
- @mixin undo-zen-new-row() {
161
+ @mixin undo-zen-new-row(
162
+ $clear : $zen-direction,
163
+ $rtl-selector : $zen-rtl-selector
164
+ ) {
144
165
  clear: none;
166
+
167
+ @if $clear == left or $clear == right {
168
+ @include zen-rtl($rtl-selector) {
169
+ clear: none;
170
+ }
171
+ }
145
172
  }
146
173
 
147
174
  //
148
175
  // Undoes the gutter on a grid item when using the padding gutter method.
149
176
  // @see http://next.zengrids.com/reference/grids/#undo-zen-apply-gutter-padding
150
177
  //
151
- @mixin undo-zen-apply-gutter-padding() {
178
+ @mixin undo-zen-apply-gutter-padding(
179
+ $gutters : $zen-gutters,
180
+ $direction : $zen-direction,
181
+ $switch-direction : $zen-switch-direction,
182
+ $rtl-selector : $zen-rtl-selector
183
+ ) {
184
+
185
+ $dir: $direction;
186
+ @if $switch-direction {
187
+ $dir: zen-direction-switch($dir);
188
+ }
189
+
152
190
  padding: {
153
191
  left: 0;
154
192
  right: 0;
155
193
  }
194
+
195
+ // If $gutters is an odd number of pixels, we need special RTL handling.
196
+ @if zen-half-gutter($gutters, left, $dir) != zen-half-gutter($gutters, right, $dir) {
197
+ @include zen-rtl($rtl-selector) {
198
+ padding: {
199
+ left: 0;
200
+ right: 0;
201
+ }
202
+ }
203
+ }
156
204
  }
@@ -2,70 +2,327 @@
2
2
  // Variables module for the Zen Grids system; auto-imported by other modules.
3
3
  //
4
4
 
5
- // Specify the number of columns in the grid. @see http://next.zengrids.com/reference/grids/#zen-columns
6
- $zen-columns : 1 !default;
5
+ // Grids Module: Configurable Variables
6
+ //
7
+ // Zen Grids comes with several configuration variables that affect what CSS its mixins and functions output. The default values of these variables are all set using the “guarded assignment” flag, `!default`. So you can safely set those values before you `@import` Zen Grids and your values will be respected.
8
+ //
9
+ // weight: -10
10
+ //
11
+ // Style guide: grids.variables
7
12
 
8
- // Specify the width of the gutters (as padding). @see http://next.zengrids.com/reference/grids/#zen-gutters
9
- $zen-gutters : 20px !default;
13
+ // Common variables
14
+ //
15
+ // Style guide: grids.variables.common
10
16
 
11
- // Specify the gutter method. Can be padding or margin.
12
- $zen-gutter-method : padding !default;
17
+ // $zen-columns
18
+ //
19
+ // Specifies the number of columns in the grid. Defaults to 1 as a hat tip to mobile first designs. You should set this variable each time you want to use a different grid for a set of media queries.
20
+ //
21
+ // `$zen-columns: 1 !default;`
22
+ //
23
+ // weight: -2
24
+ //
25
+ // Style guide: grids.variables.common.zen-columns
26
+ $zen-columns: 1 !default;
13
27
 
14
- // @see http://next.zengrids.com/reference/grids/#zen-auto-include-grid-item-base
15
- $zen-auto-include-grid-item-base : true !default;
28
+ // $zen-gutters
29
+ //
30
+ // Specifies the width of each gutter, the horizontal space between two adjacent grid items.
31
+ //
32
+ // For a sense of aesthetics, we suggest this value could be proportional to your base font by setting `$zen-gutters` equal to a multiple of your base line height.
33
+ //
34
+ // If the [`$zen-gutter-method`](#zen-gutter-method) is set to `margin`, the unit of measurement of the gutters should be the same as the unit of measurement of the [`$zen-grid-width`](#zen-grid-width), e.g. if `$zen-grid-width: 100%`, then `$zen-gutters` should also be measured in `%`.
35
+ //
36
+ // `$zen-gutters: 20px !default;`
37
+ //
38
+ // weight: -2
39
+ //
40
+ // Style guide: grids.variables.common.zen-gutters
41
+ $zen-gutters: 20px !default;
16
42
 
17
- // Specify the width of the entire grid. @see http://next.zengrids.com/reference/grids/#zen-grid-width
18
- $zen-grid-width : 100% !default;
43
+ // $zen-gutter-method
44
+ //
45
+ // Specifies the type of gutters used for the grid, can be set to `padding` (the default) or `margin`.
46
+ // If the “padding” gutter method is chosen, half of the gutter will be placed on each side of a grid item (as padding). This means there will be a full gutter between the content of adjacent grid items and half of a gutter on each edge of the grid.
47
+ //
48
+ // <figure class="ex-gutter-method ex-gutter-method-padding">
49
+ // <div class="ex-gutter-method__container">
50
+ // <div class="ex-gutter-method__content ex-gutter-method__content-1">
51
+ // <p>A grid item.</p>
52
+ // </div>
53
+ // <div class="ex-gutter-method__content ex-gutter-method__content-2">
54
+ // <p>A grid item.</p>
55
+ // </div>
56
+ // <div class="ex-gutter-method__content ex-gutter-method__content-3">
57
+ // <p>A grid item.</p>
58
+ // </div>
59
+ // </div>
60
+ // </figure>
61
+ //
62
+ // If the “margin” gutter method is chosen, a full gutter will be placed between each grid item (as margin), but no gutter will be placed on each edge of the grid.
63
+ //
64
+ // <figure class="ex-gutter-method ex-gutter-method-margin">
65
+ // <div class="ex-gutter-method__container">
66
+ // <div class="ex-gutter-method__content ex-gutter-method__content-1">
67
+ // <p>A grid item.</p>
68
+ // </div>
69
+ // <div class="ex-gutter-method__content ex-gutter-method__content-2">
70
+ // <p>A grid item.</p>
71
+ // </div>
72
+ // <div class="ex-gutter-method__content ex-gutter-method__content-3">
73
+ // <p>A grid item.</p>
74
+ // </div>
75
+ // </div>
76
+ // </figure>
77
+ //
78
+ // Note: that the “margin” gutter method requires that the gutters and the width of the grid have the same unit of measurement, e.g. both be measured in `%` or both in `px`. This means that a fluid, responsive layout using the “margin” gutter method will have gutters that are `%`-based. This is why the default gutter method is “padding”; the grid can be `%`-based, while the gutters remain a fixed measurement (like `20px` or `5 em`) at all viewport sizes.
79
+ //
80
+ // ```
81
+ // $zen-gutter-method: padding !default;
82
+ // ```
83
+ //
84
+ // weight: -1
85
+ //
86
+ // Style guide: grids.variables.common.zen-gutter-method
87
+ $zen-gutter-method: padding !default;
19
88
 
20
- // The box-sizing polyfill for IE6/7 requires an absolute path. @see http://next.zengrids.com/reference/grids/#box-sizing-polyfill-path
21
- $box-sizing-polyfill-path : "" !default;
89
+ // $zen-auto-include-grid-item-base
90
+ //
91
+ // You can generate more efficient CSS if you set this to `false` and manually apply the [`zen-grid-item-base()`](#zen-grid-item-base) mixin to all grid items (and flow items) from within a single ruleset.
92
+ //
93
+ // `$zen-auto-include-grid-item-base: true !default;`
94
+ //
95
+ // Style guide: grids.variables.common.zen-auto-include-grid-item-base
96
+ $zen-auto-include-grid-item-base: true !default;
22
97
 
23
- // Specify the CSS3 box-sizing method. @see http://next.zengrids.com/reference/grids/#zen-box-sizing
24
- $zen-box-sizing : border-box !default;
98
+ // $zen-box-sizing
99
+ //
100
+ // Specify the CSS3 box-sizing method. The default, "border-box", is compatible with all modern browsers, including IE 8 and later.
101
+ //
102
+ // Some developers use a universal selector to apply CSS’s “border-box” box sizing to all elements. Paul Irish describes this method in more detail in his blog post “[* { Box-sizing: Border-box } FTW](http://www.paulirish.com/2012/box-sizing-border-box-ftw/)”. Since Zen Grids will automatically add `box-sizing: border-box;` to those elements that need it, you can prevent it from outputting redundant `box-sizing` properties by setting `$zen-box-sizing` to `universal-border-box`.
103
+ //
104
+ // To add IE6 and IE7 support, you’ll need to set [`$support-for`](#support-for) to `(ie: 6)` and then either use a polyfill (see [`$box-sizing-polyfill-path`](#box-sizing-polyfill-path)) or set `$zen-box-sizing` to "content-box".
105
+ //
106
+ // Note: if `$zen-box-sizing` is set to "content-box", then [`$zen-gutters`](#zen-gutters) will need to use the same unit of measurement as the [`$zen-grid-width`](#zen-grid-width).
107
+ //
108
+ // `$zen-box-sizing: border-box !default;`
109
+ //
110
+ // weight: 1
111
+ //
112
+ // Style guide: grids.variables.common.zen-box-sizing
113
+ $zen-box-sizing: border-box !default;
25
114
 
26
- // Specify the minimum version numbers of supported browsers.
27
- // @see http://next.zengrids.com/reference/grids/#browser-minimum-versions
28
- $browser-minimum-versions : (
29
- 'chrome': null,
30
- 'firefox': null,
31
- 'ie': null,
32
- 'safari': null,
33
- 'opera': null
34
- ) !default;
115
+
116
+ // Adaptive or fixed design variable
117
+ //
118
+ // Style guide: grids.variables.fixed
119
+
120
+ // $zen-grid-width
121
+ //
122
+ // Specify the width of the entire grid. Defaults to `100%` for a fluid responsive design, but you can change this to any fixed value (using px or em, etc.) if you need a fixed grid.
123
+ //
124
+ // `$zen-grid-width: 100% !default;`
125
+ //
126
+ // Style guide: grids.variables.fixed.zen-grid-width
127
+ $zen-grid-width: 100% !default;
128
+
129
+ // Legacy IE support variables
130
+ //
131
+ // IE 6 and 7 require special CSS properties in order for Zen Grids to work with
132
+ // such old browsers.
133
+ //
134
+ // If you need IE 6/7 support, you will need to install:
135
+ //
136
+ // 1. [support-for]() Sass module
137
+ // 2. [box-sizing polyfill](https://github.com/Schepp/box-sizing-polyfill)'s boxsizing.htc
138
+ //
139
+ // weight: 1
140
+ //
141
+ // Style guide: grids.variables.legacy
142
+
143
+ // $box-sizing-polyfill-path
144
+ //
145
+ // The box-sizing polyfill for IE 6/7 requires an absolute path to the boxsizing.htc file. See https://github.com/Schepp/box-sizing-polyfill
146
+ //
147
+ // `$box-sizing-polyfill-path: '' !default;`
148
+ //
149
+ // Style guide: grids.variables.legacy.box-sizing-polyfill-path
150
+ $box-sizing-polyfill-path: '' !default;
151
+
152
+ // $support-for
153
+ //
154
+ // Specify the minimum browser versions that must be supported. Currently, Zen Grids only uses the `ie` value to determine if additional CSS properties are needed for IE 6 and IE 7 support. For example, to add support for IE 7, set `$support-for: (ie: 7);`
155
+ //
156
+ // This variable is a copy of the one used by [support-for](https://github.com/JohnAlbin/support-for). Zen Grids does not require support-for, but will use it if available.
157
+ //
158
+ // ```
159
+ // $support-for: (
160
+ // chrome: -4,
161
+ // edge: -4,
162
+ // firefox: -4,
163
+ // ie: 9,
164
+ // opera: -4,
165
+ // safari: -4,
166
+ // '*': -4,
167
+ // ) !default;
168
+ // ```
169
+ //
170
+ // Style guide: grids.variables.legacy.support-for
171
+
172
+ // RTL language variables
173
+ //
174
+ // Style guide: grids.variables.rtl
35
175
 
36
176
  // Specify the default floating direction for zen grids' mixins. @see http://next.zengrids.com/reference/grids/#zen-direction
37
- $zen-direction : left !default;
177
+ // $zen-direction
178
+ //
179
+ // Specify the default floating direction for zen grids’ mixins. If you are only building RTL layouts (and not LTR layouts), you should set this to `right`.
180
+ //
181
+ // `$zen-direction: left !default;`
182
+ //
183
+ // Style guide: grids.variables.rtl.zen-direction
184
+ $zen-direction: left !default;
185
+
186
+ // $zen-rtl-selector
187
+ //
188
+ // If you wish to output both LTR layouts and RTL layouts simultaneously, you can specify the parent selector that should be used to trigger an RTL override for any of Zen Grids' direction-specific CSS.
189
+ //
190
+ // For example, setting this:
191
+ // ```
192
+ // $zen-rtl-selector: '[dir="rtl"]';
193
+ // ```
194
+ //
195
+ // After building a layout with Zen Grids' mixins, the CSS output will look similar to this:
196
+ // ```
197
+ // .my-layout-column {
198
+ // margin-left: 20%;
199
+ // margin-right: -100%;
200
+ // }
201
+ // [dir="rtl"] .my-layout-column {
202
+ // margin-left: -100%;
203
+ // margin-right: 20%;
204
+ // }
205
+ // ```
206
+ //
207
+ // `$zen-rtl-selector: false !default;`
208
+ //
209
+ // Style guide: grids.variables.rtl.zen-rtl-seelctor
210
+ $zen-rtl-selector: false !default;
38
211
 
39
- // Reverse the floating direction in all zen grids' mixins. @see http://next.zengrids.com/reference/grids/#zen-switch-direction
40
- $zen-switch-direction : false !default;
212
+ // $zen-switch-direction
213
+ //
214
+ // Reverse the floating direction in all of zen grids’ mixins.
215
+ //
216
+ // If you are creating both LTR and RTL layouts, this helper variable can be used to automatically create one set of layouts based on the other set of layouts. For example:
217
+ //
218
+ // ```
219
+ // $zen-switch-direction: true;
220
+ // @import "an-LTR-layout";
221
+ // ```
222
+ //
223
+ // In the above example, the existing LTR layout in the an-LTR-layout.scss file is used to create the corresponding RTL layout by first setting the `$zen-switch-direction` variable to `true` and then importing the LTR layout file.
224
+ //
225
+ // `$zen-switch-direction: false !default;`
226
+ //
227
+ // Style guide: grids.variables.rtl.zen-switch-direction
228
+ $zen-switch-direction: false !default;
229
+
230
+
231
+
232
+ // Flow Module: Configurable Variables
233
+ //
234
+ // Zen Grids comes with several configuration variables that affect what CSS its mixins and functions output. The default values of these variables are all set using the “guarded assignment” flag, `!default`. So you can safely set those values before you `@import` Zen Grids and your values will be respected.
235
+ //
236
+ // weight: -10
237
+ //
238
+ // Style guide: flow.variables
41
239
 
240
+ // $zen-auto-include-flow-item-base
42
241
  //
43
- // Variables used by the flow module.
242
+ // This variable works the same as [`$zen-auto-include-grid-item-base`](./section-grids.html#zen-auto-include-grid-item-base), except it is used for flow items instead of grid items. You can generate more efficient CSS if you set this to `false` and manually apply the `zen-grid-item-base()` mixin to all flow items from within a single ruleset.
44
243
  //
244
+ // `$zen-auto-include-flow-item-base: true !default;`
245
+ //
246
+ // Style guide: flow.variables.zen-auto-include-flow-item-base
247
+ $zen-auto-include-flow-item-base: true !default;
248
+
45
249
 
46
- // @see http://next.zengrids.com/reference/flow/#zen-auto-include-flow-item-base
47
- $zen-auto-include-flow-item-base : true !default;
48
250
 
251
+ // Layout Module: Configurable Variables
49
252
  //
50
- // Variables used by the layout module.
253
+ // Zen Grids comes with several configuration variables that affect what CSS its mixins and functions output. The default values of these variables are all set using the “guarded assignment” flag, `!default`. So you can safely set those values before you `@import` Zen Grids and your values will be respected.
51
254
  //
255
+ // weight: -10
256
+ //
257
+ // Style guide: layout.variables
258
+
259
+ // $zen-layouts
260
+ //
261
+ // A map of layout names and their corresponding properties. Any zen grids variable name can be used as a property of a named layout, but the `zen-` prefix should be removed.
262
+ //
263
+ // For example:
264
+ // ```
265
+ // $zen-layouts: (
266
+ // medium: (
267
+ // columns: 3, // Equivalent of $zen-columns for this layout.
268
+ // gutters: 15px, // Equivalent of $zen-gutters for this layout.
269
+ // ),
270
+ // );
271
+ // ```
272
+ //
273
+ // When a named layout is given to the `$layout` parameter of one of the layout module's mixins that layout's properties will be used instead of any global variables for the entirety of the mixin's `@content`.
274
+ //
275
+ // `$zen-layouts: () !default;`
276
+ //
277
+ // Style guide: layout.variables.zen-layouts
278
+ $zen-layouts: () !default;
279
+
52
280
 
53
- $zen-layouts : () !default;
54
281
 
282
+ // Background Module: Configurable Variables
55
283
  //
56
- // Variables used by the background module.
284
+ // Zen Grids comes with several configuration variables that affect what CSS its mixins and functions output. The default values of these variables are all set using the “guarded assignment” flag, `!default`. So you can safely set those values before you `@import` Zen Grids and your values will be respected.
57
285
  //
286
+ // weight: -10
287
+ //
288
+ // Style guide: background.variables
58
289
 
59
- // Specify the color of the background grid. @see http://next.zengrids.com/reference/background/#zen-grid-color
60
- $zen-grid-color : #ffdede !default;
290
+ // $zen-grid-color
291
+ //
292
+ // Specify the color used in the background grid image produced by the `zen-grid-background()` mixin.
293
+ //
294
+ // `$zen-grid-color: #ffdede !default;`
295
+ //
296
+ // Style guide: background.variables.zen-grid-color
297
+ $zen-grid-color: #ffdede !default;
61
298
 
62
- // Specify how to place the column numbers in the background grid image. @see http://next.zengrids.com/reference/background/#zen-grid-numbers
63
- $zen-grid-numbers : both !default;
299
+ // $zen-grid-numbers
300
+ //
301
+ // Specify how to place the column numbers in the background grid image. Normally, column numbers are displayed across the top of the background grid image and then displayed in reverse order along the bottom of the background grid image. Can be set to: `both`, `top`, or `none`.
302
+ //
303
+ // `$zen-grid-numbers: both !default;`
304
+ //
305
+ // Style guide: background.variables.zen-grid-numbers
306
+ $zen-grid-numbers: both !default;
64
307
 
65
- // Specify a set of images to number the columns of the background grid. @see http://next.zengrids.com/reference/background/#zen-grid-number-images
66
- $zen-grid-number-images : () !default;
308
+ // $zen-grid-number-images
309
+ //
310
+ // Specify the set of images used for the numbering of the columns in the background grid image.
311
+ //
312
+ // The default value of the `$zen-grid-number-images` variable is a list of the numbers 1 through 25, each rendered as an image and encoded as a data URI. Users who are crazy enough to use a 26-column grid or larger are free to extend this set.
313
+ //
314
+ // `$zen-grid-number-images: (url('data:image/png;base64, …), …) !default;`
315
+ //
316
+ // Style guide: background.variables.zen-grid-number-images
317
+ $zen-grid-number-images: () !default;
67
318
 
68
- // Set this to false to turn off all background grid images without having to
69
- // remove calls to zen-grid-background() from the code.
70
- // @see http://next.zengrids.com/reference/background/#display-zen-grid-background
71
- $display-zen-grid-background : true !default;
319
+ // $display-zen-grid-background
320
+ //
321
+ // Specifies whether the background grid image should be displayed.
322
+ //
323
+ // Since the background grid image is only useful during development and during debugging, we need an easy way to turn off the background grid image without removing all the calls to `zen-grid-background()` from the code base. To turn off all background grid images, set `$display-zen-grid-background` to `false`.
324
+ //
325
+ // `$display-zen-grid-background: true !default;`
326
+ //
327
+ // Style guide: background.variables.display-zen-grid-background
328
+ $display-zen-grid-background: true !default;