saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
34.24k stars 1.31k forks source link

docs: Navigation Bar Selection Font Color #2808

Closed hutong9 closed 10 months ago

hutong9 commented 10 months ago

On which page do you see this issue?

No response

Describe the issue

When the background color of the navigation bar is bg-primary, the default color of the navigation selected item is black after clicking, and the style needs to be modified. Although it is not a bug, W single I think it needs to be modified.

What browsers are you seeing the problem on?

No response

github-actions[bot] commented 10 months ago

Thank you @hutong9 for reporting issues. It helps daisyUI a lot ๐Ÿ’š
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

hutong9 commented 10 months ago

When the mouse is selected, the font color is light. When the mouse is removed, the font color changes to dark. At this time, the navigation bar is also dark, so the font cannot be seen.

hutong9 commented 10 months ago

I added the style .nav -link: active {color: white} fixed the problem, but I think the defau component should change this style

saadeghi commented 10 months ago

What browsers are you seeing the problem on?

hutong9 commented 10 months ago

What browsers are you seeing the problem on?

I found that the problem had been solved perfectly.