-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Increase size of h6 class to more clearly be a heading #41417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
To enhance the visual hierarchy while maintaining the Bootstrap design system, I suggest:
|
I disagree. Having the final heading being the same as normal text is very common. IAC, should be using fs-* and customizing them. Additionally, changing this in a .x does not sound like a good idea. |
I’m not surprised by the current Bootstrap rendering, but I don’t have a particularly strong opinion on it either. Bootstrap already provides a solid set of utilities and customization options that make it easy to override default styles. Developers can apply custom classes, use utility classes for things like spacing or text styling, and even redefine Sass variables to ensure consistent, project-specific designs. That said, in some tools or plugins, Bootstrap’s CSS may be applied automatically to Markdown content without an easy way to override the rendering. In those cases, it’s important that headers have some visual distinction from normal text. Font size is one option, but not the only one—other styling cues like boldness, color, or spacing can also help. Interestingly, if I remember correctly, in tools like Microsoft Word, the equivalent of However, IMHO, if any changes were to be made to the default header styling, they should be introduced in a major version update. Headers and their related utilities are deeply integrated into many existing projects, and modifying them could cause widespread issues. Even with Bootstrap’s flexibility, changing default behavior can lead to unexpected side effects or require significant effort to adapt. For context, here’s how Markdown rendered with Primer styles looks:
h1Normal text h2Normal text h3Normal text h4Normal text h5Normal text h6Normal text |
Closing for now, we can revisit in v6 if we want. |
@mdo Why not move this to a v6 milestone instead of closing it? I see you’re working on v6 right now. |
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
Proposal
When used as the only heading level in a page, the h6 class appears to be just another paragraph. This causes confusion. Perhaps it would be less surprising if the h6 class appeared bigger than paragraph text.
Motivation and context
See willfaught/paige#104
The text was updated successfully, but these errors were encountered: