Actual behavior:
After we've started exporting the tokens to css variable mapping and using them inside of makeStyles calls there has been a need to cast tokens.fontWeight as React.CSSProperties['fontWeight'] because makeStyles expects fontWeight to be one of a number of values and not any string.
Expected behavior:
We should fix this so that we don't have a need to cast whenever we use tokens.fontWeight inside of a makeStyles call.
Actual behavior:
After we've started exporting the tokens to css variable mapping and using them inside of
makeStylescalls there has been a need to casttokens.fontWeightasReact.CSSProperties['fontWeight']becausemakeStylesexpectsfontWeightto be one of a number of values and not any string.Expected behavior:
We should fix this so that we don't have a need to cast whenever we use
tokens.fontWeightinside of amakeStylescall.