Skip to main content

Module themed_image

Module themed_image 

Source
Expand description

Dual-themed screenshot capture module (R3).

Captures screenshots in both light and dark themes in a single operation. Uses separate browser contexts for reliable colorScheme application.

Note: Full browser automation requires browser-commander. This module provides the types and options; browser integration is stubbed until browser-commander is fully available.

Based on reference implementation from: https://github.com/link-foundation/meta-theory/blob/main/scripts/download.mjs

Structs§

DualThemeResult
Result of dual-theme screenshot capture.
ThemedImageOptions
Options for themed screenshot capture.

Enums§

Theme
Color theme for screenshot capture.

Functions§

capture_dual_theme_screenshots
Capture screenshots in both light and dark themes.