Skip to content

Commit

Permalink
fix(castvalue): enforce resolved key
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Sep 10, 2022
1 parent 6d39764 commit a987144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transforms/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const castValue = (_value: string | number, $tokens: TokensFunction): string | n
(...parts) => {
const [, tokenPath] = parts

const token = $tokens(tokenPath)
const token = $tokens(tokenPath, { key: 'attributes.variable' })

return token
},
Expand Down

0 comments on commit a987144

Please sign in to comment.