Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
fe5df01
fix: remove tokens.create inner
thorbrink Mar 31, 2026
46ae423
refactor: remove extras from tokens create
thorbrink Mar 31, 2026
7e282df
refactor: remove tokens.create extras from box
thorbrink Mar 31, 2026
1ee1891
refactor: remove tokens.create extras from button
thorbrink Mar 31, 2026
072a2d4
refactor: remove tokens.create extras from card
thorbrink Mar 31, 2026
7618f40
refactor: remove tokens.create extras from collection
thorbrink Mar 31, 2026
67dde6f
refactor: remove tokens.create extras from drawer
thorbrink Mar 31, 2026
b086448
refactor: remove tokens.create extras from fab
thorbrink Mar 31, 2026
23324a7
refactor: remove tokens.create extras from field
thorbrink Mar 31, 2026
b65eb64
refactor: remove tokens.create extras from footer
thorbrink Mar 31, 2026
b83a332
refactor: remove tokens.create extras from gallery
thorbrink Mar 31, 2026
8223407
refactor: remove tokens.create extras from gallery--modal
thorbrink Mar 31, 2026
d368203
refactor: remove tokens.create extras from group
thorbrink Mar 31, 2026
f1ee58c
refactor: remove tokens.create extras from header
thorbrink Mar 31, 2026
86c789c
refactor: remove tokens.create extras from image
thorbrink Mar 31, 2026
da50de3
refactor: remove tokens.create extras from megamenu
thorbrink Mar 31, 2026
064fca1
refactor: remove tokens.create extras from modal
thorbrink Mar 31, 2026
82de3a5
refactor: remove tokens.create extras from nav
thorbrink Mar 31, 2026
91abb7d
refactor: remove tokens.create extras from newsitem
thorbrink Mar 31, 2026
0938786
refactor: remove tokens.create extras from option
thorbrink Mar 31, 2026
f95fdbd
refactor: remove tokens.create extras from sidebar
thorbrink Mar 31, 2026
f8af0b9
refactor: remove tokens.create extras from tooltip
thorbrink Mar 31, 2026
cda763b
refactor: remove tokens.create extras from typography
thorbrink Mar 31, 2026
726b7ca
refactor: remove tokens.create extras from preloader
thorbrink Mar 31, 2026
22a5523
refactor: remove tokens.create extras from brand
thorbrink Mar 31, 2026
9576b59
refactor: remove tokens.create extras from datebadge
thorbrink Mar 31, 2026
c3edc49
refactor: remove tokens.create extras from hero
thorbrink Mar 31, 2026
b52531b
refactor: remove tokens.create extras from icon
thorbrink Mar 31, 2026
28fc60f
refactor: remove tokens.create extras from iconsection
thorbrink Mar 31, 2026
e20d59f
refactor: remove tokens.create extras from notice
thorbrink Mar 31, 2026
8c416f0
refactor: remove tokens.create extras from paper
thorbrink Mar 31, 2026
65a007a
refactor: remove tokens.create extras from segment
thorbrink Mar 31, 2026
109abae
refactor: remove tokens.create extras from select
thorbrink Mar 31, 2026
9f94b7f
refactor: remove tokens.create extras from slider
thorbrink Mar 31, 2026
2bdf16f
refactor: remove tokens.create extras from table
thorbrink Mar 31, 2026
25206a5
refactor: remove tokens.create extras from fileinput
thorbrink Mar 31, 2026
a6051ea
refactor: remove tokens.create extras from code
thorbrink Mar 31, 2026
d3dc1e5
docs: update readme
thorbrink Mar 31, 2026
c488e85
Merge branch 'main-1.x' into refactor/simplify-tokens-create
thorbrink Mar 31, 2026
8958cb3
fix: add missing tokens
thorbrink Mar 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions .claude/skills/remove-tokens-extras/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
name: remove-tokens-extras
description: Remove the $extras parameter from tokens.create() in a component SCSS file, moving the extra tokens into the component selector as CSS custom properties. Usage: /remove-tokens-extras {ComponentPath}
argument-hint: <ComponentPath>
allowed-tools: Read, Edit, Bash
---

Remove the `$extras` (third argument) from a `tokens.create()` call in a component SCSS file, and move those extra tokens into the component selector as CSS custom properties.

## Arguments

Parse `$ARGUMENTS` as: `{ComponentPath}`

- `ComponentPath` — path to the component SCSS file relative to the repo root (e.g. `source/components/button/style.scss` or `source/components/card/style.scss`).

## Background: what you are fixing

The `tokens.create` mixin previously accepted a third `$extras` map argument — a Sass map of custom key-value token pairs that were emitted as CSS custom properties. This third argument has been removed from the mixin. All extra tokens must now be declared as CSS custom properties directly inside the component selector.

**Before:**
```scss
@include tokens.create($_, getComponentTokens($_), (
"border": tokens.use($_, "border-width", 1) solid tokens.get($_, "color--surface-border"),
"shadow": tokens.use($_, "shadow", 1),
));

.#{$_} {
border-top: tokens.get($_, "border");
filter: tokens.get($_, "shadow");
}
```

**After:**
```scss
@include tokens.create($_, getComponentTokens($_));

.#{$_} {
--#{$_}--border: tokens.use($_, "border-width", 1) solid tokens.get($_, "color--surface-border");
--#{$_}--shadow: tokens.use($_, "shadow", 1);
border-top: var(--#{$_}--border);
filter: var(--#{$_}--shadow);
}
```

Key rules:
- The extra tokens move to the **top** of the component selector block as `--#{$_}--key: value;`
- Any `tokens.get($_, "key")` call that referenced an extras key becomes `var(--#{$_}--key)`
- Global token references (`tokens.get($_, "color--surface")`) and `tokens.use(...)` calls that were NOT in extras remain unchanged

## Step 1 — Read the file

Read the full file at `{ComponentPath}`.

## Step 2 — Identify the extras map

Find the `tokens.create(...)` call and extract every key-value pair from the third argument (the Sass map). Note each key and its value expression exactly.

## Step 3 — Find usages of extras keys

Search the file for any `tokens.get($_, "{key}")` calls where `{key}` is one of the extras keys. These must be replaced with `var(--#{$_}--{key})`.

Note: only `tokens.get` references to extras keys are affected. `tokens.use` calls that happen to use the same name are not extras references — leave them untouched.

## Step 4 — Apply the changes

Make these edits using the Edit tool:

1. **Remove the extras map** from the `tokens.create(...)` call, leaving just:
```scss
@include tokens.create($_, getComponentTokens($_));
```

2. **Add CSS custom properties** at the top of the component selector block (`.#{$_} {`):
```scss
.#{$_} {
--#{$_}--key: value;
// ... rest of existing styles
```

3. **Replace each** `tokens.get($_, "{key}")` that referenced an extras key with `var(--#{$_}--{key})`.

## Step 5 — Verify

Run a quick grep to confirm no extras argument remains in `tokens.create` and no `tokens.get` references to the old extras keys remain:

```sh
grep -n 'tokens\.create' {ComponentPath}
grep -n 'tokens\.get' {ComponentPath}
```

## Step 6 — Report

Tell the user:
- Which extras keys were moved and their values
- Which `tokens.get` calls were replaced with `var(...)` references
- Confirmation that `tokens.create` now has no third argument
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,6 @@ card?.style.setProperty('--c-card--color--surface', '#1f2937');
- Every consumed token must be listed in the component token manifest.
- Companion tokens such as `-border` and `-alt` must be declared in global tokens and referenced explicitly.
- Shadow internals (`shadow-color`, `shadow-amount`) must be listed directly.
- **Extras/remapping support**:
- `tokens.create($prefix, $tokens, $extras, $inner)` supports computed extras and child-token remapping when needed.

### Architectural Limitations (important)

Expand Down
14 changes: 8 additions & 6 deletions source/components/acceptance/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

$_: "c-acceptance";

@include tokens.create($_, getComponentTokens($_), ("shadow": tokens.use($_, "shadow", 1),
"shadow-hover": tokens.use($_, "shadow", 1.5),
"map-image": url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjZThlYWVkIj48cGF0aCBkPSJtNjAwLTEyMC0yNDAtODQtMTg2IDcycS0yMCA4LTM3LTQuNVQxMjAtMTcwdi01NjBxMC0xMyA3LjUtMjN0MjAuNS0xNWwyMTItNzIgMjQwIDg0IDE4Ni03MnEyMC04IDM3IDQuNXQxNyAzMy41djU2MHEwIDEzLTcuNSAyM1Q4MTItMTkybC0yMTIgNzJabS00MC05OHYtNDY4bC0xNjAtNTZ2NDY4bDE2MCA1NlptODAgMCAxMjAtNDB2LTQ3NGwtMTIwIDQ2djQ2OFptLTQ0MC0xMCAxMjAtNDZ2LTQ2OGwtMTIwIDQwdjQ3NFptNDQwLTQ1OHY0NjgtNDY4Wm0tMzIwLTU2djQ2OC00NjhaIi8+PC9zdmc+")));
@include tokens.create($_, getComponentTokens($_));

.#{$_} {
--#{$_}--shadow: tokens.use($_, "shadow", 1);
--#{$_}--shadow-hover: tokens.use($_, "shadow", 1.5);
Comment on lines +8 to +9
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These new CSS custom properties assign Sass function calls (tokens.use) without interpolation. To ensure Sass evaluates the tokens.* calls rather than outputting them literally, interpolate the values when setting --c-acceptance--shadow and --c-acceptance--shadow-hover.

Suggested change
--#{$_}--shadow: tokens.use($_, "shadow", 1);
--#{$_}--shadow-hover: tokens.use($_, "shadow", 1.5);
--#{$_}--shadow: #{tokens.use($_, "shadow", 1)};
--#{$_}--shadow-hover: #{tokens.use($_, "shadow", 1.5)};

Copilot uses AI. Check for mistakes.
--#{$_}--map-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjZThlYWVkIj48cGF0aCBkPSJtNjAwLTEyMC0yNDAtODQtMTg2IDcycS0yMCA4LTM3LTQuNVQxMjAtMTcwdi01NjBxMC0xMyA3LjUtMjN0MjAuNS0xNWwyMTItNzIgMjQwIDg0IDE4Ni03MnEyMC04IDM3IDQuNXQxNyAzMy41djU2MHEwIDEzLTcuNSAyM1Q4MTItMTkybC0yMTIgNzJabS00MC05OHYtNDY4bC0xNjAtNTZ2NDY4bDE2MCA1NlptODAgMCAxMjAtNDB2LTQ3NGwtMTIwIDQ2djQ2OFptLTQ0MC0xMCAxMjAtNDZ2LTQ2OGwtMTIwIDQwdjQ3NFptNDQwLTQ1OHY0NjgtNDY4Wm0tMzIwLTU2djQ2OC00NjhaIi8+PC9zdmc+");

background-color: tokens.get($_, "color--surface");
background-position: center;
border-radius: tokens.use($_, "border-radius");
Expand Down Expand Up @@ -65,7 +67,7 @@ $_: "c-acceptance";
background-size: contain;
content: "";
inset: 0;
mask-image: tokens.get($_, "map-image");
mask-image: var(--#{$_}--map-image);
mask-position: center;
mask-repeat: no-repeat;
mask-size: contain;
Expand Down Expand Up @@ -105,7 +107,7 @@ $_: "c-acceptance";
.#{$_}__modal-icon-play {
color: tokens.get($_, "color--alpha-contrast");
cursor: pointer;
filter: tokens.get($_, "shadow");
filter: var(--#{$_}--shadow);
font-size: clamp(tokens.use($_, "base", 8), 10vw, tokens.use($_, "base", 10));
left: 50%;
position: absolute;
Expand All @@ -114,7 +116,7 @@ $_: "c-acceptance";
transition: filter 100ms linear;

&:hover {
filter: tokens.get($_, "shadow-hover");
filter: var(--#{$_}--shadow-hover);
color: tokens.get($_, "color--alpha-contrast-alt");
}

Expand Down
11 changes: 5 additions & 6 deletions source/components/accordion/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
$_: "c-accordion";

/* Design tokens */
@include tokens.create($_, getComponentTokens($_),
("border": tokens.use($_, "border-width", 1) solid tokens.get($_, "color--surface-border"),
));
@include tokens.create($_, getComponentTokens($_));

/* Component */
.#{$_} {
--#{$_}--border: tokens.use($_, "border-width", 1) solid tokens.get($_, "color--surface-border");
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new --c-accordion--border custom property value contains Sass function calls (tokens.use/tokens.get) but isn’t interpolated. Sass may treat custom property values as plain CSS and emit the tokens.* calls literally; interpolate the value so it compiles to a valid CSS expression.

Suggested change
--#{$_}--border: tokens.use($_, "border-width", 1) solid tokens.get($_, "color--surface-border");
--#{$_}--border: #{tokens.use($_, "border-width", 1)} solid #{tokens.get($_, "color--surface-border")};

Copilot uses AI. Check for mistakes.
border-radius: inherit;
corner-shape: inherit;
contain: paint;
Expand Down Expand Up @@ -54,7 +53,7 @@ $_: "c-accordion";
}

.#{$_}__section+.#{$_}__section {
border-top: tokens.get($_, "border");
border-top: var(--#{$_}--border);
}

.#{$_}__button-wrapper {
Expand Down Expand Up @@ -107,12 +106,12 @@ $_: "c-accordion";
border-radius: tokens.use($_, "border-radius");
corner-shape: tokens.get($_, "corner-shape");
filter: tokens.use($_, "shadow");
border: tokens.get($_, "border");
border: var(--#{$_}--border);
width: 100%;
}

.#{$_}__content {
border-top: tokens.get($_, "border");
border-top: var(--#{$_}--border);
}
}

Expand Down
49 changes: 24 additions & 25 deletions source/components/block/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,48 @@

$_: "c-block";

@include tokens.create($_, getComponentTokens($_),
("shadow": tokens.use($_, "shadow", 1),
"shadow-hover": tokens.use($_, "shadow", 2),
"radius": tokens.use($_, "border-radius", 1),
"color-text": tokens.get($_, "color--alpha-contrast"),
"color-background": tokens.get($_, "color--alpha"),
"color-overlay": rgb(from tokens.get($_, "color--alpha") r g b / 1),
"color-overlay-middle": rgba(from tokens.get($_, "color--alpha") r g b / .5),
"color-overlay-end": rgba(from tokens.get($_, "color--alpha") r g b / 0),
"color-secondary": tokens.get($_, "color--secondary"),
"color-hover-background": tokens.get($_, "color--alpha-border"),
"color-hover-overlay": tokens.get($_, "color--alpha-border"),
));
@include tokens.create($_, getComponentTokens($_));

.#{$_} {
--#{$_}--shadow: tokens.use($_, "shadow", 1);
--#{$_}--shadow-hover: tokens.use($_, "shadow", 2);
--#{$_}--radius: tokens.use($_, "border-radius", 1);
--#{$_}--color-text: tokens.get($_, "color--alpha-contrast");
--#{$_}--color-background: tokens.get($_, "color--alpha");
--#{$_}--color-overlay: rgb(from tokens.get($_, "color--alpha") r g b / 1);
--#{$_}--color-overlay-middle: rgba(from tokens.get($_, "color--alpha") r g b / .5);
--#{$_}--color-overlay-end: rgba(from tokens.get($_, "color--alpha") r g b / 0);
--#{$_}--color-secondary: tokens.get($_, "color--secondary");
--#{$_}--color-hover-background: tokens.get($_, "color--alpha-border");
--#{$_}--color-hover-overlay: tokens.get($_, "color--alpha-border");
Comment on lines +9 to +19
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The values assigned to these new component-scoped custom properties use Sass functions (tokens.use/tokens.get) but aren’t interpolated. In Sass, custom property values are treated as plain CSS, so these tokens.* calls can be emitted literally instead of being evaluated, which would break the generated CSS. Interpolate the function results (and any nested tokens.get calls inside rgb/rgba) when assigning to --c-block--* variables.

Suggested change
--#{$_}--shadow: tokens.use($_, "shadow", 1);
--#{$_}--shadow-hover: tokens.use($_, "shadow", 2);
--#{$_}--radius: tokens.use($_, "border-radius", 1);
--#{$_}--color-text: tokens.get($_, "color--alpha-contrast");
--#{$_}--color-background: tokens.get($_, "color--alpha");
--#{$_}--color-overlay: rgb(from tokens.get($_, "color--alpha") r g b / 1);
--#{$_}--color-overlay-middle: rgba(from tokens.get($_, "color--alpha") r g b / .5);
--#{$_}--color-overlay-end: rgba(from tokens.get($_, "color--alpha") r g b / 0);
--#{$_}--color-secondary: tokens.get($_, "color--secondary");
--#{$_}--color-hover-background: tokens.get($_, "color--alpha-border");
--#{$_}--color-hover-overlay: tokens.get($_, "color--alpha-border");
--#{$_}--shadow: #{tokens.use($_, "shadow", 1)};
--#{$_}--shadow-hover: #{tokens.use($_, "shadow", 2)};
--#{$_}--radius: #{tokens.use($_, "border-radius", 1)};
--#{$_}--color-text: #{tokens.get($_, "color--alpha-contrast")};
--#{$_}--color-background: #{tokens.get($_, "color--alpha")};
--#{$_}--color-overlay: rgb(from #{tokens.get($_, "color--alpha")} r g b / 1);
--#{$_}--color-overlay-middle: rgba(from #{tokens.get($_, "color--alpha")} r g b / .5);
--#{$_}--color-overlay-end: rgba(from #{tokens.get($_, "color--alpha")} r g b / 0);
--#{$_}--color-secondary: #{tokens.get($_, "color--secondary")};
--#{$_}--color-hover-background: #{tokens.get($_, "color--alpha-border")};
--#{$_}--color-hover-overlay: #{tokens.get($_, "color--alpha-border")};

Copilot uses AI. Check for mistakes.
position: relative;
border-radius: tokens.get($_, "radius");
border-radius: var(--#{$_}--radius);
corner-shape: tokens.get($_, "corner-shape");
filter: tokens.get($_, "shadow");
filter: var(--#{$_}--shadow);
display: flex;
justify-content: flex-end;
flex-direction: row;
background-position: center;
background-size: cover;
background-color: tokens.get($_, "color-background");
background-color: var(--#{$_}--color-background);
text-decoration: none;

.#{$_}__heading {
--inherit-font-size: tokens.get($_, "font-size-400");
}

.#{$_}__image {
border-radius: tokens.get($_, "radius");
border-radius: var(--#{$_}--radius);
corner-shape: tokens.get($_, "corner-shape");

.c-image__image {
border-radius: tokens.get($_, "radius");
border-radius: var(--#{$_}--radius);
corner-shape: tokens.get($_, "corner-shape");
}
}

.#{$_}__body {
background: linear-gradient(0deg, tokens.get($_, "color-overlay") 0%, tokens.get($_, "color-overlay-middle") 80%, tokens.get($_, "color-overlay-end") 100%);
background: linear-gradient(0deg, var(--#{$_}--color-overlay) 0%, var(--#{$_}--color-overlay-middle) 80%, var(--#{$_}--color-overlay-end) 100%);
border-radius: inherit;
corner-shape: inherit;
padding: tokens.use($_, "base", 8) tokens.use($_, "base", 3) tokens.use($_, "base", 3) tokens.use($_, "base", 3);
Expand Down Expand Up @@ -78,12 +77,12 @@ $_: "c-block";
.#{$_}__content,
.#{$_}__secondarymeta {
margin: 0;
color: tokens.get($_, "color-text");
color: var(--#{$_}--color-text);
display: block;
}

.#{$_}__body {
color: tokens.get($_, "color-text");
color: var(--#{$_}--color-text);
}

&.#{$_}--ratio-1-1 {
Expand Down Expand Up @@ -121,7 +120,7 @@ $_: "c-block";
&--svg-background {
background-size: clamp(tokens.use($_, "base", 3), 50%, tokens.use($_, "base", 8));
background-repeat: no-repeat;
background-color: tokens.get($_, "color-secondary");
background-color: var(--#{$_}--color-secondary);
}
}

Expand All @@ -134,14 +133,14 @@ a.#{$_} {
inset: 0;
content: "";
transition: opacity 200ms;
background: tokens.get($_, "color-hover-overlay");
background: var(--#{$_}--color-hover-overlay);
opacity: 0;
z-index: 1000;
}

&:hover {
filter: tokens.get($_, "shadow-hover");
background-color: tokens.get($_, "color-hover-background");
filter: var(--#{$_}--shadow-hover);
background-color: var(--#{$_}--color-hover-background);
color: inherit;
transform: translateY(calc(0px - tokens.use($_, "base", 0.25)));

Expand Down
11 changes: 5 additions & 6 deletions source/components/box/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@
$_: "c-box";

/* Design tokens */
@include tokens.create($_, getComponentTokens($_),
("shadow": tokens.use($_, "shadow", 1),
"shadow-hover": tokens.use($_, "shadow", 1.5),
));
@include tokens.create($_, getComponentTokens($_));

/* Component */
.#{$_} {
--#{$_}--shadow: #{tokens.use($_, "shadow", 1)};
--#{$_}--shadow-hover: #{tokens.use($_, "shadow", 1.5)};
contain: layout;
border-radius: tokens.use($_, "border-radius");
corner-shape: tokens.get($_, "corner-shape");
filter: tokens.get($_, "shadow");
filter: var(--#{$_}--shadow);
background-color: tokens.get($_, "color--primary");
color: tokens.get($_, "color--primary-contrast");
display: flex;
Expand Down Expand Up @@ -117,7 +116,7 @@ a.#{$_} {

&:hover {
transform: translateY(tokens.use($_, "space", -0.25));
filter: brightness(0.9) tokens.get($_, "shadow-hover");
filter: brightness(0.9) var(--#{$_}--shadow-hover);

.#{$_}__heading {
text-decoration: underline;
Expand Down
23 changes: 11 additions & 12 deletions source/components/brand/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,25 @@
$_: "c-brand";

/* Design tokens */
@include tokens.create($_, getComponentTokens($_), (
"height": tokens.use($_, "base", 12),
"gap": tokens.use($_, "space", 3),
"contrast-color": tokens.get($_, "color--primary"),
"font-size": tokens.use($_, "base", 4)
));
@include tokens.create($_, getComponentTokens($_));

.c-brand {
--#{$_}--height: #{tokens.use($_, "base", 12)};
--#{$_}--gap: #{tokens.use($_, "space", 3)};
--#{$_}--contrast-color: #{tokens.get($_, "color--primary")};
--#{$_}--font-size: #{tokens.use($_, "base", 4)};
.c-brand__logotype {
height: tokens.get($_, "height");
height: var(--#{$_}--height);
}

.c-brand__viewbox {
height: tokens.get($_, "height");
height: var(--#{$_}--height);
}

.c-brand__container {
height: tokens.get($_, "height");
height: var(--#{$_}--height);
display: flex;
gap: tokens.get($_, "gap");
gap: var(--#{$_}--gap);
align-items: center;
}

Expand All @@ -36,8 +35,8 @@ $_: "c-brand";
flex-direction: column;
align-items: flex-start;
height: 100%;
font-size: tokens.get($_, "font-size");
color: tokens.get($_, "contrast-color");
font-size: var(--#{$_}--font-size);
color: var(--#{$_}--contrast-color);
line-height: 1.2;
justify-content: center;
}
Expand Down
Loading
Loading