themes: add theme field to ThemeOptions for better key ordering

This commit is contained in:
Sina Atalay 2024-02-27 19:59:50 +01:00
parent 42329a9319
commit 2151830d43
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,8 @@ class ThemeOptions(pydantic.BaseModel):
duplication.
"""
theme: Literal["tobeoverwritten"]
model_config = pydantic.ConfigDict(extra="forbid")
font_size: Literal["10pt", "11pt", "12pt"] = pydantic.Field(