customizing-streamlit-theme
CommunityEasily style Streamlit apps with themes
Authorcathayrisk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Streamlit apps often look inconsistent or require fragile CSS hacks to match brand colors and UX expectations; this Skill explains how to apply reliable, maintainable theming so apps look consistent across updates and users.
Core Features & Use Cases
- Configure global colors, fonts, and light/dark bases via the app configuration file to ensure consistent UI across pages and widgets.
- Define separate light and dark theme variants so users can switch modes without breaking visuals, and detect the active theme at runtime for adaptive logic.
- Provide guidance to avoid custom CSS, and when necessary, recommend using key-based widget targeting for minimal, targeted overrides.
- Use Case: Quickly standardize the appearance of internal dashboards and public demos by setting primaryColor, backgroundColor, and fonts in the Streamlit config.
Quick Start
Edit your .streamlit/config.toml to set primaryColor, backgroundColor, secondaryBackgroundColor, and font, then restart the app to see the theme applied.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: customizing-streamlit-theme Download link: https://github.com/cathayrisk/Anya/archive/main.zip#customizing-streamlit-theme Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.