Spaces:
Sleeping
Sleeping
| """ | |
| Theme definitions and color scheme for the leaderboard application. | |
| """ | |
| from src.utils.config import dark_theme | |
| def get_theme_css(): | |
| """ | |
| Get the base theme CSS for the application | |
| Returns: | |
| str: CSS string for the theme | |
| """ | |
| return f""" | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| html, body, [class*="css"] {{ | |
| font-family: 'Inter', sans-serif; | |
| background-color: {dark_theme['bg_color']}; | |
| color: {dark_theme['text_color']}; | |
| }} | |
| h1, h2, h3, h4, h5, h6 {{ | |
| font-family: 'Inter', sans-serif; | |
| font-weight: 600; | |
| color: {dark_theme['heading_color']}; | |
| }} | |
| .main {{ | |
| background-color: {dark_theme['bg_color']}; | |
| }} | |
| """ |