Given the browser prefers a dark colour scheme

Tell the browser to prefer a light or a dark colour scheme, as an operating system set to it does: a site that follows the system's choice shows that one.

Examples

Given the browser prefers a dark colour scheme
And the browser prefers a light colour scheme
Given browser prefers a dark color scheme
When the browser prefers a light color scheme
Given the browser prefers a dark colour scheme

Pattern

Given(/^(?:the )?browser prefers a (light|dark) colou?r scheme$/, …)

Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.