beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

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.


Edit Documentation

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


 

OUTPUT PORTS


Color Scheme (String)

light/dark

Dark Mode (boolean Number)
Light Mode (boolean Number)
Supported (boolean Number)

Usages of ColorScheme

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


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