Closed cscheid closed 3 months ago
Agreed, I noticed this yesterday. They're the names of Bootstrap's Sass variables (so it wasn't a random pluralization), but I'd rather we be internally consistent. Let's use heading
.
They're the names of Bootstrap's Sass variables (so it wasn't a random pluralization)
🤦 That's unfortunate.
I'm ok on heading
, but that will confuse some people, and makes me want to change this less. I also wonder if we should allow either. Bootstrap is the "default" system in Quarto and Shiny both, and so I think it makes sense for us to follow its nomenclature. We already do with primary
, secondary
, etc.
Technically, it's not a direct Sass variable, but a family of variables that start with $headings-
, e.g. $headings-font-family
, $headings-font-style
, etc.
Which points out a good reason to keep headings
plural: while base
, link
, and monospace
apply to a single semantic element, typography.headings
applies to a range of elements (<h1>
, <h2>
, <h3>
, etc.). This also explains why size
isn't included in the schema.
Ok, that's persuasive to me. Thanks!
Currently, the spec has
headings
, butlink
. We should either haveheading
andlink
orheadings
andlinks
. (I think it should beheading
).