Skip to content

Commit

Permalink
chore(token-cli): figma から得られる float に suffix px を付ける
Browse files Browse the repository at this point in the history
  • Loading branch information
naporin0624 authored and yue4u committed Dec 13, 2024
1 parent 1ce2e0d commit 0ff0283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/token-cli/src/figma/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,6 @@ export const resolveValue = (

export const resolveColor = (value: Color) => colorToRgba(value)

export const resolveFloat = (value: number) => `${value}`
export const resolveFloat = (value: number) => `${value}px`

export const resolveString = (value: string) => value

0 comments on commit 0ff0283

Please sign in to comment.