Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header Link dark mode text styling not working with activeSection #23

Open
flip-in opened this issue Dec 18, 2023 · 1 comment
Open

Comments

@flip-in
Copy link

flip-in commented Dec 18, 2023

This image is taken from running the code from the @ByteGrad repo, but it's also the same in my own repo. Changing the text color will temporarily fix this, but it will revert to text-gray-500

it seems to buggy in the clsx function

image

image

It should look like this: (this was achieved with the browser dev tools)

image

@flip-in
Copy link
Author

flip-in commented Dec 19, 2023

Update:

removing dark:text-gray-500 from the <Link> element seems to have fixed this.

It was applied twice: once on the <ul> and once on the <Link>, so the dark-text-gray-200 wasn't able to apply to the Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant