🌑Show/hide on the Dark Mode

You can hide any element on the website in dark mode view or on a standard theme(light mode).

I recommend using these classes for images with white backgrounds.

Editing the dark mode using Custom CSS

To edit any element in the dark mode just add a class ".theme-dark"

.theme-dark .sampleClass { }

Hidden on the dark mode view


<img src="URL" class="hide-on-darkmode" alt=""/>

Hidden on the light mode view


<img src="URL" class="hide-on-lightmode" alt=""/>

Last updated