diff --git a/server.py b/server.py index 6b94228..01aac81 100644 --- a/server.py +++ b/server.py @@ -218,200 +218,71 @@ def sign_activity(activity: dict, username: str) -> dict: # ============ HTML Templates ============ +# Tailwind CSS config for L2 - dark theme to match L1 +TAILWIND_CONFIG = ''' + + + +''' + + def base_html(title: str, content: str, username: str = None) -> str: - """Base HTML template.""" + """Base HTML template with Tailwind CSS dark theme.""" user_section = f''' -
- Logged in as {username} - +
+ Logged in as {username} +
''' if username else ''' -