@clayui/css 3.45.0 → 3.48.0

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 (75) hide show
  1. package/README.md +23 -69
  2. package/lib/css/atlas.css +265 -97
  3. package/lib/css/atlas.css.map +1 -1
  4. package/lib/css/base.css +219 -79
  5. package/lib/css/base.css.map +1 -1
  6. package/lib/css/bootstrap.css.map +1 -1
  7. package/lib/css/cadmin.css +182 -76
  8. package/lib/css/cadmin.css.map +1 -1
  9. package/lib/images/icons/export.svg +11 -0
  10. package/lib/images/icons/icons.svg +1 -1
  11. package/package.json +2 -2
  12. package/src/images/icons/export.svg +11 -0
  13. package/src/scss/_cadmin-variables.scss +2 -0
  14. package/src/scss/_variables.scss +1 -0
  15. package/src/scss/atlas/variables/_buttons.scss +3 -0
  16. package/src/scss/atlas/variables/_cards.scss +12 -0
  17. package/src/scss/atlas/variables/_globals.scss +42 -13
  18. package/src/scss/atlas/variables/_list-group.scss +28 -12
  19. package/src/scss/atlas-variables.scss +2 -0
  20. package/src/scss/atlas.scss +2 -0
  21. package/src/scss/base-variables.scss +2 -0
  22. package/src/scss/base.scss +2 -0
  23. package/src/scss/cadmin/_variables.scss +1 -0
  24. package/src/scss/cadmin/components/_aspect-ratio.scss +25 -38
  25. package/src/scss/cadmin/components/_cards.scss +10 -120
  26. package/src/scss/cadmin/components/_empty-state.scss +36 -0
  27. package/src/scss/cadmin/components/_links.scss +0 -8
  28. package/src/scss/cadmin/components/_treeview.scss +58 -1
  29. package/src/scss/cadmin/components/_type.scss +27 -42
  30. package/src/scss/cadmin/components/_utilities-functional-important.scss +35 -15
  31. package/src/scss/cadmin/variables/_aspect-ratio.scss +26 -0
  32. package/src/scss/cadmin/variables/_cards.scss +164 -1
  33. package/src/scss/cadmin/variables/_empty-state.scss +23 -0
  34. package/src/scss/cadmin/variables/_globals.scss +173 -11
  35. package/src/scss/cadmin/variables/_links.scss +14 -0
  36. package/src/scss/cadmin/variables/_list-group.scss +32 -16
  37. package/src/scss/cadmin/variables/_sidebar.scss +1 -1
  38. package/src/scss/cadmin/variables/_treeview.scss +17 -1
  39. package/src/scss/cadmin/variables/_utilities.scss +42 -0
  40. package/src/scss/cadmin.scss +2 -0
  41. package/src/scss/components/_aspect-ratio.scss +25 -38
  42. package/src/scss/components/_cards.scss +28 -122
  43. package/src/scss/components/_custom-forms.scss +2 -2
  44. package/src/scss/components/_dropdowns.scss +0 -28
  45. package/src/scss/components/_empty-state.scss +30 -0
  46. package/src/scss/components/_links.scss +1 -9
  47. package/src/scss/components/_multi-step-nav.scss +11 -5
  48. package/src/scss/components/_tables.scss +0 -8
  49. package/src/scss/components/_treeview.scss +58 -1
  50. package/src/scss/components/_type.scss +27 -41
  51. package/src/scss/components/_utilities-functional-important.scss +35 -15
  52. package/src/scss/functions/_lx-icons-generated.scss +2 -0
  53. package/src/scss/mixins/_alerts.scss +180 -113
  54. package/src/scss/mixins/_buttons.scss +4 -0
  55. package/src/scss/mixins/_cards.scss +59 -25
  56. package/src/scss/mixins/_dropdown-menu.scss +17 -0
  57. package/src/scss/mixins/_grid.scss +29 -0
  58. package/src/scss/mixins/_links.scss +22 -2
  59. package/src/scss/variables/_aspect-ratio.scss +26 -0
  60. package/src/scss/variables/_buttons.scss +6 -0
  61. package/src/scss/variables/_cards.scss +158 -4
  62. package/src/scss/variables/_custom-forms.scss +19 -4
  63. package/src/scss/variables/_dropdowns.scss +45 -0
  64. package/src/scss/variables/_empty-state.scss +23 -0
  65. package/src/scss/variables/_globals.scss +172 -11
  66. package/src/scss/variables/_links.scss +21 -3
  67. package/src/scss/variables/_list-group.scss +22 -12
  68. package/src/scss/variables/_multi-step-nav.scss +6 -0
  69. package/src/scss/variables/_range.scss +4 -2
  70. package/src/scss/variables/_sidebar.scss +3 -3
  71. package/src/scss/variables/_stickers.scss +3 -3
  72. package/src/scss/variables/_tables.scss +14 -0
  73. package/src/scss/variables/_toggle-switch.scss +14 -2
  74. package/src/scss/variables/_treeview.scss +21 -1
  75. package/src/scss/variables/_utilities.scss +42 -0
@@ -158,44 +158,31 @@
158
158
  @extend %aspect-ratio-item-center-middle;
159
159
  }
160
160
 
161
- // 3 to 2
162
-
163
- %aspect-ratio-3-to-2 {
164
- @include clay-aspect-ratio(3, 2);
165
- }
166
-
167
- .aspect-ratio-3-to-2 {
168
- @extend %aspect-ratio-3-to-2;
169
- }
170
-
171
- // 4 to 3
172
-
173
- %aspect-ratio-4-to-3 {
174
- @include clay-aspect-ratio(4, 3);
175
- }
176
-
177
- .aspect-ratio-4-to-3 {
178
- @extend %aspect-ratio-4-to-3;
179
- }
180
-
181
- // 8 to 5
182
-
183
- %aspect-ratio-8-to-5 {
184
- @include clay-aspect-ratio(8, 5);
185
- }
186
-
187
- .aspect-ratio-8-to-5 {
188
- @extend %aspect-ratio-8-to-5;
189
- }
190
-
191
- // 16 to 9
192
-
193
- %aspect-ratio-16-to-9 {
194
- @include clay-aspect-ratio(16, 9);
195
- }
196
-
197
- .aspect-ratio-16-to-9 {
198
- @extend %aspect-ratio-16-to-9;
161
+ // aspect-ratio-#-to-#
162
+
163
+ @each $selector, $value in $aspect-ratio-sizes {
164
+ $selector: if(
165
+ starts-with($selector, '.') or starts-with($selector, '#'),
166
+ $selector,
167
+ str-insert($selector, '.', 1)
168
+ );
169
+
170
+ $placeholder: str-insert(
171
+ str-slice($selector, 2, str-length($selector)),
172
+ '%',
173
+ 1
174
+ );
175
+
176
+ #{$placeholder} {
177
+ @include clay-aspect-ratio(
178
+ map-get($value, width),
179
+ map-get($value, height)
180
+ );
181
+ }
182
+
183
+ #{$selector} {
184
+ @extend #{$placeholder} !optional;
185
+ }
199
186
  }
200
187
 
201
188
  // Bg Contain
@@ -1,112 +1,50 @@
1
1
  .card,
2
2
  .card-horizontal {
3
- background-color: $card-bg;
4
- border-color: $card-border-color;
5
- border-style: $card-border-style;
6
- border-width: $card-border-width;
7
-
8
- @include border-radius($card-border-radius);
9
- @include box-shadow($card-box-shadow);
10
-
11
- display: block;
12
- height: $card-height;
13
- margin-bottom: $card-margin-bottom;
14
-
15
- // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
16
-
17
- min-width: 0;
18
- position: relative;
19
- word-wrap: break-word;
3
+ @include clay-card-variant($card);
20
4
 
21
5
  .autofit-col {
22
6
  &:first-child {
23
- @include border-left-radius($card-inner-border-radius);
7
+ border-bottom-left-radius: clay-enable-rounded(
8
+ $card-inner-border-radius
9
+ );
10
+ border-top-left-radius: clay-enable-rounded(
11
+ $card-inner-border-radius
12
+ );
24
13
  }
25
14
 
26
15
  &:last-child {
27
- @include border-right-radius($card-inner-border-radius);
16
+ border-bottom-right-radius: clay-enable-rounded(
17
+ $card-inner-border-radius
18
+ );
19
+ border-top-right-radius: clay-enable-rounded(
20
+ $card-inner-border-radius
21
+ );
28
22
  }
29
23
  }
30
24
 
31
- .aspect-ratio {
32
- .label {
33
- @include clay-css($card-aspect-ratio-label);
34
- }
35
- }
36
-
37
- .aspect-ratio-item-top-left {
38
- @include clay-css($card-aspect-ratio-item-top-left);
39
- }
40
-
41
- .aspect-ratio-item-top-center {
42
- @include clay-css($card-aspect-ratio-item-top-center);
43
- }
44
-
45
- .aspect-ratio-item-top-right {
46
- @include clay-css($card-aspect-ratio-item-top-right);
47
- }
48
-
49
- .aspect-ratio-item-right-middle {
50
- @include clay-css($card-aspect-ratio-item-right-middle);
51
- }
52
-
53
- .aspect-ratio-item-bottom-right {
54
- @include clay-css($card-aspect-ratio-item-bottom-right);
55
- }
56
-
57
- .aspect-ratio-item-bottom-center {
58
- @include clay-css($card-aspect-ratio-item-bottom-center);
59
- }
60
-
61
- .aspect-ratio-item-bottom-left {
62
- @include clay-css($card-aspect-ratio-item-bottom-left);
63
- }
64
-
65
- > hr {
66
- margin-left: 0;
67
- margin-right: 0;
68
- }
69
-
70
25
  > .list-group:first-child {
71
26
  .list-group-item:first-child {
72
- @include border-top-radius($card-border-radius);
27
+ border-top-left-radius: clay-enable-rounded($card-border-radius);
28
+ border-top-right-radius: clay-enable-rounded($card-border-radius);
73
29
  }
74
30
  }
75
31
 
76
32
  > .list-group:last-child {
77
33
  .list-group-item:last-child {
78
- @include border-bottom-radius($card-border-radius);
34
+ border-bottom-left-radius: clay-enable-rounded($card-border-radius);
35
+ border-bottom-right-radius: clay-enable-rounded(
36
+ $card-border-radius
37
+ );
79
38
  }
80
39
  }
81
40
  }
82
41
 
83
42
  .card-body {
84
- color: $card-color;
85
-
86
- // Enable `flex-grow: 1` for decks and groups so that card blocks take up
87
- // as much space as possible, ensuring footers are aligned to the bottom.
88
-
89
- flex: 1 1 auto;
90
-
91
- // Workaround for the image size bug in IE
92
- // See: https://github.com/twbs/bootstrap/pull/28855
93
-
94
- min-height: 1px;
95
-
96
- padding-bottom: $card-body-padding-bottom;
97
- padding-left: $card-body-padding-left;
98
- padding-right: $card-body-padding-right;
99
- padding-top: $card-body-padding-top;
43
+ @include clay-css($card-body);
100
44
  }
101
45
 
102
46
  .card-section-header {
103
- color: $card-section-header-color;
104
- font-size: $card-section-header-font-size;
105
- font-weight: $card-section-header-font-weight;
106
- line-height: $card-section-header-line-height;
107
- margin-bottom: $card-section-header-margin-bottom;
108
- padding: $card-section-header-padding;
109
- text-transform: $card-section-header-text-transform;
47
+ @include clay-css($card-section-header);
110
48
  }
111
49
 
112
50
  // Card Title
@@ -115,24 +53,16 @@
115
53
  @include clay-text-typography($card-title);
116
54
  }
117
55
 
118
- .card-title a {
119
- @include clay-link($card-title-link);
120
- }
121
-
122
56
  // Card Subtitle
123
57
 
124
58
  .card-subtitle {
125
59
  @include clay-text-typography($card-subtitle);
126
60
  }
127
61
 
128
- .card-subtitle a {
129
- @include clay-link($card-subtitle-link);
130
- }
131
-
132
62
  // Card Text
133
63
 
134
- .card-text:last-child {
135
- margin-bottom: 0;
64
+ .card-text {
65
+ @include clay-text-typography($card-text);
136
66
  }
137
67
 
138
68
  // Card Link
@@ -149,32 +79,16 @@
149
79
  }
150
80
  }
151
81
 
82
+ // Card Divider
83
+
152
84
  .card-divider {
153
- background-color: $card-divider-bg;
154
- height: $card-divider-height;
155
- margin-bottom: $card-divider-spacer-y;
156
- margin-left: $card-divider-spacer-x;
157
- margin-right: $card-divider-spacer-x;
158
- margin-top: $card-divider-spacer-y;
85
+ @include clay-css($card-divider);
159
86
  }
160
87
 
161
88
  // Card Header
162
89
 
163
90
  .card-header {
164
- background-color: $card-cap-bg;
165
- border-bottom: $card-border-width solid $card-border-color;
166
- color: $card-cap-color;
167
-
168
- // Removes the default margin-bottom of <hN> (h1 - h6)
169
-
170
- margin-bottom: 0;
171
- padding: $card-spacer-y $card-spacer-x;
172
-
173
- &:first-child {
174
- @include border-radius(
175
- $card-inner-border-radius $card-inner-border-radius 0 0
176
- );
177
- }
91
+ @include clay-card-section-variant($card-header);
178
92
 
179
93
  + .list-group {
180
94
  .list-group-item:first-child {
@@ -200,15 +114,7 @@
200
114
  // Card Footer
201
115
 
202
116
  .card-footer {
203
- background-color: $card-cap-bg;
204
- border-top: $card-border-width solid $card-border-color;
205
- padding: $card-spacer-y $card-spacer-x;
206
-
207
- &:last-child {
208
- @include border-radius(
209
- 0 0 $card-inner-border-radius $card-inner-border-radius
210
- );
211
- }
117
+ @include clay-card-section-variant($card-footer);
212
118
  }
213
119
 
214
120
  @if ($enable-bs4-deprecated) {
@@ -332,7 +332,7 @@ label.custom-control-label {
332
332
  }
333
333
 
334
334
  ~ .custom-file-label[data-browse]::after {
335
- content: attr(data-browse);
335
+ content: $custom-file-text-data-browse;
336
336
  }
337
337
  }
338
338
 
@@ -366,7 +366,7 @@ label.custom-control-label {
366
366
 
367
367
  bottom: 0;
368
368
  color: $custom-file-button-color;
369
- content: 'Browse';
369
+ content: $custom-file-label-after-content;
370
370
  display: block;
371
371
  height: $custom-file-height-inner;
372
372
  line-height: $custom-file-line-height;
@@ -113,34 +113,6 @@
113
113
  .dropdown-menu {
114
114
  @include clay-dropdown-menu-variant($dropdown-menu);
115
115
 
116
- .alert {
117
- font-size: $dropdown-alert-font-size;
118
- line-height: $dropdown-alert-line-height;
119
- margin: $dropdown-alert-margin;
120
- padding: $dropdown-alert-padding-y $dropdown-alert-padding-x;
121
-
122
- &:first-child {
123
- margin-top: 0;
124
- }
125
-
126
- &:last-child {
127
- margin-bottom: 0;
128
- }
129
- }
130
-
131
- .alert-fluid {
132
- margin-left: 0;
133
- margin-right: 0;
134
-
135
- &:first-child {
136
- margin-top: math-sign($dropdown-padding-y);
137
- }
138
-
139
- &:last-child {
140
- margin-bottom: math-sign($dropdown-padding-y);
141
- }
142
- }
143
-
144
116
  .form-group {
145
117
  margin-bottom: 0;
146
118
  }
@@ -2,6 +2,10 @@
2
2
  @include clay-css($c-empty-state);
3
3
  }
4
4
 
5
+ .c-empty-state-sm {
6
+ @include clay-css($c-empty-state-sm);
7
+ }
8
+
5
9
  .c-empty-state-animation {
6
10
  @include clay-css($c-empty-state-animation);
7
11
  }
@@ -33,3 +37,29 @@
33
37
  .c-empty-state-footer {
34
38
  @include clay-css($c-empty-state-footer);
35
39
  }
40
+
41
+ // C Empty State Small
42
+
43
+ .c-empty-state-sm {
44
+ @include clay-css($c-empty-state-sm);
45
+
46
+ &.c-empty-state-animation {
47
+ @include clay-css(map-get($c-empty-state-sm, c-empty-state-animation));
48
+ }
49
+
50
+ .c-empty-state-image {
51
+ @include clay-css(map-get($c-empty-state-sm, c-empty-state-image));
52
+ }
53
+
54
+ .c-empty-state-title {
55
+ @include clay-css(map-get($c-empty-state-sm, c-empty-state-title));
56
+ }
57
+
58
+ .c-empty-state-text {
59
+ @include clay-css(map-get($c-empty-state-sm, c-empty-state-text));
60
+ }
61
+
62
+ .c-empty-state-footer {
63
+ @include clay-css(map-get($c-empty-state-sm, c-empty-state-footer));
64
+ }
65
+ }
@@ -48,18 +48,10 @@ button.link-outline {
48
48
 
49
49
  .component-title {
50
50
  @include clay-text-typography($component-title);
51
-
52
- a {
53
- @include clay-link($component-title-link);
54
- }
55
51
  }
56
52
 
57
53
  .component-subtitle {
58
54
  @include clay-text-typography($component-subtitle);
59
-
60
- a {
61
- @include clay-link($component-subtitle-link);
62
- }
63
55
  }
64
56
 
65
57
  .component-action {
@@ -67,7 +59,7 @@ button.link-outline {
67
59
  }
68
60
 
69
61
  .component-text {
70
- @include clay-css($component-text);
62
+ @include clay-text-typography($component-text);
71
63
  }
72
64
 
73
65
  .component-icon {
@@ -62,7 +62,9 @@
62
62
  @if ($multi-step-icon-active-bg-image) {
63
63
  &[data-multi-step-icon] {
64
64
  &:before {
65
- content: normal;
65
+ // https://issues.liferay.com/browse/LPS-147457
66
+
67
+ content: none;
66
68
  }
67
69
  }
68
70
  }
@@ -100,7 +102,9 @@
100
102
 
101
103
  &[data-multi-step-icon] {
102
104
  &:before {
103
- content: normal;
105
+ // https://issues.liferay.com/browse/LPS-147457
106
+
107
+ content: none;
104
108
  }
105
109
  }
106
110
 
@@ -135,7 +139,9 @@
135
139
  @if ($multi-step-icon-disabled-bg-image) {
136
140
  &[data-multi-step-icon] {
137
141
  &:before {
138
- content: normal;
142
+ // https://issues.liferay.com/browse/LPS-147457
143
+
144
+ content: none;
139
145
  }
140
146
  }
141
147
  }
@@ -244,8 +250,8 @@
244
250
  text-decoration: $multi-step-icon-focus-text-decoration;
245
251
  }
246
252
 
247
- &[data-multi-step-icon]:before {
248
- content: attr(data-multi-step-icon);
253
+ &[data-multi-step-icon]::before {
254
+ content: $data-multi-step-icon-before-content;
249
255
  height: $multi-step-icon-size;
250
256
  line-height: $multi-step-icon-size;
251
257
  text-align: center;
@@ -362,10 +362,6 @@ caption {
362
362
  @include clay-text-typography($table-title);
363
363
  }
364
364
 
365
- .table-title a {
366
- @include clay-link($table-title-link);
367
- }
368
-
369
365
  // Table Link
370
366
 
371
367
  .table-link {
@@ -663,10 +659,6 @@ caption {
663
659
  @include clay-text-typography($table-list-title);
664
660
  }
665
661
 
666
- .table-list-title a {
667
- @include clay-link($table-list-title-link);
668
- }
669
-
670
662
  // Table List Link
671
663
 
672
664
  .table-list-link {
@@ -139,7 +139,14 @@
139
139
  &.focus,
140
140
  &:focus {
141
141
  .component-action {
142
- display: block;
142
+ display: flex;
143
+ }
144
+ }
145
+
146
+ &:disabled,
147
+ &.disabled {
148
+ .component-action {
149
+ display: none;
143
150
  }
144
151
  }
145
152
 
@@ -234,6 +241,31 @@
234
241
 
235
242
  .treeview-link {
236
243
  @include clay-link(map-get($treeview-light, treeview-link));
244
+
245
+ &:disabled,
246
+ &.disabled {
247
+ .component-expander {
248
+ @include clay-css(
249
+ map-deep-get(
250
+ $treeview-light,
251
+ treeview-link,
252
+ disabled,
253
+ component-expander
254
+ )
255
+ );
256
+ }
257
+
258
+ .component-action {
259
+ @include clay-css(
260
+ map-deep-get(
261
+ $treeview-light,
262
+ treeview-link,
263
+ disabled,
264
+ component-action
265
+ )
266
+ );
267
+ }
268
+ }
237
269
  }
238
270
 
239
271
  .component-action {
@@ -294,6 +326,31 @@
294
326
 
295
327
  .treeview-link {
296
328
  @include clay-link(map-get($treeview-dark, treeview-link));
329
+
330
+ &:disabled,
331
+ &.disabled {
332
+ .component-expander {
333
+ @include clay-css(
334
+ map-deep-get(
335
+ $treeview-dark,
336
+ treeview-link,
337
+ disabled,
338
+ component-expander
339
+ )
340
+ );
341
+ }
342
+
343
+ .component-action {
344
+ @include clay-css(
345
+ map-deep-get(
346
+ $treeview-dark,
347
+ treeview-link,
348
+ disabled,
349
+ component-action
350
+ )
351
+ );
352
+ }
353
+ }
297
354
  }
298
355
 
299
356
  .component-action {
@@ -12,65 +12,51 @@ h6,
12
12
  .h4,
13
13
  .h5,
14
14
  .h6 {
15
- color: $headings-color;
16
- font-family: $headings-font-family;
17
- font-weight: $headings-font-weight;
18
- line-height: $headings-line-height;
19
- margin-bottom: $headings-margin-bottom;
15
+ @include clay-css($headings);
16
+
17
+ @include clay-generate-media-breakpoints($headings);
20
18
  }
21
19
 
22
20
  h1,
23
21
  .h1 {
24
- font-size: $h1-font-size;
22
+ @include clay-css($h1);
25
23
 
26
- @include clay-scale-component {
27
- font-size: $h1-font-size-mobile;
28
- }
24
+ @include clay-generate-media-breakpoints($h1);
29
25
  }
30
26
 
31
27
  h2,
32
28
  .h2 {
33
- font-size: $h2-font-size;
29
+ @include clay-css($h2);
34
30
 
35
- @include clay-scale-component {
36
- font-size: $h2-font-size-mobile;
37
- }
31
+ @include clay-generate-media-breakpoints($h2);
38
32
  }
39
33
 
40
34
  h3,
41
35
  .h3 {
42
- font-size: $h3-font-size;
36
+ @include clay-css($h3);
43
37
 
44
- @include clay-scale-component {
45
- font-size: $h3-font-size-mobile;
46
- }
38
+ @include clay-generate-media-breakpoints($h3);
47
39
  }
48
40
 
49
41
  h4,
50
42
  .h4 {
51
- font-size: $h4-font-size;
43
+ @include clay-css($h4);
52
44
 
53
- @include clay-scale-component {
54
- font-size: $h4-font-size-mobile;
55
- }
45
+ @include clay-generate-media-breakpoints($h4);
56
46
  }
57
47
 
58
48
  h5,
59
49
  .h5 {
60
- font-size: $h5-font-size;
50
+ @include clay-css($h5);
61
51
 
62
- @include clay-scale-component {
63
- font-size: $h5-font-size-mobile;
64
- }
52
+ @include clay-generate-media-breakpoints($h5);
65
53
  }
66
54
 
67
55
  h6,
68
56
  .h6 {
69
- font-size: $h6-font-size;
57
+ @include clay-css($h6);
70
58
 
71
- @include clay-scale-component {
72
- font-size: $h6-font-size-mobile;
73
- }
59
+ @include clay-generate-media-breakpoints($h6);
74
60
  }
75
61
 
76
62
  .lead {
@@ -81,27 +67,27 @@ h6,
81
67
  // Type display classes
82
68
 
83
69
  .display-1 {
84
- font-size: $display1-size;
85
- font-weight: $display1-weight;
86
- line-height: $display-line-height;
70
+ @include clay-css($display-1);
71
+
72
+ @include clay-generate-media-breakpoints($display-1);
87
73
  }
88
74
 
89
75
  .display-2 {
90
- font-size: $display2-size;
91
- font-weight: $display2-weight;
92
- line-height: $display-line-height;
76
+ @include clay-css($display-2);
77
+
78
+ @include clay-generate-media-breakpoints($display-2);
93
79
  }
94
80
 
95
81
  .display-3 {
96
- font-size: $display3-size;
97
- font-weight: $display3-weight;
98
- line-height: $display-line-height;
82
+ @include clay-css($display-3);
83
+
84
+ @include clay-generate-media-breakpoints($display-3);
99
85
  }
100
86
 
101
87
  .display-4 {
102
- font-size: $display4-size;
103
- font-weight: $display4-weight;
104
- line-height: $display-line-height;
88
+ @include clay-css($display-4);
89
+
90
+ @include clay-generate-media-breakpoints($display-4);
105
91
  }
106
92
 
107
93
  // Horizontal rules