Spaces:
Running
Running
File size: 802 Bytes
ed2eb44 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
"""
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']};
}}
""" |