We embed a Kibana dashboard in an iFrame on our own page, which has a light/dark mode toggle. Until now, we've been able to match the theme in the iFrame by copying the dashboard into two spaces (one set to light mode, the other to dark), and embedding the matching version.
In Kibana 9, the option to set the theme of a space has been deprecated. The docs say it will be removed in a future version, and set only to the system theme. Is there any other way to set or change the theme of an embedded dashboard from the host page, for example through an embed URL parameter?