Skip to content
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

fix(typography): correct heading "sizes", start with h1 and don't skip any #65

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adrianschmidt
Copy link
Collaborator

@adrianschmidt adrianschmidt commented Jul 9, 2021

re: #31

This does not yet fix #31, as I haven't found where the heading size for examples is set, but it does fix some other heading "size" inconsistencies. We might want to adjust the styling of h2 through h6, as most headings have become one step "bigger".

@tricki
Copy link

tricki commented Oct 2, 2023

FYI I found the source of the automatic h5 heading: https://github.com/jgroth/kompendium/blob/master/src/components/playground/playground.tsx#L88C33-L88C33

@adrianschmidt
Copy link
Collaborator Author

FYI I found the source of the automatic h5 heading: master/src/components/playground/playground.tsx#L88C33-L88C33

Fantastic! Thank you! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

First line of text in example files automatically becomes an H5. Better if it's left for the users to decide.
2 participants