feat: register minecraft theme slug

This commit is contained in:
xuyue committed 2026-05-18 03:54:29 -06:00
1 parent c46cd06954
commit 4cd9a13f3b
2 files changed
+4

No files matched your search

+3
View File
@@ -46,6 +46,9 @@
<li role="option" data-value="animal-crossing" aria-selected="false">
Animal Crossing
</li>
<li role="option" data-value="minecraft" aria-selected="false">
Minecraft
</li>
</ul>
</label>
<label class="design-theme language-switch">
+1
View File
@@ -5,6 +5,7 @@ const DESIGN_THEMES = [
"cyberpunk",
"nord",
"animal-crossing",
"minecraft",
]
const FORCED_DARK_DESIGN_THEMES = new Set(["terminal", "cyberpunk"])
const THEME_BEFORE_FORCED_KEY = "themeBeforeForcedDark"