# src/brand.py from __future__ import annotations import streamlit as st from string import Template # Brand palette PRIMARY = "#2563EB" # Indigo 600 PRIMARY_DARK = "#1E40AF" # Indigo 800 PRIMARY_700 = "#1B2F7A" SUCCESS = "#10B981" # Emerald 500 WARNING = "#F59E0B" # Amber 500 DANGER = "#DC2626" # Red 600 TEXT = "#111827" # Gray 900 MUTED = "#6B7280" # Gray 500 PAGE_BG = "#F7F8FB" CARD_BG = "#FFFFFF" CARD_BORDER = "#E7E9F1" # src/brand.py import streamlit as st def inject_brand_css(): st.markdown(""" """, unsafe_allow_html=True) def page_header(title: str, subtitle: str | None = None, icon: str | None = None) -> None: ico = f"{icon}" if icon else "" sub = f"
{subtitle}
" if subtitle else "" st.markdown( f"
{ico}{title}
{sub}
", unsafe_allow_html=True, ) def card_start() -> None: st.markdown("
", unsafe_allow_html=True) def card_end() -> None: st.markdown("
", unsafe_allow_html=True) # src/brand.py import streamlit as st def inject_enterprise_chat_css(): st.markdown( """ """, unsafe_allow_html=True, )