WebHost: Validation for webworld themes (#5083)

This commit is contained in:
josephwhite
2025-11-15 10:55:13 -05:00
committed by GitHub
parent b3c323ede3
commit 24aa4af7c2
3 changed files with 21 additions and 10 deletions

View File

@@ -224,7 +224,7 @@ class WebWorld(metaclass=WebWorldRegister):
tutorials: List["Tutorial"]
"""docs folder will also be scanned for tutorial guides. Each Tutorial class is to be used for one guide."""
theme = "grass"
theme: str = "grass"
"""Choose a theme for you /game/* pages.
Available: dirt, grass, grassFlowers, ice, jungle, ocean, partyTime, stone"""