The light/dark components has problems #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The light/dark component has a few issues that need to get fixed before the site's launch.
The first and most obvious is that it uses Javascript, which might not be an issue on its own other than we promise no Javascript.
Even if we remove this promise, though, the selection doesn't persist across pages, likely because there's no session cookie or other setting. There should not be one, though, as we don't need session cookies for a static site. Instead, a second set of pages could be generated based on light/dark themes, just like we will do for languages.
Lastly, the component is unlabeled, where usually there is a symbol such as a sun and moon to indicate light/dark mode.
assigned to @vosaul
mentioned in merge request !2
mentioned in merge request !3
The light/dark mode still has issues, but I'll open a ticket for each one and close this.