Skip to content

Commit

Permalink
support dark mode for categories
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Oct 1, 2024
1 parent 0a2072f commit 8358cd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Moonglade.Web/Pages/Admin/Category.cshtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@page "/admin/category"
@model Moonglade.Web.Pages.Admin.CategoryModel
@{
ViewBag.ThemeSwitchReady = true;
ViewBag.Title = "Categories";
}

Expand Down
4 changes: 4 additions & 0 deletions src/Moonglade.Web/wwwroot/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 8358cd0

Please sign in to comment.