Spaces:
Running
Running
File size: 620 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 |
"""
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
) |