-
Notifications
You must be signed in to change notification settings - Fork 53
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
[FEATURE] implement dark mode #42
Comments
For me this is already possible to start working on this issue or I need to wait to some refactor to finish? |
I am not aware of anybody working on the nested template refactoring yet, so If you want you can give it a go :) I am not sure how you want to implement it? I guess some sort of button to switch on and off dark mode? Open to your suggestions |
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme |
I think it will be pretty straightforward then, you can either copy pasta all the dark mode css everywhere or create the |
Thanks. How can I check my changes locally without installing Docker, PostgreSQL? |
Right now you must need the following in order to run it locally: Bash, Go, Docker. You can just run a script to set it up. |
Do not want to pollute my system with Docker, I will try with Devtools only :) |
fair enough - not sure if there are other ways you can test this locally. Docker is a pretty standard tool for dev work. Can use postgres installed locally as well. But up to you really. Open to suggestions for better dev experience if you have any |
styles are inlined/internal only. To keep latency low and avoid any render blocking resource, we might need to keep using internal css, but there is a way to re-use and import common css by using Go nested templates.
This can be achieved easily as follows:
common-css.html
landing.html
Please see discussions and issues
The text was updated successfully, but these errors were encountered: