Skip to content

Different style for SideNavigationItem and SideNavigationSubItem #2945

Closed Answered by Lukas742
giladvidal asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @giladvidal

I don't think there is currently an acceptable way to accomplish this, as the styles are nested deep in multiple shadow roots of the web components and therefore you can't change them without internal methods. I think the best approach here would be to open a feature request in the ui5 web components repo and explain there what your use case is, so maybe they could implement a way to customize styles. (E.g. by adding the part attribute for the ::part pseudo element.)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by giladvidal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants