I am using a SideNav and I want to select the highlighted slot in the screenshot below in order to apply custom styling to it:
How do I do that? I am aware of vaadin-side-nav-item > [slot="prefix"] from the Side Navigation styling docs but I don’t know how to select the one slot that has no name.
The content of the default slot is a text node, so that can’t be selected with CSS either. I guess you could target the link itself with ::part(link) and then potentially revert styles on prefix and suffix if you want to style those differently than the link text.