Skip to content

Commit 39c3933

Browse files
committed
New theme added to theme.py: FomanticUI
1 parent f82f6b6 commit 39c3933

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flask_admin/theme.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,10 @@ class BootstrapTheme(Theme):
1717
fluid: bool = False
1818

1919

20+
@dataclass
21+
class FomanticUI(Theme):
22+
folder: typing.Literal["fomanticui"] = "fomanticui"
23+
base_template: str = "admin/base.html"
24+
25+
2026
Bootstrap4Theme = partial(BootstrapTheme, folder="bootstrap4")

0 commit comments

Comments
 (0)