utrecht icon indicating copy to clipboard operation
utrecht copied to clipboard

line-height 1.4 token between 1.25 and 1.5

Open Robbert opened this issue 4 months ago • 0 comments

There were a couple of instances where the line-height was outside our custom scale

We now have:

{
      "line-height": {
        "xs": { "value": "1" },
        "sm": { "value": "1.25" },
        "md": { "value": "1.5" },
        "lg": { "value": "2" }
      }
}

So we don't have 1.4. For the following tokens we had set it at component level to 1.4:

  • utrecht.form-fieldset.legend.line-height
  • utrecht.figure.caption.line-height

I have changed them to 1.5 to be md, but perhaps we should introduce a new token in the scale so we can restore 1.4

Robbert avatar Oct 09 '24 06:10 Robbert