"""Futuristic theme injection for Streamlit.""" import streamlit as st from pathlib import Path def inject_theme(): """Inject custom CSS and hide default Streamlit chrome.""" css_path = Path(__file__).parent / "assets" / "theme.css" if css_path.exists(): css = css_path.read_text() else: css = "" st.markdown(f"", unsafe_allow_html=True) def hero_header(title, subtitle="", github_url="https://github.com/siddhant-rajhans/cortexlab"): """Render a futuristic hero header with gradient title.""" st.markdown(f"""
""", unsafe_allow_html=True) def glow_card(title, value, subtitle="", color="#06B6D4"): """Render a glowing metric card.""" st.markdown(f"""" + description + "
" if description else ""}