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

cuelang.org: inline code blocks in headings aren't distinguishable #3498

Open
jpluscplusm opened this issue Oct 11, 2024 · 0 comments
Open
Labels
cuelang.org Discuss Requires maintainer discussion frontend cuelang.org frontend UI/UX related

Comments

@jpluscplusm
Copy link
Collaborator

What page were you looking at?

https://cuelang.org/docs/concept/using-the-cue-export-command/output/#output-location---outfile

What version of the site were you looking at?

cue-lang/cuelang.org@b5ad233

What did you do?

I placed an inline code block inside a section heading.

What did you expect?

That the text in the inline code block would be easily identifiable as being different from the normal text in the section header.

What did you see instead?

The text in the header as presented as part of the page (i.e. on the right) is only distinguished through its fixed-width font, and not through a background colour change:

image

Because the fixed-width font and the normal font are extremely similar, the text as presented in the page isn't distinguishable (to my eye). The different fonts and very slight background colour change in the TOC (on the left of the screenshot) makes that rendering of the two different portions more recognisable.

I propose that inline code blocks in headings should be styled with the same background colour that they get given in normal page text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuelang.org Discuss Requires maintainer discussion frontend cuelang.org frontend UI/UX related
Projects
Status: Backlog
Development

No branches or pull requests

1 participant