Skip to content

Commit

Permalink
[Tokens]: fix color references for elevation tokens (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanBreck authored Aug 29, 2024
1 parent b54ddf5 commit 9cc3a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokens/transformation/common/leoParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function getEffectColorsFromLayer(layerVariables: DesignTokens) {
return allowedGroups
.map((g) =>
(
Object.entries(layerVariables.color?.['---light']?.[g] || {}) as [
Object.entries(layerVariables.color?.light?.[g] || {}) as [
string,
DesignToken
][]
Expand Down

0 comments on commit 9cc3a19

Please sign in to comment.