Around supports Light and Dark color modes (aka themes). The user can easily switch between the color modes via theme switcher. Sometimes there is a situation when:
Let's look closer at these cases and find out how to deal with them.
<head>
section of your HTML document (refer to the screenshot below).
navbar
(see the screenshot below).
$enable-dark-mode
variable to
false
inside
Around/assets/scss/_variables.scss. Compiled CSS will no longer contains dark mode styles.theme
variable. In Chrome browser it can be done via Application panel:
data-bs-theme
attribute to
dark
on
<html>
tag so the webpage loads in dark mode by default.
<head>
section of your HTML document (refer to the screenshot below).
navbar
(see the screenshot below).
theme
variable. In Chrome browser it can be done via Application panel:
data-bs-theme
attribute to
dark
on
<html>
tag so the webpage loads in dark mode by default.
checked
by default.
Around/assets/js/theme-switcher.js
to look like in the screenshot below.