Dark Mode
Dark Mode Setting in Backend
You can simply change layout mode to Dark by doing the
below changes in the
file Admin/backend/Views/Shared/_layout.cshtml
.
Simply set the attribute
data-bs-theme="dark"
to
the html tag. It will update the layout mode to Dark mode. No need to change
any css or js files.
Dark Mode Setting in Frontend
You can simply change layout mode to Dark by doing the
below changes in the
file Admin/frontend/Views/Shared/_layout.cshtml
.
Simply set the attribute
data-bs-theme="dark"
to
the html tag. It will update the layout mode to Dark mode. No need to change
any css or js files.
Dark Mode Setting in Components
You can simply change layout mode to Dark by doing the
below changes in the
file Admin/components/Views/Shared/_layout.cshtml
.
Simply set the attribute
data-bs-theme="dark"
to
the html tag. It will update the layout mode to Dark mode. No need to change
any css or js files.