Re: [community-group] fontWeight predefined aliases (#138)

I'm not much of a font buff, but I'd imagine that the majority of fonts out there would match the DTCG aliases, with fonts that don't match being the exception.  

Regardless, if I had to deal with a font that differs from the aliases, I'd likely make use of `$extensions` to define an override for fonts that differ from the DTCG value.

```json5
{
  "font-weight-thin": {
    "$type": "fontWeight",
    "$value": "thin",
    "$extensions": {
      "com.example": {
        // "thin" translates to 250 for the "Fizzbuzz" font
 // for all other fonts, "thin" translates to 100 (per DTCG spec)
 "Fizzbuzz": 250,
      }
    }
  }
}
```

-- 
GitHub Notification of comment by CITguy
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/138#issuecomment-1253126746 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 21 September 2022 02:24:26 UTC