Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44193

Auto detect dark mode for theme

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Library
    • Labels:
      None

      Description

      Dark mode support was added in SAK-43981. It should use the browser setting as a default.

      Possible to set this preference at the browser and OS level. Sakai should use this as the default. As of this issue 84.81% of global users have this available in their browser

      https://caniuse.com/#search=prefers-color-scheme

      You can detect this preference in javascript or use a @media query 

      https://web.dev/prefers-color-scheme/

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  sfoster9 Shawn Foster
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration