[Bug 267452] [request] docs.freebsd.org could auto-switch theme with modern browsers

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 31 Oct 2022 05:37:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267452

            Bug ID: 267452
           Summary: [request] docs.freebsd.org could auto-switch theme
                    with modern browsers
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Books & Articles
          Assignee: doc@FreeBSD.org
          Reporter: jerry.jacobs@xor-gate.org

It is very easy with modern browsers to auto-switch to dark/normal theme if
prefered. With some javascript/CSS query to detect the OS dark mode preference:

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
https://usefulangle.com/post/318/javascript-check-dark-mode-activated

-- 
You are receiving this mail because:
You are the assignee for the bug.