"""Shared, intentionally small Streamlit presentation primitives.""" from __future__ import annotations from html import escape from typing import Any from .profile import AppProfile def apply_console_theme(st: Any, profile: AppProfile) -> None: """Apply one predictable light theme from the product profile.""" st.markdown( f""" """, unsafe_allow_html=True, ) def render_console_header(st: Any, profile: AppProfile) -> None: st.markdown( f"""{escape(profile.short_name)} {escape(profile.header_title)}{escape(profile.header_description)}""", unsafe_allow_html=True, ) def render_login_brand(st: Any, profile: AppProfile) -> None: st.markdown( f"""{escape(profile.short_name)} {escape(profile.login_kicker)}{escape(profile.login_title)} {escape(profile.login_description)}""", unsafe_allow_html=True, )
{escape(profile.header_description)}
{escape(profile.login_kicker)}
{escape(profile.login_description)}