enterprise icon indicating copy to clipboard operation
enterprise copied to clipboard

Typography: Title typography is not consistent

Open pbal opened this issue 2 years ago • 9 comments

Describe the bug Title typography in IDS is not consistent.

h1 is 2.8rem Rest all h2, h3, h4, are all 1.6rem which is same as body text size.

Steps to reproduce the behavior: Verify title font sizes in ids library.

Expected behavior Font sizes should gradually decrease to body size. Probably this setting would work h1 2.5 rem
h2 2 rem
h3 1.8 rem
h4 1.6rem

Version 4.63.0

Screenshots image

pbal avatar Jun 03 '22 15:06 pbal

Yeah weird. What file are these in? I think these might be for some place where you can change from h3, h4 ect logically for the right semantic markup but the style doesn't actually change (header subtext for example)

You could try to use these classes as well. https://main-enterprise.demo.design.infor.com/components/typography/example-index.html

tmcconechy avatar Jun 03 '22 15:06 tmcconechy

h1....h6 should define their size without a class.

Screenshot I took above is from theme-new-dark.min.css from version 4.63.2. Those styles are defined at root.

pbal avatar Jun 03 '22 16:06 pbal

@pbal Can you give us an idea of where these might be placed in the page? Is it like documentation or text or something?

tmcconechy avatar Jul 06 '22 17:07 tmcconechy

cc @danirosefishinfor

tmcconechy avatar Jul 06 '22 17:07 tmcconechy

Planning to use in both docs and application.

pbal avatar Jul 07 '22 11:07 pbal

@pbal - would it be possible to share screenshots of the usage for reference? Thanks!

danirosefishinfor avatar Jul 07 '22 13:07 danirosefishinfor

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_headers

pbal avatar Jul 07 '22 22:07 pbal

@pbal we are aware of the general hierarchy idea h1 - h6. We are more looking for an actual idea where these appear in a real application use case.

tmcconechy avatar Jul 08 '22 13:07 tmcconechy

I dont have any more example to give you other than stating the purpose of h1...h6 tags

For more reading

  • https://html.com/tags/heading/
  • https://www.seoptimer.com/blog/h1-html-tag/
  • https://en.ryte.com/wiki/Heading_Tag

pbal avatar Jul 08 '22 16:07 pbal

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 02 '23 17:07 stale[bot]