@ulu/frontend 0.1.0-beta.4 → 0.1.0-beta.6

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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # Change Log
2
2
 
3
- ## Version 0.1.0-beta.3
3
+ ## Version 0.1.0-beta.6
4
+
5
+ - Add "title-font-family" to scss/components/modal
6
+
7
+ ## Version 0.1.0-beta.5
8
+
9
+ - scss/components/nav-strip - Adjust rule style so the rule is not a border on parent (so child can overlap if desired), Adjust all colors to run through color.get(), Convert to gap instead of margins
10
+
11
+ ## Version 0.1.0-beta.3 - 0.1.0-beta.4
4
12
 
5
13
  - scss/components/tabs - Add breakpoint to vertical tabs (to go to horizontal)
6
14
 
@@ -4638,46 +4638,46 @@
4638
4638
  </tfoot>
4639
4639
  </table>
4640
4640
  <h2 class="h2">Complex Table</h2>
4641
- <table class="data-table" id="dt-3">
4641
+ <table class="data-table" id="dt-62">
4642
4642
  <caption>
4643
4643
  This Is The Table's Caption
4644
4644
  </caption>
4645
4645
  <thead>
4646
4646
  <tr>
4647
- <th id="dt-3-type" rowspan="2">Type</th>
4648
- <th id="dt-3-group" colspan="2">Group</th>
4649
- <th id="dt-3-details" colspan="2">Details</th>
4650
- <th id="dt-3-id" rowspan="2">Id</th>
4647
+ <th id="dt-62-type" rowspan="2">Type</th>
4648
+ <th id="dt-62-group" colspan="2">Group</th>
4649
+ <th id="dt-62-details" colspan="2">Details</th>
4650
+ <th id="dt-62-id" rowspan="2">Id</th>
4651
4651
  </tr>
4652
4652
  <tr>
4653
- <th headers="dt-3-group" id="dt-3-primary">Primary</th>
4654
- <th headers="dt-3-group" id="dt-3-secondary">Secondary</th>
4655
- <th headers="dt-3-details" id="dt-3-before">Before Task</th>
4656
- <th headers="dt-3-details" id="dt-3-after">After Task</th>
4653
+ <th headers="dt-62-group" id="dt-62-primary">Primary</th>
4654
+ <th headers="dt-62-group" id="dt-62-secondary">Secondary</th>
4655
+ <th headers="dt-62-details" id="dt-62-before">Before Task</th>
4656
+ <th headers="dt-62-details" id="dt-62-after">After Task</th>
4657
4657
  </tr>
4658
4658
  </thead>
4659
4659
  <tbody>
4660
4660
  <tr>
4661
- <th rowspan="3" headers="dt-3-type dt-3-r1" id="dt-3-r1">Default</th>
4662
- <td headers="dt-3-group dt-3-primary dt-3-r1">Lorem Ipsum</td>
4663
- <td headers="dt-3-group dt-3-secondary dt-3-r1">Lorem Ipsum</td>
4664
- <td headers="dt-3-details dt-3-before dt-3-r1">Lorem Ipsum</td>
4665
- <td headers="dt-3-details dt-3-after dt-3-r1">Lorem Ipsum</td>
4666
- <td headers="dt-3-id">OL-53-GHSLE</td>
4661
+ <th rowspan="3" headers="dt-62-type dt-62-r1" id="dt-62-r1">Default</th>
4662
+ <td headers="dt-62-group dt-62-primary dt-62-r1">Lorem Ipsum</td>
4663
+ <td headers="dt-62-group dt-62-secondary dt-62-r1">Lorem Ipsum</td>
4664
+ <td headers="dt-62-details dt-62-before dt-62-r1">Lorem Ipsum</td>
4665
+ <td headers="dt-62-details dt-62-after dt-62-r1">Lorem Ipsum</td>
4666
+ <td headers="dt-62-id">OL-53-GHSLE</td>
4667
4667
  </tr>
4668
4668
  <tr>
4669
- <td headers="dt-3-group dt-3-primary dt-3-r1">Lorem Ipsum</td>
4670
- <td headers="dt-3-group dt-3-secondary dt-3-r1">Lorem Ipsum</td>
4671
- <td headers="dt-3-details dt-3-before dt-3-r1">Lorem Ipsum</td>
4672
- <td headers="dt-3-details dt-3-after dt-3-r1">Lorem Ipsum</td>
4673
- <td headers="dt-3-id">OL-53-GHSLE</td>
4669
+ <td headers="dt-62-group dt-62-primary dt-62-r1">Lorem Ipsum</td>
4670
+ <td headers="dt-62-group dt-62-secondary dt-62-r1">Lorem Ipsum</td>
4671
+ <td headers="dt-62-details dt-62-before dt-62-r1">Lorem Ipsum</td>
4672
+ <td headers="dt-62-details dt-62-after dt-62-r1">Lorem Ipsum</td>
4673
+ <td headers="dt-62-id">OL-53-GHSLE</td>
4674
4674
  </tr>
4675
4675
  <tr>
4676
- <td headers="dt-3-group dt-3-primary dt-3-r1">Lorem Ipsum</td>
4677
- <td headers="dt-3-group dt-3-secondary dt-3-r1">Lorem Ipsum</td>
4678
- <td headers="dt-3-details dt-3-before dt-3-r1">Lorem Ipsum</td>
4679
- <td headers="dt-3-details dt-3-after dt-3-r1">Lorem Ipsum</td>
4680
- <td headers="dt-3-id">OL-53-GHSLE</td>
4676
+ <td headers="dt-62-group dt-62-primary dt-62-r1">Lorem Ipsum</td>
4677
+ <td headers="dt-62-group dt-62-secondary dt-62-r1">Lorem Ipsum</td>
4678
+ <td headers="dt-62-details dt-62-before dt-62-r1">Lorem Ipsum</td>
4679
+ <td headers="dt-62-details dt-62-after dt-62-r1">Lorem Ipsum</td>
4680
+ <td headers="dt-62-id">OL-53-GHSLE</td>
4681
4681
  </tr>
4682
4682
  </tbody>
4683
4683
  </table>
@@ -4601,27 +4601,19 @@
4601
4601
  <div class="nav-strip">
4602
4602
  <ul class="nav-strip__list">
4603
4603
  <li class="nav-strip__item">
4604
- <a href="#" class="
4605
- nav-strip__link
4606
- ">
4604
+ <a href="#" class="nav-strip__link ">
4607
4605
  Link Number 1
4608
4606
  </a>
4609
4607
  </li><li class="nav-strip__item">
4610
- <a href="#" class="
4611
- nav-strip__link
4612
- is-active">
4608
+ <a href="#" class="nav-strip__link is-active">
4613
4609
  Link Number 2
4614
4610
  </a>
4615
4611
  </li><li class="nav-strip__item">
4616
- <a href="#" class="
4617
- nav-strip__link
4618
- ">
4612
+ <a href="#" class="nav-strip__link ">
4619
4613
  Link Number 3
4620
4614
  </a>
4621
4615
  </li><li class="nav-strip__item">
4622
- <a href="#" class="
4623
- nav-strip__link
4624
- ">
4616
+ <a href="#" class="nav-strip__link ">
4625
4617
  Link Number 4
4626
4618
  </a>
4627
4619
  </li>
@@ -4631,23 +4623,19 @@
4631
4623
  <div class="nav-strip nav-strip--auto">
4632
4624
  <ul>
4633
4625
  <li>
4634
- <a href="#" class="
4635
- ">
4626
+ <a href="#" class="">
4636
4627
  Link Number 1
4637
4628
  </a>
4638
4629
  </li><li>
4639
- <a href="#" class="
4640
- is-active">
4630
+ <a href="#" class="is-active">
4641
4631
  Link Number 2
4642
4632
  </a>
4643
4633
  </li><li>
4644
- <a href="#" class="
4645
- ">
4634
+ <a href="#" class="">
4646
4635
  Link Number 3
4647
4636
  </a>
4648
4637
  </li><li>
4649
- <a href="#" class="
4650
- ">
4638
+ <a href="#" class="">
4651
4639
  Link Number 4
4652
4640
  </a>
4653
4641
  </li>
@@ -4657,27 +4645,19 @@
4657
4645
  <div class="nav-strip nav-strip--center">
4658
4646
  <ul class="nav-strip__list">
4659
4647
  <li class="nav-strip__item">
4660
- <a href="#" class="
4661
- nav-strip__link
4662
- ">
4648
+ <a href="#" class="nav-strip__link ">
4663
4649
  Link Number 1
4664
4650
  </a>
4665
4651
  </li><li class="nav-strip__item">
4666
- <a href="#" class="
4667
- nav-strip__link
4668
- is-active">
4652
+ <a href="#" class="nav-strip__link is-active">
4669
4653
  Link Number 2
4670
4654
  </a>
4671
4655
  </li><li class="nav-strip__item">
4672
- <a href="#" class="
4673
- nav-strip__link
4674
- ">
4656
+ <a href="#" class="nav-strip__link ">
4675
4657
  Link Number 3
4676
4658
  </a>
4677
4659
  </li><li class="nav-strip__item">
4678
- <a href="#" class="
4679
- nav-strip__link
4680
- ">
4660
+ <a href="#" class="nav-strip__link ">
4681
4661
  Link Number 4
4682
4662
  </a>
4683
4663
  </li>
@@ -4687,27 +4667,19 @@
4687
4667
  <div class="nav-strip nav-strip--right">
4688
4668
  <ul class="nav-strip__list">
4689
4669
  <li class="nav-strip__item">
4690
- <a href="#" class="
4691
- nav-strip__link
4692
- ">
4670
+ <a href="#" class="nav-strip__link ">
4693
4671
  Link Number 1
4694
4672
  </a>
4695
4673
  </li><li class="nav-strip__item">
4696
- <a href="#" class="
4697
- nav-strip__link
4698
- is-active">
4674
+ <a href="#" class="nav-strip__link is-active">
4699
4675
  Link Number 2
4700
4676
  </a>
4701
4677
  </li><li class="nav-strip__item">
4702
- <a href="#" class="
4703
- nav-strip__link
4704
- ">
4678
+ <a href="#" class="nav-strip__link ">
4705
4679
  Link Number 3
4706
4680
  </a>
4707
4681
  </li><li class="nav-strip__item">
4708
- <a href="#" class="
4709
- nav-strip__link
4710
- ">
4682
+ <a href="#" class="nav-strip__link ">
4711
4683
  Link Number 4
4712
4684
  </a>
4713
4685
  </li>
@@ -4717,27 +4689,19 @@
4717
4689
  <div class="nav-strip nav-strip--rule">
4718
4690
  <ul class="nav-strip__list">
4719
4691
  <li class="nav-strip__item">
4720
- <a href="#" class="
4721
- nav-strip__link
4722
- ">
4692
+ <a href="#" class="nav-strip__link ">
4723
4693
  Link Number 1
4724
4694
  </a>
4725
4695
  </li><li class="nav-strip__item">
4726
- <a href="#" class="
4727
- nav-strip__link
4728
- is-active">
4696
+ <a href="#" class="nav-strip__link is-active">
4729
4697
  Link Number 2
4730
4698
  </a>
4731
4699
  </li><li class="nav-strip__item">
4732
- <a href="#" class="
4733
- nav-strip__link
4734
- ">
4700
+ <a href="#" class="nav-strip__link ">
4735
4701
  Link Number 3
4736
4702
  </a>
4737
4703
  </li><li class="nav-strip__item">
4738
- <a href="#" class="
4739
- nav-strip__link
4740
- ">
4704
+ <a href="#" class="nav-strip__link ">
4741
4705
  Link Number 4
4742
4706
  </a>
4743
4707
  </li>
@@ -4650,11 +4650,11 @@ current page or section, is visually emphasized with an underline.</p>
4650
4650
  <span class="pjs-token pjs-string">"padding-y"</span> <span class="pjs-token pjs-punctuation">:</span> 0.3em<span class="pjs-token pjs-punctuation">,</span>
4651
4651
  <span class="pjs-token pjs-string">"padding-y-ruled"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-null pjs-keyword">null</span><span class="pjs-token pjs-punctuation">,</span>
4652
4652
  <span class="pjs-token pjs-string">"nowrap"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-boolean">true</span><span class="pjs-token pjs-punctuation">,</span>
4653
- <span class="pjs-token pjs-string">"rule-color"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"rule"</span><span class="pjs-token pjs-punctuation">,</span>
4654
- <span class="pjs-token pjs-string">"rule-offset"</span> <span class="pjs-token pjs-punctuation">:</span> -3px<span class="pjs-token pjs-punctuation">,</span>
4653
+ <span class="pjs-token pjs-string">"rule-color"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"rule-light"</span><span class="pjs-token pjs-punctuation">,</span>
4654
+ <span class="pjs-token pjs-string">"rule-offset"</span> <span class="pjs-token pjs-punctuation">:</span> 0<span class="pjs-token pjs-punctuation">,</span>
4655
4655
  <span class="pjs-token pjs-string">"rule-size"</span> <span class="pjs-token pjs-punctuation">:</span> 3px<span class="pjs-token pjs-punctuation">,</span>
4656
- <span class="pjs-token pjs-string">"underline-color"</span> <span class="pjs-token pjs-punctuation">:</span> orange<span class="pjs-token pjs-punctuation">,</span>
4657
- <span class="pjs-token pjs-string">"underline-color-hover"</span> <span class="pjs-token pjs-punctuation">:</span> gray<span class="pjs-token pjs-punctuation">,</span>
4656
+ <span class="pjs-token pjs-string">"underline-color"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"selected"</span><span class="pjs-token pjs-punctuation">,</span>
4657
+ <span class="pjs-token pjs-string">"underline-color-hover"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"rule"</span><span class="pjs-token pjs-punctuation">,</span>
4658
4658
  <span class="pjs-token pjs-string">"underline-size"</span> <span class="pjs-token pjs-punctuation">:</span> 3px<span class="pjs-token pjs-punctuation">,</span>
4659
4659
  <span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span></code></pre>
4660
4660
  <details>
@@ -4831,7 +4831,7 @@ current page or section, is visually emphasized with an underline.</p>
4831
4831
  <li><strong>Group:</strong> nav-strip</li>
4832
4832
  <li><strong>Type:</strong> mixin</li>
4833
4833
  <li><strong>Lines (comments):</strong> 72-74</li>
4834
- <li><strong>Lines (code):</strong> 76-148</li>
4834
+ <li><strong>Lines (code):</strong> 76-153</li>
4835
4835
  </ul>
4836
4836
  </details>
4837
4837
  <h4 id="examples-1" tabindex="-1">Examples</h4>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend",
3
- "version": "0.1.0-beta.4",
3
+ "version": "0.1.0-beta.6",
4
4
  "description": "Modular Sass Theming Library",
5
5
  "browser": "js/index.js",
6
6
  "main": "index.js",
package/scss/_color.scss CHANGED
@@ -23,6 +23,7 @@ $palette: (
23
23
  "type-tertiary" : rgb(157, 157, 157),
24
24
  "headline" : inherit,
25
25
  "background" : white,
26
+ "background-gray" : #F7F8F7,
26
27
  "focus" : blue,
27
28
  "error" : red,
28
29
  "warning" : orange,
@@ -13,8 +13,8 @@
13
13
 
14
14
  /// Module Settings
15
15
  /// @type Map
16
- /// @prop {Color} background-color [white] This is the background color of the accordion before it is expanded.
17
- /// @prop {Color} background-color-open [#F7F8F7] This is the background color of the accordion before it is expanded. This will change the background color of the accordion's summary as well as the details.
16
+ /// @prop {Color} background-color [accordion-background] This is the background color of the accordion before it is expanded.
17
+ /// @prop {Color} background-color-open [accordion-background-open] This is the background color of the accordion before it is expanded. This will change the background color of the accordion's summary as well as the details.
18
18
  /// @prop {String} border-color ["rule"]
19
19
  /// @prop {Number} border-radius [0] This applies a rounding of edges for the accordion. If there are multiple accordions in a stack, this will only apply to the top of the first accordion and the bottom of the last accordion.
20
20
  /// @prop {Dimension} border-width [1px] The width of the borders of the accordions
@@ -41,8 +41,8 @@
41
41
  /// @prop {Dimension} transparent-padding-x [0] The upper and lower padding of the transparent summary.
42
42
 
43
43
  $config: (
44
- "background-color": white,
45
- "background-color-open": #F7F8F7,
44
+ "background-color": "background",
45
+ "background-color-open": "background-gray",
46
46
  "border-color": "rule",
47
47
  "border-radius": 0,
48
48
  "border-width": 1px,
@@ -59,7 +59,7 @@ $config: (
59
59
  "icon-font-size": 1.5rem,
60
60
  "icon-size": auto,
61
61
  "icon-stroke-width": 0.15em,
62
- "summary-background-color": white,
62
+ "summary-background-color": "white",
63
63
  "summary-color": null,
64
64
  "summary-background-color-hover": null,
65
65
  "summary-color-hover": null,
@@ -107,7 +107,7 @@ $config: (
107
107
  margin-top: get("margin");
108
108
  margin-bottom: get("margin");
109
109
  border: $border;
110
- background-color: get("background-color");
110
+ background-color: color.get(get("background-color"));
111
111
  box-shadow: get("box-shadow");
112
112
  &:first-of-type {
113
113
  border-top-left-radius: get("border-radius");
@@ -124,7 +124,7 @@ $config: (
124
124
  }
125
125
  &[open],
126
126
  &.is-active {
127
- background-color: get("background-color-open");
127
+ background-color: color.get(get("background-color-open"));
128
128
  padding-bottom: get("padding-y");
129
129
  z-index: 2; // Above child details
130
130
  > #{ $prefix }__summary {
@@ -136,8 +136,8 @@ $config: (
136
136
  }
137
137
  }
138
138
  #{ $prefix }__summary {
139
- background-color: get("summary-background-color");
140
- color: get("summary-color");
139
+ background-color: color.get(get("summary-background-color"));
140
+ color: color.get(get("summary-color"));
141
141
  margin-left: -(get("padding-x"));
142
142
  margin-right: -(get("padding-x"));
143
143
  line-height: get("summary-line-height");
@@ -161,10 +161,10 @@ $config: (
161
161
  @include typography.size(get("summary-type-size"));
162
162
  }
163
163
  &:hover {
164
- background-color: get("summary-background-color-hover");
165
- color: get("summary-color-hover");
164
+ background-color: color.get(get("summary-background-color-hover"));
165
+ color: color.get(get("summary-color-hover"));
166
166
  #{ $prefix }__icon {
167
- background-color: get("icon-background-color-hover");
167
+ background-color: color.get(get("icon-background-color-hover"));
168
168
  color: color.get(get("icon-color-hover"));
169
169
  }
170
170
  }
@@ -174,7 +174,7 @@ $config: (
174
174
  color: color.get(get("icon-color"));
175
175
  margin-left: 0.5em;
176
176
  order: 3;
177
- background-color: get("icon-background-color");
177
+ background-color: color.get(get("icon-background-color"));
178
178
  border-radius: get("icon-border-radius");
179
179
  width: get("icon-size");
180
180
  height: get("icon-size");
@@ -6,6 +6,7 @@
6
6
  @use "sass:map";
7
7
  @use "../utils";
8
8
  @use "../selector";
9
+ @use "../color";
9
10
 
10
11
  /// Module Settings
11
12
  /// @type Map
@@ -94,8 +95,8 @@ $config: (
94
95
  &:hover,
95
96
  &:focus,
96
97
  &:visited {
97
- background-color: get("background-color");
98
- color: get("color");
98
+ background-color: color.get(get("background-color"));
99
+ color: color.get(get("color"));
99
100
  }
100
101
  }
101
102
  #{ $prefix }--clickable {
@@ -102,7 +102,7 @@ $config: (
102
102
  margin-bottom: get("margin");
103
103
  max-width: 100%;
104
104
  width: get("min-width");
105
- background-color: get("background-color");
105
+ background-color: color.get(get("background-color"));
106
106
  padding: get("padding-y") get("padding-x");
107
107
  padding-right: (get("padding-x") * 2) + 1em;
108
108
  color: color.get(get("color"));
@@ -126,7 +126,7 @@ $config: (
126
126
  right: get("padding-x");
127
127
  transform: translateY(-50%);
128
128
  font-size: get("icon-font-size");
129
- color: get("icon-color");
129
+ color: color.get(get("icon-color"));
130
130
  }
131
131
  .button-verbose--inline {
132
132
  display: inline-block;
@@ -10,6 +10,7 @@
10
10
  @use "../utils";
11
11
  @use "../selector";
12
12
  @use "../element";
13
+ @use "../color";
13
14
 
14
15
  // Used for function fallback
15
16
  $-fallbacks: (
@@ -133,7 +134,7 @@ $styles: (
133
134
  top: 0;
134
135
  bottom: 0;
135
136
  width: $width;
136
- background-color: $color;
137
+ background-color: color.get($color);
137
138
  }
138
139
  }
139
140
 
@@ -145,7 +146,7 @@ $styles: (
145
146
  $prefix: selector.class("callout");
146
147
 
147
148
  #{ $prefix } {
148
- background-color: get("background-color");
149
+ background-color: color.get(get("background-color"));
149
150
  padding: get("padding");
150
151
  border: get("border");
151
152
  margin-bottom: get("margin");
@@ -160,11 +161,11 @@ $styles: (
160
161
  }
161
162
  @each $name, $style in $styles {
162
163
  #{ $prefix }--#{ $name } {
163
- background-color: map.get($style, "background-color");
164
- color: map.get($style, "color");
164
+ background-color: color.get(map.get($style, "background-color"));
165
+ color: color.get(map.get($style, "color"));
165
166
  border: map.get($style, "border");
166
167
  border-radius: map.get($style, "border-radius");
167
- border-color: map.get($style, "border-color");
168
+ border-color: color.get(map.get($style, "border-color"));
168
169
  box-shadow: map.get($style, "box-shadow");
169
170
  padding: map.get($style, "padding");
170
171
  @if map.get($style, "left-cap") {
@@ -10,6 +10,7 @@
10
10
  @use "../utils";
11
11
  @use "../element";
12
12
  @use "../typography";
13
+ @use "../color";
13
14
 
14
15
  // Used for function fallback
15
16
  $-fallbacks: (
@@ -82,7 +83,7 @@ $config: (
82
83
  display: block;
83
84
  position: relative;
84
85
  margin-bottom: get("margin-bottom");
85
- background-color: get("background-color");
86
+ background-color: color.get(get("background-color"));
86
87
  > img {
87
88
  width: 100%;
88
89
  height: auto;
@@ -101,20 +102,20 @@ $config: (
101
102
  }
102
103
  #{ $prefix }__caption {
103
104
  position: absolute;
104
- color: get("color");
105
+ color: color.get(get("color"));
105
106
  @include typography.size(get("type-size"), $only-font-size: true);
106
107
  line-height: get("line-height");
107
108
  max-width: get("caption-max-width");
108
- background-color: get("caption-background-color");
109
+ background-color: color.get(get("caption-background-color"));
109
110
  padding: get("caption-padding");
110
111
  backdrop-filter: get("caption-backdrop-filter");
111
112
  }
112
113
  #{ $prefix }--traditional {
113
114
  #{ $prefix }__caption {
114
115
  position: static;
115
- color: get("traditional-caption-color");
116
+ color: color.get(get("traditional-caption-color"));
116
117
  max-width: get("traditional-caption-max-width");
117
- background-color: get("traditional-caption-background-color");
118
+ background-color: color.get(get("traditional-caption-background-color"));
118
119
  padding: get("traditional-caption-padding");
119
120
  text-align: get("traditional-caption-text-align");
120
121
  @if (get("traditional-caption-text-align") == right) {
@@ -9,6 +9,7 @@
9
9
  @use "../breakpoint";
10
10
  @use "../utils";
11
11
  @use "../selector";
12
+ @use "../color";
12
13
 
13
14
  // todo
14
15
  // sass color adjust for smooth transition. Add a comment for this if we can’t get to this
@@ -167,8 +168,8 @@ $config: (
167
168
  $prefix: selector.class("card");
168
169
 
169
170
  #{ $prefix } {
170
- color: get("color");
171
- background-color: get("background-color");
171
+ color: color.get(get("color"));
172
+ background-color: color.get(get("background-color"));
172
173
  border-radius: get("border-radius");
173
174
  box-shadow: get("box-shadow");
174
175
  margin-top: get("margin-y");
@@ -197,15 +198,15 @@ $config: (
197
198
  }
198
199
 
199
200
  @include when-clickable($hover: true) {
200
- background-color: get("background-color-hover");
201
- color: get("color-hover");
201
+ background-color: color.get(get("background-color-hover"));
202
+ color: color.get(get("color-hover"));
202
203
  box-shadow: get("box-shadow-hover");
203
204
 
204
205
  @if (get("border-hover") or get("overlay-background-color-hover")) {
205
206
  &:after {
206
207
  content: "";
207
208
  border: get("border-hover");
208
- background-color: get("overlay-background-color-hover");
209
+ background-color: color.get(get("overlay-background-color-hover"));
209
210
  }
210
211
  }
211
212
  }
@@ -222,14 +223,14 @@ $config: (
222
223
  }
223
224
 
224
225
  #{ $prefix }__title {
225
- color: get("title-color");
226
+ color: color.get(get("title-color"));
226
227
  margin-bottom: get("title-margin");
227
228
  display: block;
228
229
  font-weight: get("title-font-weight");
229
230
  @if get("title-color-hover") {
230
231
  &:hover,
231
232
  &:focus {
232
- color: get("title-color-hover");
233
+ color: color.get(get("title-color-hover"));
233
234
  }
234
235
  }
235
236
  #{ $prefix }__title-link {
@@ -239,7 +240,7 @@ $config: (
239
240
  @if get("title-color-hover") {
240
241
  @include when-clickable($hover: true) {
241
242
  #{ $prefix }__title {
242
- color: get("title-color-hover");
243
+ color: color.get(get("title-color-hover"));
243
244
  }
244
245
  }
245
246
  }
@@ -257,7 +258,7 @@ $config: (
257
258
  // padding-top: get("image-ratio"); // 9:16
258
259
  margin: get("image-margin");
259
260
  border: get("image-border");
260
- background-color: get("image-background-color");
261
+ background-color: color.get(get("image-background-color"));
261
262
  border-top-right-radius: get("border-radius");
262
263
  border-top-left-radius: get("border-radius");
263
264
  aspect-ratio: get("image-aspect-ratio");
@@ -340,8 +341,8 @@ $config: (
340
341
  position: relative;
341
342
  flex-grow: 0;
342
343
  z-index: 2;
343
- color: get("color-overlay");
344
- background-color: get("overlay-background-color");
344
+ color: color.get(get("color-overlay"));
345
+ background-color: color.get(get("overlay-background-color"));
345
346
  min-height: 0;
346
347
  padding-top: get("overlay-body-padding-y");
347
348
  padding-bottom: get("overlay-body-padding-y");
@@ -359,11 +360,11 @@ $config: (
359
360
  }
360
361
  }
361
362
  #{ $prefix }__footer {
362
- background-color: get("overlay-background-color");
363
- color: get("color-overlay");
363
+ background-color: color.get(get("overlay-background-color"));
364
+ color: color.get(get("color-overlay"));
364
365
  }
365
366
  #{ $prefix }__title {
366
- color: get("color-overlay");
367
+ color: color.get(get("color-overlay"));
367
368
  }
368
369
  #{ $prefix }__image {
369
370
  position: absolute;
@@ -373,7 +374,7 @@ $config: (
373
374
  right: 0;
374
375
  overflow: hidden;
375
376
  padding-top: 0;
376
- background-color: rgb(255, 255, 255);
377
+ background-color: color.get(rgb(255, 255, 255));
377
378
  border-radius: get("border-radius");
378
379
  aspect-ratio: auto;
379
380
  img {