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

Wrong font weights on some component demo pages #11660

Open
ashetland opened this issue Mar 3, 2025 · 2 comments
Open

Wrong font weights on some component demo pages #11660

ashetland opened this issue Mar 3, 2025 · 2 comments
Labels
0 - new New issues that need assignment. docs Issues relating to documentation updates only. needs triage Planning workflow - pending design/dev review.

Comments

@ashetland
Copy link
Contributor

ashetland commented Mar 3, 2025

Description

On a local build, some component pages show incorrect font weights. These overrides should be removed so components are accurately represented. For example, the pages for Combobox, Input Time Zone, and Tree show medium font weights everywhere instead of only on selected items. Other pages may also be affected.

Wrong weights shown on Tree page:

Image

Correct weights shown on Tree Scales page:

Image

Which Component

Combobox
Input Time Zone
Tree
Possibly others

Resources

No response

@ashetland ashetland added 0 - new New issues that need assignment. docs Issues relating to documentation updates only. needs triage Planning workflow - pending design/dev review. labels Mar 3, 2025
@macandcheese
Copy link
Contributor

macandcheese commented Mar 3, 2025

Tree is a bit of an outlier compared to similar components like List, etc, because Tree Item label content is slotted in. We could look at accepting a labelText prop or something to have more standardization - the examples above with links could still be supported with a slot?

@ashetland
Copy link
Contributor Author

ashetland commented Mar 3, 2025

I used Tree as an example because it was simpler to show, but this is how Combobox and Input Time Zone appear on the demo pages:

Image

Image

cc @anveshmekala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. docs Issues relating to documentation updates only. needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

2 participants