Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2022 05:37:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 267452] [request] docs.freebsd.org could auto-switch theme with modern browsers
Message-ID:  <bug-267452-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267452

            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 prefere=
nce:

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267452-9>