-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
✨ New light/dark theme config feature: allow users to set and toggle theme colors #140
Conversation
✅ Deploy Preview for hugo-lynx ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This pull request has been automatically marked as stale because it has not had any recent activity. |
I'd like to bump this to prevent it going stale. I think this would be a very helpful feature that would help a lot for customization. |
This pull request has been automatically marked as stale because it has not had any recent activity. |
I am looking for that exact feature. |
This PR includes the following features:
Example configuration:
Light mode result:
![image](https://private-user-images.githubusercontent.com/49991597/319369516-03128ef4-36cf-4c06-8162-932d73ae8574.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NzEwMzksIm5iZiI6MTcyNTc3MDczOSwicGF0aCI6Ii80OTk5MTU5Ny8zMTkzNjk1MTYtMDMxMjhlZjQtMzZjZi00YzA2LTgxNjItOTMyZDczYWU4NTc0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDA0NDUzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY3YTY0NGMzMzlhZjZjNTRjYzljMjIwNjRlMzBmMzQwYzdmYzA4MjM2YjZmMTU4Nzg4YjQyNzc0NzVmNTBlMmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.M-_3lilrT0PFY0UWP5iBg-a7_WxmCytaIIo71_GX9PA)
Dark mode result:
![image](https://private-user-images.githubusercontent.com/49991597/319369635-834905a9-160d-4b8a-9e69-d789ec28dfe9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NzEwMzksIm5iZiI6MTcyNTc3MDczOSwicGF0aCI6Ii80OTk5MTU5Ny8zMTkzNjk2MzUtODM0OTA1YTktMTYwZC00YjhhLTllNjktZDc4OWVjMjhkZmU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDA0NDUzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwYzc5N2U5OWQ5NzFlNWQ4MzJkN2MzNmU4YTEzMDJiMTAyMTZlMmQxZDNkMzk5ZjhmMWRiZGU2ZTI1NmE1MzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bnriX8x7zIz5DqbyUm0Q90FauAmOdE1gUdEyaUnTqiQ)
I successfully tested the toggling on Brave (essentially Chromium), Firefox, and Edge. The retention of toggled theme upon closing and reopening functions properly too.
I have also updated the README to reflect these new features.