Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt

Use this file to discover all available pages before exploring further.

Input options for the ‘emulateMedia’ mutation. Allows emulating various media features like color schemes, print styles, etc.

Definition

input EmulateMediaOptions {
  colorScheme: ColorScheme
  contrast: Contrast
  forcedColors: ForcedColors
  media: MediaType
  reducedMotion: ReducedMotion
}

Fields

colorScheme

ColorScheme The preferred color scheme (e.g., LIGHT, DARK). See ColorScheme enum.

contrast

Contrast The preferred contrast level (e.g., MORE). See Contrast enum.

forcedColors

ForcedColors Whether forced colors mode is active (e.g., ACTIVE). See ForcedColors enum.

media

MediaType The media type to emulate (‘screen’ or ‘print’). See MediaType enum.

reducedMotion

ReducedMotion The preference for reduced motion (e.g., REDUCE). See ReducedMotion enum.