ColorScheme Op

ColorScheme

Get light/dark color scheme preference of the browser


Uses CSS media queries to find out if the user has set a preference for light or dark colors.


Full Name
  • Ops.Devices.Browser.ColorScheme
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubCompatibilityTest Patches


OUTPUT PORTS


Color Scheme (String)

light/dark

Dark Mode (booleanNumber)
Light Mode (booleanNumber)
Supported (booleanNumber)

Patches using ColorScheme

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2023-10-26 10:36
renameOps.Patch.PAn48HJ.ColorScheme renamed to Ops.Browser.ColorSchemeuser avatarpandur - 2023-10-26 10:44
renameOps.Browser.ColorScheme renamed to Ops.Devices.Browser.ColorSchemeuser avatarpandur - 2023-12-06 09:25