Spaces:
Running
Running
""" | |
Base styles for the leaderboard application. | |
""" | |
import streamlit as st | |
from src.styles.theme import get_theme_css | |
from src.styles.components import get_all_component_styles | |
from src.styles.tables import get_all_table_styles | |
def load_all_styles(): | |
""" | |
Load and apply all CSS styles for the application | |
""" | |
styles = [ | |
get_theme_css(), | |
get_all_component_styles(), | |
get_all_table_styles() | |
] | |
combined_styles = "\n".join(styles) | |
# Apply all styles to the page | |
st.markdown( | |
f"<style>{combined_styles}</style>", | |
unsafe_allow_html=True | |
) |