You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiListGroupItem] Reduce font weight on s and xs #8305
For size s and xs, the font weight is set to be slightly heavier. The historical reason for doing this is unclear, and it could be changed to match the other sizes.
Solution
Pre-requisite: browse the history of this component and any outstanding reason for the added weight
Remove the font-weightstyle set explicitly on these two sizes. This would reduce it to the base 400 weight seen on other sizes.
The font-weight was set to medium for s and xshere. The PR only talks about gutterSize and color, and "aligning the EuiListGroupItem to new navigation design" 🤷♀
The component is used in e.g. packages/eui/src/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.tsx, exported as EuiCollapsibleNavBeta.KibanaSolution (compound component) that is not used in Kibana.
EuiListGroup seems to be used a fair amount of times in Kibana.
I cannot speak for the initial motivation and whether this style is still valid but I can estimate removing these styles as "Tiny" size and 1 story point 😄 @ryankeairns let me know if we want to proceed with this and I can take it as part of this support duty.
Thanks for digging into the history... I now recall this being part of the K7 navigation design, but we can safely remove this now. Our typography is a bit haphazard and little simplifications like this get us to a more consistent baseline.
Activity
JasonStoltz commentedon May 9, 2025
Sorry @ryankeairns, we missed this one. It wasn't added to our team board automatically for some reason. It's here now, we'll take a look.
ryankeairns commentedon May 9, 2025
No worries, I had forgotten about this one or I, too, may have tackled it :D
Carry on with taking a look, thanks!
weronikaolejniczak commentedon Jun 2, 2025
The
font-weightwas set tomediumforsandxshere. The PR only talks aboutgutterSizeandcolor, and "aligning theEuiListGroupItemto new navigation design" 🤷♀The component is used in e.g.
packages/eui/src/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.tsx, exported asEuiCollapsibleNavBeta.KibanaSolution(compound component) that is not used in Kibana.EuiListGroupseems to be used a fair amount of times in Kibana.I cannot speak for the initial motivation and whether this style is still valid but I can estimate removing these styles as "Tiny" size and 1 story point 😄 @ryankeairns let me know if we want to proceed with this and I can take it as part of this support duty.
ryankeairns commentedon Jun 2, 2025
Yes, please!
Thanks for digging into the history... I now recall this being part of the K7 navigation design, but we can safely remove this now. Our typography is a bit haphazard and little simplifications like this get us to a more consistent baseline.