Skip to content

Commit

Permalink
chore(tokens): 🎨 update tokens (#4583)
Browse files Browse the repository at this point in the history
Merge this PR to update the tokens in the main branch.

---------

Co-authored-by: Travaglini Alessio <[email protected]>
Co-authored-by: Oliver Schürch <[email protected]>
Co-authored-by: Alizé Debray <[email protected]>
Co-authored-by: leagrdv <[email protected]>
  • Loading branch information
5 people authored Feb 4, 2025
1 parent 87bf6fa commit af94d66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 27 deletions.
6 changes: 3 additions & 3 deletions packages/styles/src/components/teaser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tokens.$default-map: components.$post-teaser;
box-shadow: tokens.get('card-interactive-elevation', components.$post-cards);
border-radius: tokens.get('card-border-radius', components.$post-cards);
position: relative;
background-color: tokens.get('teaser-card-enabled-bg');
background-color: tokens.get('card-enabled-bg2', components.$post-cards);
color: tokens.get('teaser-card-content-enabled-fg');
display: flex;
flex-direction: column;
Expand All @@ -18,8 +18,8 @@ tokens.$default-map: components.$post-teaser;
color 150ms;

&:hover {
background-color: tokens.get('teaser-card-hover-bg');
color: tokens.get('teaser-card-content-hover-fg');
background-color: tokens.get('card-hover-bg', components.$post-cards);
color: tokens.get('card-hover-fg', components.$post-cards);
}

a.btn {
Expand Down
17 changes: 1 addition & 16 deletions packages/tokens/tokensstudio-generated/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -7333,23 +7333,11 @@
}
}
},
"enabled-bg": {
"$type": "color",
"$value": "{post.scheme.color.interactive.primary.enabled.bg1}"
},
"content": {
"enabled-fg": {
"$type": "color",
"$value": "{post.scheme.color.interactive.primary.enabled.fg1}"
},
"hover-fg": {
"$type": "color",
"$value": "{post.scheme.color.interactive.primary.hover.fg1}"
}
},
"hover-bg": {
"$type": "color",
"$value": "{post.scheme.color.interactive.primary.hover.bg4}"
}
}
}
Expand Down Expand Up @@ -10762,10 +10750,7 @@
"post.teaser.card.lg.section.content.gap": "c838062f96129e9b66cddaaf664e24a53a80dd5a",
"post.teaser.card.lg.heading.font-size": "0f3a213b39a0c53f46d60602bdf8f0255d49a874",
"post.teaser.card.lg.content.gap": "c5363014eb94be30e06a55c98f9c9799e8e7a5aa",
"post.teaser.card.enabled-bg": "e264d69dc6c093ca0899a6b08713d04d9ccc0ac4",
"post.teaser.card.content.enabled-fg": "f5873b609c3f86b4513243564e2f857934ead3bb",
"post.teaser.card.content.hover-fg": "bc215ee485842dc3b12dcd34d7589921fd3fc0f0",
"post.teaser.card.hover-bg": "be7b9f4dfc1dde85a254a4a43a70b60ca2c98f8d",
"post.textarea.enabled-bg": "9f294c42d575aff74d6cf90d734367a803194216",
"post.textarea.enabled-fg": "7d5bb970bd293753c57df39aaeaa38b7d279a90c",
"post.textarea.hover-bg": "91d02a0756c0a534d57e42cdb64636d2d2e368dd",
Expand Down Expand Up @@ -11123,4 +11108,4 @@
"Helpers/Focus"
]
}
}
}
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit af94d66

Please sign in to comment.