generate_dark_mode
Convert a light-mode screen into a dark-mode variant by analyzing its color palette, inverting brightness, adjusting contrast, and preserving brand accents.
Instructions
Takes a light-mode screen and generates a dark-mode variant. Analyses the existing color palette and instructs Stitch to regenerate with inverted brightness, adjusted contrast, and preserved brand accents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contrast | No | Contrast level for the dark variant. | normal |
| screenId | Yes | The source (light-mode) screen ID. | |
| projectId | Yes | The Stitch project ID. | |
| deviceType | No | Target device type. | MOBILE |
| preserveAccents | No | Keep accent/brand colors unchanged (only invert backgrounds and text). |