Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

HtmlPreferredColorScheme

OfficeIMO.Html

Namespace
OfficeIMO.Html
Assembly
OfficeIMO.Html
Source revision
e163ccb36643 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Preferred color scheme exposed to CSS media queries during static rendering.

Inheritance

  • Enum
  • HtmlPreferredColorScheme

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const HtmlPreferredColorScheme Light #

Evaluate (prefers-color-scheme: light) as active.

Value: 0
public const HtmlPreferredColorScheme Dark #

Evaluate (prefers-color-scheme: dark) as active.

Value: 1