Then the colour mode should follow the system

Assert the colour mode follows (or does not follow) the system's choice: the page was given no choice of its own (<html data-theme-choice="system">).

Examples

Then the colour mode should follow the system
But the colour mode should not follow the system
Then color mode should follow the system
And the colour mode should follow the system
And the color mode should not follow the system

Pattern

Then(/^(?:the )?colou?r mode should( not)* follow the system$/, …)

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