Add dark theme toggle #35

Merged
Aaron merged 2 commits from dark-mode into master 2023-11-11 12:17:31 +01:00
Member

This PR introduces a dark variant of the pics theme, along with a toggle to allow switching from the main nav bar.

By default, the theme to use is inferred using the prefers-color-scheme CSS media query. This means the theme changes automatically along with the OS's, if left on 'auto'.

This PR introduces a dark variant of the pics theme, along with a toggle to allow switching from the main nav bar. By default, the theme to use is inferred using the `prefers-color-scheme` CSS media query. This means the theme changes automatically along with the OS's, if left on 'auto'.
Aaron added 1 commit 2023-11-11 11:31:59 +01:00
yorick reviewed 2023-11-11 12:01:27 +01:00
yorick left a comment
Member
https://stackoverflow.com/questions/75413242/how-to-make-a-button-for-the-meta-tag-of-light-dark-mode
Aaron force-pushed dark-mode from 0d094996df to 861be10010 2023-11-11 12:16:55 +01:00 Compare
yorick approved these changes 2023-11-11 12:17:22 +01:00
Aaron merged commit 5c5e4fbdd7 into master 2023-11-11 12:17:31 +01:00
Aaron deleted branch dark-mode 2023-11-11 12:17:36 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Public/pics#35
No description provided.