sinclairnick / brail

💌 Transactional email that feels different
https://brail.dev
Apache License 2.0
258 stars 6 forks source link

Improve: Allow numeric `fontWeight`s (according to union type) #21

Closed sinclairnick closed 1 year ago

sinclairnick commented 1 year ago

Currently, the fontWeight union is a string, meaning fontWeight="700" is valid but fontWeight={700} is not. This should be updated.

Extra: Need to double check the support of fontWeight values across email clients. IIRC either named values or numeric values are not fully supported.