designsystemet icon indicating copy to clipboard operation
designsystemet copied to clipboard

Investigate if we can include `lineheight`, `letterspacing` and `font-size` as a part of the font settings

Open Febakke opened this issue 1 year ago • 4 comments

As of now lineheight and letterspacing is set globaly. A consequence is that you cant set individual values for different fonts. Not everyone will need this, but for some fonts it might be important to edit this values.

  • [ ] Should text-size also moved?
  • [ ] Test how do Token-studio transelate % values to Figma?

Febakke avatar Oct 28 '24 09:10 Febakke

We should probably wait until Figma fix this, to avoid complexity in our own system?

mrosvik avatar Jan 20 '25 09:01 mrosvik

@Febakke Denne skulle ut av V1-scope, sant?

mrosvik avatar Feb 20 '25 15:02 mrosvik

It's too complicated as long as Figma doesn't support % in variables. Will not be part of V1.

mrosvik avatar Feb 24 '25 08:02 mrosvik

Consider closing this This might be fixed (ish) or at least a little better by #3646 If we decide on more semantic styles you can choose more specific values for each text element

Febakke avatar Oct 13 '25 09:10 Febakke