-
Hello, My theme looks as follows
I have set my My
Now I would like to be able to apply the
However this doesn't work. I can't use What is the correct way to style a NavLink with primary and secondary variants? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, great question! I was going to say we don't support multiple link variants right now, but I pulled up the code & I think we actually do, which is news to me! They go under the
<ThemeUILink as={RRNavLink} variant="secondary" to="/path-two">link two</ThemeUILink> |
Beta Was this translation helpful? Give feedback.
Hey, great question! I was going to say we don't support multiple link variants right now, but I pulled up the code & I think we actually do, which is news to me! They go under the
links
key of your theme, not understyles.a
.styles
styling on app UI, but that set is designed for text content, such as MDX documentation or blog posts or content from a CMS.Link
&NavLink
components out of the box, but you can passvariant="secondary"
or wrap that in your ownSecondaryLink
etc components to…