Skip to main content

light/dark mode in Breakdance Template

Any clue how i can control font colors in breakdance (when using community template)? seems Headspin dark mode colors don't work on community-Template ....

and when i try CSS, it'S either always dark mode color or light mode color, but doesn't switch.

This is the code i tried:

media (prefers-color-scheme: dark) {

%%SELECTOR%% {
.bde-text {
color: #fff !important;
}
}
}

Jeff Brigman

html.light and html.dark

For example:

html.light .fcom_content_layout {
background-color: #F3F7F9;
}

and

html.dark .fcom_content_layout {
background-color: #000000;
}

Manuel MΓΌller

Jeff BrigmanΒ awesome!! thank you very much