diff --git a/src/Moonglade.Web/Pages/Admin/Category.cshtml b/src/Moonglade.Web/Pages/Admin/Category.cshtml index 13c4dc154..0c1e42bff 100644 --- a/src/Moonglade.Web/Pages/Admin/Category.cshtml +++ b/src/Moonglade.Web/Pages/Admin/Category.cshtml @@ -1,6 +1,7 @@ @page "/admin/category" @model Moonglade.Web.Pages.Admin.CategoryModel @{ + ViewBag.ThemeSwitchReady = true; ViewBag.Title = "Categories"; } diff --git a/src/Moonglade.Web/wwwroot/css/admin.css b/src/Moonglade.Web/wwwroot/css/admin.css index 9df36240d..8346956ff 100644 --- a/src/Moonglade.Web/wwwroot/css/admin.css +++ b/src/Moonglade.Web/wwwroot/css/admin.css @@ -386,4 +386,8 @@ div.mce-fullscreen { [data-bs-theme="dark"] .image-drop-target { background-color: var(--bs-secondary-bg-subtle); border: 2px dashed #4F4F4F; +} + +[data-bs-theme="dark"] .admin-nav .list-group-item.active { + color: var(--bs-white) } \ No newline at end of file