Improvements
Triage

Expose body text font-size as a token option

What could be better?

I am playing around with themes and changed the font family. I noticed that the font family I'm using, nunito sans, feels a bit smaller than the default font, so I'm hoping to be able to adjust it on the theme level. This would match the work already done for headings.

I'm referencing this theme doc in Anytwo.

How so?

Theoretically it would open up the option to adjust a few more options, based off of looking at the CSS classes in dev tools:

  • text-body
  • text-base
  • text-body-caption
  • text-body-compact
  • text-body-large
  • text-body-small
  • Maybe the variations of text-\[length\:#px\]?

0 Comments

Sign in to comment

No comments yet. Be the first to share your thoughts.