theme/html/demo/src/sass/layout/_variable.scss
, under $header-config
.bg-color: if(isDarkMode(),#1E1E2D, $white),
, which has the condition to swap the color from dark to white when darkmode is activated. bg-color: #1E1E2D,
. As you can see, there's no "isDarkMode" condition there.