When I switch the admin theme to "dark"

Switch the theme of the panel with the theme buttons of the user menu (light, dark, or the system's).

Examples

When I switch the admin theme to "dark"
When I switch the admin theme to "light"
And we switch the admin theme to "system"
When I switch the admin theme to "dark"
Then I switch the admin theme to "system"

Pattern

When(/^(I |we )*switch the admin theme to "(light|dark|system)"$/, …)

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