Respect the user's theme preference when presenting slides

Use case or problem

I use Obsidian for my slides when teaching at my university. The projectors in most rooms are extremely dim, and so the dark theme used by Obsidian when presenting slides is completely unreadable for all of my students. This dark theme is applied regardless of my theme preferences.

Proposed solution

Make Obsidian slides render in the user’s preferred theme.

Current workaround (optional)

Advanced slides plugin allows you to specify a light theme. However, it doesn’t render text nicely, so things often go off the end of the screen. Additionally, it seems that the plugin is unmaintained, so these issues will not be fixed. This is far from an ideal solution.

1 Like

I think community themes could add support for Slides if they wanted to.

I’m assuming your base color scheme is set to Dark but Obsidian’s black is too black. If you switch to Light mode, the slide background will be white.

In the meantime, you can set the background color to anything you want using this CSS snippet:

.reveal-viewport {
    background-color: salmon;
}

salmon can be changed to a hex code #ff8c69, a rgb value rgb(255,140,105), hsl value hsl(14,100%,70.6%), etc.