Skip to content

Commit

Permalink
feat(exporter): add px only to font-size
Browse files Browse the repository at this point in the history
  • Loading branch information
srambach committed Jun 5, 2024
1 parent a4c0e10 commit 76594f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/module/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const build = (selector) => {
token.attributes.type === 'icon' ||
token.attributes.type === 'breakpoint' ||
(token.attributes.type === 'box-shadow' && token.attributes.item !== 'color') ||
token.attributes.type === 'font',
(token.attributes.type === 'font' && token.attributes.item === 'size'),
transformer: (token) => `${token.value}px`
});

Expand Down

0 comments on commit 76594f3

Please sign in to comment.