Some additional CSS variables for use in creating components. These are intended for use by external devs, but we could use them too.
This is a draft, so we can discuss.
Here are the additions.
--text-size-0 through --text-size-7. These are mostly aliases for the heading vars, like --h1. But the generic naming can be used comfortably in more contexts, instead of just headings. The goal is to give external devs some font sizes they can work with.
--text-lineheight-small, -medium, and -large. Same idea.
--size-1 through --size-13. This is a generic size scale built on top of the Base 8 system.
Some additional CSS variables for use in creating components. These are intended for use by external devs, but we could use them too.
This is a draft, so we can discuss.
Here are the additions.
--text-size-0
through--text-size-7
. These are mostly aliases for the heading vars, like--h1
. But the generic naming can be used comfortably in more contexts, instead of just headings. The goal is to give external devs some font sizes they can work with.--text-lineheight-small
,-medium
, and-large
. Same idea.--size-1
through--size-13
. This is a generic size scale built on top of the Base 8 system.