react-portfolio-template
react-portfolio-template copied to clipboard
Resume in dark theme is not readable.
Steps to reproduce this issue.
- have the default system theme as dark.
- visit the website.
- click on Resume from the top navbar.
- The user is unable to read any data.
System Details System: Macbook Pro M2 OS. Version: Ventura 13.1
See the shared video for more details.
https://user-images.githubusercontent.com/30870405/214991710-901533c8-f3f5-40a9-8720-40e8d5f1969f.mov
same issue, even in the live demo, have you found a solution?
I feel like it is because the item theme in localStorage, this bug will happen when the value is system
I tried giving it a initial instead of system, but not working
It should be done when the page is loaded. This can be achieved by using "useEffect". setTheme to localStorage when loaded using "useEffect" hook.