""" shared/theme.py — Theme CSS for the Streamlit Unified Router. """ def get_theme_css(dark_mode: bool) -> str: """Returns the CSS string for the requested theme mode, hiding the deploy menu and upgrading the UI.""" # Common CSS to hide Streamlit header, footer, and deploy menu hide_streamlit_style = """ """ if dark_mode: return hide_streamlit_style + """ """ else: return hide_streamlit_style + """ """