@clayui/css 3.45.0 → 3.46.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 (31) hide show
  1. package/README.md +23 -69
  2. package/lib/css/atlas.css +88 -13
  3. package/lib/css/atlas.css.map +1 -1
  4. package/lib/css/base.css +78 -13
  5. package/lib/css/base.css.map +1 -1
  6. package/lib/css/cadmin.css +59 -12
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/export.svg +11 -0
  9. package/lib/images/icons/icons.svg +1 -1
  10. package/package.json +2 -2
  11. package/src/images/icons/export.svg +11 -0
  12. package/src/scss/_variables.scss +1 -0
  13. package/src/scss/atlas/variables/_buttons.scss +3 -0
  14. package/src/scss/atlas/variables/_globals.scss +42 -13
  15. package/src/scss/cadmin/_variables.scss +1 -0
  16. package/src/scss/cadmin/components/_aspect-ratio.scss +25 -38
  17. package/src/scss/cadmin/components/_type.scss +27 -42
  18. package/src/scss/cadmin/components/_utilities-functional-important.scss +35 -15
  19. package/src/scss/cadmin/variables/_aspect-ratio.scss +26 -0
  20. package/src/scss/cadmin/variables/_globals.scss +173 -11
  21. package/src/scss/cadmin/variables/_utilities.scss +42 -0
  22. package/src/scss/components/_aspect-ratio.scss +25 -38
  23. package/src/scss/components/_type.scss +27 -41
  24. package/src/scss/components/_utilities-functional-important.scss +35 -15
  25. package/src/scss/functions/_lx-icons-generated.scss +2 -0
  26. package/src/scss/mixins/_buttons.scss +4 -0
  27. package/src/scss/mixins/_grid.scss +29 -0
  28. package/src/scss/variables/_aspect-ratio.scss +26 -0
  29. package/src/scss/variables/_buttons.scss +6 -0
  30. package/src/scss/variables/_globals.scss +172 -11
  31. package/src/scss/variables/_utilities.scss +42 -0
@@ -435,26 +435,135 @@ $cadmin-font-weight-bolder: 900 !default;
435
435
  $cadmin-font-weight-base: $cadmin-font-weight-normal !default;
436
436
  $cadmin-line-height-base: 1.5 !default;
437
437
 
438
- $cadmin-h1-font-size: 26px !default; // 26px
439
- $cadmin-h2-font-size: 22px !default; // 22px
440
- $cadmin-h3-font-size: 19px !default; // 19px
441
- $cadmin-h4-font-size: 16px !default; // 16px
442
- $cadmin-h5-font-size: 14px !default; // 14px
443
- $cadmin-h6-font-size: 13px !default; // 13px
438
+ // h1, .h1
444
439
 
440
+ $cadmin-h1-font-size: 26px !default; // 26px
445
441
  $cadmin-h1-font-size-mobile: null !default;
442
+
443
+ $cadmin-h1: () !default;
444
+ $cadmin-h1: map-deep-merge(
445
+ (
446
+ font-size: $cadmin-h1-font-size,
447
+ media-breakpoint-down: (
448
+ sm: (
449
+ font-size: $cadmin-h1-font-size-mobile,
450
+ ),
451
+ ),
452
+ ),
453
+ $cadmin-h1
454
+ );
455
+
456
+ // h2, .h2
457
+
458
+ $cadmin-h2-font-size: 22px !default; // 22px
446
459
  $cadmin-h2-font-size-mobile: null !default;
460
+
461
+ $cadmin-h2: () !default;
462
+ $cadmin-h2: map-deep-merge(
463
+ (
464
+ font-size: $cadmin-h2-font-size,
465
+ media-breakpoint-down: (
466
+ sm: (
467
+ font-size: $cadmin-h2-font-size-mobile,
468
+ ),
469
+ ),
470
+ ),
471
+ $cadmin-h2
472
+ );
473
+
474
+ // h3, .h3
475
+
476
+ $cadmin-h3-font-size: 19px !default; // 19px
447
477
  $cadmin-h3-font-size-mobile: null !default;
478
+
479
+ $cadmin-h3: () !default;
480
+ $cadmin-h3: map-deep-merge(
481
+ (
482
+ font-size: $cadmin-h3-font-size,
483
+ media-breakpoint-down: (
484
+ sm: (
485
+ font-size: $cadmin-h3-font-size-mobile,
486
+ ),
487
+ ),
488
+ ),
489
+ $cadmin-h3
490
+ );
491
+
492
+ // h4, .h4
493
+
494
+ $cadmin-h4-font-size: 16px !default; // 16px
448
495
  $cadmin-h4-font-size-mobile: null !default;
496
+
497
+ $cadmin-h4: () !default;
498
+ $cadmin-h4: map-deep-merge(
499
+ (
500
+ font-size: $cadmin-h4-font-size,
501
+ media-breakpoint-down: (
502
+ sm: (
503
+ font-size: $cadmin-h4-font-size-mobile,
504
+ ),
505
+ ),
506
+ ),
507
+ $cadmin-h4
508
+ );
509
+
510
+ // h5, .h5
511
+
512
+ $cadmin-h5-font-size: 14px !default; // 14px
449
513
  $cadmin-h5-font-size-mobile: null !default;
514
+
515
+ $cadmin-h5: () !default;
516
+ $cadmin-h5: map-deep-merge(
517
+ (
518
+ font-size: $cadmin-h5-font-size,
519
+ media-breakpoint-down: (
520
+ sm: (
521
+ font-size: $cadmin-h5-font-size-mobile,
522
+ ),
523
+ ),
524
+ ),
525
+ $cadmin-h5
526
+ );
527
+
528
+ // h6, .h6
529
+
530
+ $cadmin-h6-font-size: 13px !default; // 13px
450
531
  $cadmin-h6-font-size-mobile: null !default;
451
532
 
533
+ $cadmin-h6: () !default;
534
+ $cadmin-h6: map-deep-merge(
535
+ (
536
+ font-size: $cadmin-h6-font-size,
537
+ media-breakpoint-down: (
538
+ sm: (
539
+ font-size: $cadmin-h6-font-size-mobile,
540
+ ),
541
+ ),
542
+ ),
543
+ $cadmin-h6
544
+ );
545
+
546
+ // Headings h1-h6
547
+
452
548
  $cadmin-headings-margin-bottom: $cadmin-spacer * 0.5 !default;
453
549
  $cadmin-headings-font-family: null !default;
454
550
  $cadmin-headings-font-weight: $cadmin-font-weight-bold !default;
455
551
  $cadmin-headings-line-height: 1.2 !default;
456
552
  $cadmin-headings-color: null !default;
457
553
 
554
+ $cadmin-headings: () !default;
555
+ $cadmin-headings: map-deep-merge(
556
+ (
557
+ color: $cadmin-headings-color,
558
+ font-family: $cadmin-headings-font-family,
559
+ font-weight: $cadmin-headings-font-weight,
560
+ line-height: $cadmin-headings-line-height,
561
+ margin-bottom: $cadmin-headings-margin-bottom,
562
+ margin-top: 0,
563
+ ),
564
+ $cadmin-headings
565
+ );
566
+
458
567
  // This is similar to the html and body tag allows you to isolate all styles inside it.
459
568
 
460
569
  $cadmin: () !default;
@@ -590,16 +699,69 @@ $cadmin-emphasized-link-hover-darken-percentage: 15% !default;
590
699
 
591
700
  $cadmin-paragraph-margin-bottom: 16px !default;
592
701
 
593
- $cadmin-display1-size: 96px !default;
594
- $cadmin-display2-size: 88px !default;
595
- $cadmin-display3-size: 72px !default;
596
- $cadmin-display4-size: 56px !default;
702
+ // Display
703
+
704
+ $cadmin-display-line-height: $cadmin-headings-line-height !default;
705
+
706
+ // .display-1
597
707
 
708
+ $cadmin-display1-size: 96px !default;
598
709
  $cadmin-display1-weight: 300 !default;
710
+
711
+ $cadmin-display-1: () !default;
712
+ $cadmin-display-1: map-deep-merge(
713
+ (
714
+ font-size: $cadmin-display1-size,
715
+ font-weight: $cadmin-display1-weight,
716
+ line-height: $cadmin-display-line-height,
717
+ ),
718
+ $cadmin-display-1
719
+ );
720
+
721
+ // .display-2
722
+
723
+ $cadmin-display2-size: 88px !default;
599
724
  $cadmin-display2-weight: 300 !default;
725
+
726
+ $cadmin-display-2: () !default;
727
+ $cadmin-display-2: map-deep-merge(
728
+ (
729
+ font-size: $cadmin-display2-size,
730
+ font-weight: $cadmin-display2-weight,
731
+ line-height: $cadmin-display-line-height,
732
+ ),
733
+ $cadmin-display-2
734
+ );
735
+
736
+ // .display-3
737
+
738
+ $cadmin-display3-size: 72px !default;
600
739
  $cadmin-display3-weight: 300 !default;
740
+
741
+ $cadmin-display-3: () !default;
742
+ $cadmin-display-3: map-deep-merge(
743
+ (
744
+ font-size: $cadmin-display3-size,
745
+ font-weight: $cadmin-display3-weight,
746
+ line-height: $cadmin-display-line-height,
747
+ ),
748
+ $cadmin-display-3
749
+ );
750
+
751
+ // .display-4
752
+
753
+ $cadmin-display4-size: 56px !default;
601
754
  $cadmin-display4-weight: 300 !default;
602
- $cadmin-display-line-height: $cadmin-headings-line-height !default;
755
+
756
+ $cadmin-display-4: () !default;
757
+ $cadmin-display-4: map-deep-merge(
758
+ (
759
+ font-size: $cadmin-display4-size,
760
+ font-weight: $cadmin-display4-weight,
761
+ line-height: $cadmin-display-line-height,
762
+ ),
763
+ $cadmin-display-4
764
+ );
603
765
 
604
766
  $cadmin-lead-font-size: $cadmin-font-size-base * 1.25 !default;
605
767
  $cadmin-lead-font-weight: 300 !default;
@@ -141,3 +141,45 @@ $cadmin-overflows: auto, hidden !default;
141
141
  // Position
142
142
 
143
143
  $cadmin-positions: static, relative, absolute, fixed, sticky !default;
144
+
145
+ // Font Sizes
146
+
147
+ $cadmin-font-sizes: () !default;
148
+ $cadmin-font-sizes: map-deep-merge(
149
+ (
150
+ text-1: (
151
+ font-size: 0.625rem,
152
+ ),
153
+ text-2: (
154
+ font-size: 0.75rem,
155
+ ),
156
+ text-3: (
157
+ font-size: 0.875rem,
158
+ ),
159
+ text-4: (
160
+ font-size: 1rem,
161
+ ),
162
+ text-5: (
163
+ font-size: 1.125rem,
164
+ ),
165
+ text-6: (
166
+ font-size: 1.25rem,
167
+ ),
168
+ text-7: (
169
+ font-size: 1.5rem,
170
+ ),
171
+ text-8: (
172
+ font-size: 1.75rem,
173
+ ),
174
+ text-9: (
175
+ font-size: 2rem,
176
+ ),
177
+ text-10: (
178
+ font-size: 2.25rem,
179
+ ),
180
+ text-11: (
181
+ font-size: 2.5rem,
182
+ ),
183
+ ),
184
+ $cadmin-font-sizes
185
+ );
@@ -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
@@ -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
@@ -619,12 +619,6 @@
619
619
  }
620
620
  }
621
621
 
622
- // Text
623
-
624
- .text-monospace {
625
- font-family: $font-family-monospace !important;
626
- }
627
-
628
622
  // Text Alignment
629
623
 
630
624
  .text-justify {
@@ -681,34 +675,60 @@
681
675
 
682
676
  // Font Weight and Italics
683
677
 
684
- .font-weight-light {
685
- font-weight: $font-weight-light !important;
678
+ .font-weight-lighter,
679
+ .text-weight-lighter {
680
+ font-weight: $font-weight-lighter !important;
686
681
  }
687
682
 
688
- .font-weight-lighter {
689
- font-weight: $font-weight-lighter !important;
683
+ .font-weight-light,
684
+ .text-weight-light {
685
+ font-weight: $font-weight-light !important;
690
686
  }
691
687
 
692
- .font-weight-normal {
688
+ .font-weight-normal,
689
+ .text-weight-normal {
693
690
  font-weight: $font-weight-normal !important;
694
691
  }
695
692
 
696
- .font-weight-semi-bold {
693
+ .font-weight-semi-bold,
694
+ .text-weight-semi-bold {
697
695
  font-weight: $font-weight-semi-bold !important;
698
696
  }
699
697
 
700
- .font-weight-bold {
698
+ .font-weight-bold,
699
+ .text-weight-bold {
701
700
  font-weight: $font-weight-bold !important;
702
701
  }
703
702
 
704
- .font-weight-bolder {
703
+ .font-weight-bolder,
704
+ .text-weight-bolder {
705
705
  font-weight: $font-weight-bolder !important;
706
706
  }
707
707
 
708
- .font-italic {
708
+ .font-italic,
709
+ .text-italic {
709
710
  font-style: italic !important;
710
711
  }
711
712
 
713
+ .font-monospace,
714
+ .text-monospace {
715
+ font-family: $font-family-monospace !important;
716
+ }
717
+
718
+ // Font Sizes
719
+
720
+ @each $selector, $value in $font-sizes {
721
+ $selector: if(
722
+ starts-with($selector, '.') or starts-with($selector, '#'),
723
+ $selector,
724
+ str-insert($selector, '.', 1)
725
+ );
726
+
727
+ #{$selector} {
728
+ @include clay-css($value);
729
+ }
730
+ }
731
+
712
732
  // Contextual Colors
713
733
 
714
734
  .text-white {
@@ -296,6 +296,8 @@
296
296
 
297
297
  'expand': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M64 128v-25.4l88 88c25.5 25.5 64.5-12.8 38.6-38.6l-88-88H128c42.6 0 42.6-64 0-64H32C16.4 0 0 14.4 0 32v96c0 42.7 64 42.6 64 0zm384 0v-25.4l-88 88c-25.5 25.5-64.5-12.8-38.6-38.6l88-88H384c-42.6 0-42.6-64 0-64h96c15.6 0 32 14.4 32 32v96c0 42.7-64 42.6-64 0zM64 384v25.4l88-88c25.5-25.5 64.5 12.8 38.6 38.6l-88 88H128c42.6 0 42.6 64 0 64H32c-15.6 0-32-14.4-32-32v-96c0-42.7 64-42.6 64 0zm384 0v25.4l-88-88c-25.5-25.5-64.5 12.8-38.6 38.6l88 88H384c-42.6 0-42.6 64 0 64h96c15.6 0 32-14.4 32-32v-96c0-42.7-64-42.6-64 0z" fill="#{$color}"/></svg>',
298
298
 
299
+ 'export': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline export-base" d="M448 256.3v191.8H64V256.3c0-41.6-64-41.6-64 0v191.8C0 483.2 28.8 512 64 512h384c35.2 0 64-28.8 64-63.9V256.3c0-44.8-64-41.6-64 0z" fill="#{$color}"/><path class="lexicon-icon-outline export-dash" d="M320 384.1H192c-41.6 0-41.6-63.9 0-63.9h128c41.6 0 44.8 63.9 0 63.9z" fill="#{$color}"/><path class="lexicon-icon-outline export-arrow-up" d="m233.6 10.1-64 63.9c-28.8 28.8 12.8 67.1 38.4 44.8l16-16v121.5c0 41.6 64 41.6 64 0V102.8l16 16c28.8 22.4 64-19.2 38.4-44.8l-64-63.9c-6.4-6.4-25.6-19.1-44.8 0z" fill="#{$color}"/></svg>',
300
+
299
301
  'fieldset': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-fieldset-bracket-start" d="M128 64c0-17.7-14.3-32-32-32H64C28.7 32 0 60.7 0 96v320c0 35.3 28.7 64 64 64h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V96h32c17.7 0 32-14.3 32-32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-fieldset-bracket-end" d="M512 416c0 35.3-28.7 64-64 64h-32c-17.7 0-32-14.3-32-32s14.3-32 32-32h32V96h-32c-17.7 0-32-14.3-32-32s14.3-32 32-32h32c35.3 0 64 28.7 64 64v320z" fill="#{$color}"/><path class="lexicon-icon-outline lx-fieldset-line-1-dot" d="M128 224c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-fieldset-line-1-line" d="M224 160h160c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-fieldset-line-2-dot" d="M384 288H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h160c17.7 0 32-14.3 32-32s-14.3-32-32-32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-fieldset-line-2-line" d="M128 352c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z" fill="#{$color}"/></svg>',
300
302
 
301
303
  'file-script': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline file-script-border" d="M320 64v64c0 17.7 14.3 32 32 32h64v288H96V64h224zm5.5-64H96C60.7 0 32 28.7 32 64v384c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V154.5c0-33.5-18-44.5-63.5-90S360 0 325.5 0z" fill="#{$color}"/><path class="lexicon-icon-outline file-script-forward-slash" d="m212.2 409.2 69.1-187.5c7.7-20.7 37.7-7.7 30.1 10.9l-69.1 187.5C234 440 205 428 212.2 409.2z" fill="#{$color}"/><path class="lexicon-icon-outline file-script-angle-bracket-open" d="m160 320 35.9-35.9-22.6-22.6-35.9 35.9c-12.5 12.5-12.5 32.8 0 45.3l35.9 35.9 22.6-22.6-35.9-36z" fill="#{$color}"/><path class="lexicon-icon-outline file-script-angle-bracket-close" d="M355.9 320 320 284.1l22.6-22.6 35.9 35.9c12.5 12.5 12.5 32.8 0 45.3l-35.9 35.9-22.6-22.7 35.9-35.9z" fill="#{$color}"/></svg>',
@@ -844,6 +844,10 @@
844
844
 
845
845
  .inline-item {
846
846
  @include clay-css($inline-item);
847
+
848
+ .lexicon-icon {
849
+ @include clay-css(map-get($inline-item, lexicon-icon));
850
+ }
847
851
  }
848
852
 
849
853
  .inline-item-before {
@@ -176,6 +176,35 @@
176
176
  }
177
177
  }
178
178
 
179
+ /// A mixin that generates media-breakpoint-{up|down} styles from a Sass map.
180
+ /// @param {Map} $map - A map of `key: value` pairs that is passed to the `clay-css` mixin
181
+
182
+ @mixin clay-generate-media-breakpoints($map) {
183
+ @if (map-get($map, media-breakpoint-up)) {
184
+ $media-breakpoint-up: map-get($map, media-breakpoint-up);
185
+
186
+ @each $breakpoint in map-keys($media-breakpoint-up) {
187
+ $breakpoint-up: map-get($map, $breakpoint);
188
+
189
+ @include media-breakpoint-up($breakpoint) {
190
+ @include clay-css($breakpoint-up);
191
+ }
192
+ }
193
+ }
194
+
195
+ @if (map-get($map, media-breakpoint-down)) {
196
+ $media-breakpoint-down: map-get($map, media-breakpoint-down);
197
+
198
+ @each $breakpoint in map-keys($map) {
199
+ $breakpoint-down: map-get($map, $breakpoint);
200
+
201
+ @include media-breakpoint-down($breakpoint) {
202
+ @include clay-css($breakpoint-down);
203
+ }
204
+ }
205
+ }
206
+ }
207
+
179
208
  /// A Bootstrap 4 mixin that generates the correct number of grid classes given any value of `$grid-columns`. This mixin is deprecated. This has been inlined into `components/_grid.scss`.
180
209
  /// @deprecated
181
210
  /// @param {Number} $columns[$grid-columns]
@@ -0,0 +1,26 @@
1
+ $aspect-ratio-sizes: () !default;
2
+ $aspect-ratio-sizes: map-deep-merge(
3
+ (
4
+ aspect-ratio-3-to-2: (
5
+ height: 2,
6
+ width: 3,
7
+ ),
8
+ aspect-ratio-4-to-3: (
9
+ height: 3,
10
+ width: 4,
11
+ ),
12
+ aspect-ratio-8-to-3: (
13
+ height: 3,
14
+ width: 8,
15
+ ),
16
+ aspect-ratio-8-to-5: (
17
+ height: 5,
18
+ width: 8,
19
+ ),
20
+ aspect-ratio-16-to-9: (
21
+ height: 9,
22
+ width: 16,
23
+ ),
24
+ ),
25
+ $aspect-ratio-sizes
26
+ );
@@ -92,6 +92,9 @@ $btn: map-deep-merge(
92
92
  ),
93
93
  inline-item: (
94
94
  font-size: $btn-inline-item-font-size,
95
+ lexicon-icon: (
96
+ margin-top: 0,
97
+ ),
95
98
  ),
96
99
  btn-section: (
97
100
  display: block,
@@ -226,6 +229,9 @@ $btn-monospaced: map-deep-merge(
226
229
  height: $btn-monospaced-size-mobile,
227
230
  width: $btn-monospaced-size-mobile,
228
231
  ),
232
+ lexicon-icon: (
233
+ margin-top: 0,
234
+ ),
229
235
  c-inner: (
230
236
  align-items: center,
231
237
  display: flex,