feat: register minecraft theme slug

This commit is contained in:
2026-05-18 03:54:29 -06:00
parent c46cd06954
commit 4cd9a13f3b
2 changed files with 4 additions and 0 deletions

View File

@@ -46,6 +46,9 @@
<li role="option" data-value="animal-crossing" aria-selected="false"> <li role="option" data-value="animal-crossing" aria-selected="false">
Animal Crossing Animal Crossing
</li> </li>
<li role="option" data-value="minecraft" aria-selected="false">
Minecraft
</li>
</ul> </ul>
</label> </label>
<label class="design-theme language-switch"> <label class="design-theme language-switch">

View File

@@ -5,6 +5,7 @@ const DESIGN_THEMES = [
"cyberpunk", "cyberpunk",
"nord", "nord",
"animal-crossing", "animal-crossing",
"minecraft",
] ]
const FORCED_DARK_DESIGN_THEMES = new Set(["terminal", "cyberpunk"]) const FORCED_DARK_DESIGN_THEMES = new Set(["terminal", "cyberpunk"])
const THEME_BEFORE_FORCED_KEY = "themeBeforeForcedDark" const THEME_BEFORE_FORCED_KEY = "themeBeforeForcedDark"