Support prefers-color-scheme
/ dark mode
#161
Labels
enhancement
frontend
Relating to the HTML, CSS, and JS which runs in the user's browser
good first issue
The
prefers-color-scheme
CSS media query can be used to optionally apply CSS rules when the users browser/OS requests a dark theme. Given the light background of the HackSoc website, and the nocturnal nature of many students, especially computer scientists, this is a good opportunity to spare some retinas. Supporting a dark theme is also considered a good feature for accessibility.A suggested approach for anyone who might work on this:
@media
query, so that when it matches, the different set of colours are applied.The text was updated successfully, but these errors were encountered: