Skip to content

Commit

Permalink
chore: 🔥 Remove autogenerated typography classes
Browse files Browse the repository at this point in the history
resolves #2392
  • Loading branch information
mimarz committed Sep 17, 2024
1 parent fdc61bd commit 6d26b31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/cli/src/tokens/build/formats/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,10 @@ export const typography: Format = {
${letterSpacingVar ? `letter-spacing: ${letterSpacingVar};` : ''}
}`;

return Object.assign(acc, { classes: [className, ...acc.classes] });
return Object.assign(acc, {
classes: [className, ...acc.classes],
variables: [...acc.variables, format(token)],
});
}

return Object.assign(acc, { variables: [...acc.variables, format(token)] });
Expand Down

0 comments on commit 6d26b31

Please sign in to comment.