The dashboard viewer supports many visual themes, set on the PHP options object.

Set the theme and appearance.
$viewer = new StiViewer();

$viewer->options->appearance->theme = StiViewerTheme::Office2022BlackTeal;
$viewer->options->appearance->backgroundColor = 'black';
$viewer->options->appearance->fullScreenMode = true;
$viewer->options->toolbar->showFullScreenButton = false;

How it works. The options object drives the viewer's look, so a couple of assignments reskin the entire preview.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.