Theme links in top navigation bars
See original GitHub issueDue to technical limitations, we couldn’t utilize theme colors fully for links in top navigation bars in the past, e.g. Home, Library, and Bookmarks links in Learn:
When a link is active, we use hardcoded white
colors
where we should use textInverted
token.
It should be now possible to refactor NavbarLink
to use router-link scoped slot API that’s been released meanwhile. That should allow us to use textInverted
token instead of hardcoded white.
User-facing consequences
textInverted
token is used to create sufficient contrast when used on dark backgrounds such as tokens.primary
. Using hardcoded color instead of the token increases the risk of not having the proper contrast in theme plugins.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Custom Top Navigation Links - theme-component
discourse2: Summary Custom Top Navigation Links allows you to add links to Discourse top navigation. :eyeglasses: Preview Preview on ...
Read more >Moodle in English: Adding a link on the top Navigation Bar
I am trying to add a link like a Contact Us or About Us on the top part of our Moodle theme (Navigation...
Read more >40 Beautiful and Effective Responsive Navigation Menus
If you're looking for excellent examples of navigation menu design, here is a look at more than 40 of the best ones you'll...
Read more >Navbar - Bootstrap
This class adjusts vertical alignment and horizontal spacing for strings of text. Mix and match with other components and utilities as needed.
Read more >Collection links on top navigation bar not working on mobile
On my homepage www.ecobeau.co.uk the links on the navigation bar on desktop work well. You can click on the top header collection or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @amitpanwar789 - confirming that I’ve reviewed the current version of
NavbarLink.vue
and the scope of this issue is up to date and it should be ready to work on!If you have questions as you are working, please add a comment here and tag me in it, and I will be working reduced hours over the upcoming holidays and New Year, but I will get back to you as soon as possible. Thanks again for offering to contribute to Kolibri 😃
Hi @amitpanwar789! Thank you for your interest in contributing! I’ve done a little bit of refactoring work on the App bar in recent months, so I’m going to review and this issue as necessary to make sure it’s fully up to date and ready to work on. It should be ready by next week. After that, we would welcome your contributions! I’ll assign us both to the issue so we can keep track of it, and then I’ll follow up with you early next week to confirm it should be ready to work on. 😊