Skip to content

Commit

Permalink
support dark theme on image settings
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Sep 29, 2024
1 parent 216b0cf commit 262ea3d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/Moonglade.Web/Pages/Settings/Image.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</script>
}
@{
ViewBag.ThemeSwitchReady = true;
var settings = BlogConfig.ImageSettings;
}

Expand All @@ -24,7 +25,7 @@
@SharedLocalizer["General"]
</h4>

<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border bg-white mb-2">
<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border mb-2">
<div class="col-auto">
<i class="bi-fullscreen settings-entry-icon"></i>
</div>
Expand All @@ -44,7 +45,7 @@
CDN
</h4>

<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border bg-white mb-2">
<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border mb-2">
<div class="col-auto">
<i class="bi-globe settings-entry-icon"></i>
</div>
Expand All @@ -59,7 +60,7 @@
</div>
</div>

<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border bg-white mb-2">
<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border mb-2">
<div class="col-auto">
<i class="bi-link settings-entry-icon"></i>
</div>
Expand All @@ -81,7 +82,7 @@
@SharedLocalizer["Watermark"]
</h4>

<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border bg-white mb-2">
<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border mb-2">
<div class="col-auto">
<i class="bi-file-earmark-font settings-entry-icon"></i>
</div>
Expand All @@ -99,7 +100,7 @@
</div>
</div>

<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border bg-white mb-2">
<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border mb-2">
<div class="col-auto">
<i class="bi-images settings-entry-icon"></i>
</div>
Expand All @@ -117,7 +118,7 @@
</div>
</div>

<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border bg-white mb-2">
<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border mb-2">
<div class="col-auto">
<i class="bi-input-cursor-text settings-entry-icon"></i>
</div>
Expand All @@ -129,7 +130,7 @@
</div>
</div>

<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border bg-white mb-2">
<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border mb-2">
<div class="col-auto">
<i class="bi-input-cursor-text settings-entry-icon"></i>
</div>
Expand All @@ -144,7 +145,7 @@
</div>
</div>

<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border bg-white mb-2">
<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border mb-2">
<div class="col-auto">
<i class="bi-palette settings-entry-icon"></i>
</div>
Expand All @@ -163,7 +164,7 @@
</div>
</div>

<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border bg-white mb-2">
<div class="settings-entry row align-items-center py-3 px-2 rounded-3 shadow-sm border mb-2">
<div class="col-auto">
<i class="bi-fonts settings-entry-icon"></i>
</div>
Expand Down

0 comments on commit 262ea3d

Please sign in to comment.