Dark Mode Setting
You can simply change layout mode to Dark by doing the
below changes in the
file templates/partials/_body.html.twig
.
Simply set the attribute
data-bs-theme="dark"
to the body tag. It will update the layout mode to Dark mode. No need to change any css or js files.
Attribute | Value |
---|---|
data-bs-theme |
|
Light Mode Setting
You can simply change layout mode to Light by doing the
below changes in the
file templates/partials/_body.html.twig
.
Simply set the attribute
data-bs-theme="light"
to
the body tag. It will update the layout mode to Light mode. No need to change
any css or js files.
Attribute | Value |
---|---|
data-bs-theme |
|