diff options
| author | Tyler <tyler@tylerhoang.xyz> | 2026-05-13 23:50:05 -0700 |
|---|---|---|
| committer | Tyler <tyler@tylerhoang.xyz> | 2026-05-13 23:50:05 -0700 |
| commit | a82246e83146d1dd7f565493215c23ff482975e6 (patch) | |
| tree | 9883a45ed69587b57a90cbdc0cdd31845371a31f /app.py | |
| parent | 64ea2681ceb403f021d13c39931f67321d11425b (diff) | |
Add Multiples view; fix Recompute button text color
- Collapse model picker from 4 tabs → 2: DCF and Multiples, persisted
in session_state["models_view"]
- New Multiples view: summary band, interactive comparison grid (8 math
rows × 3 methods), sensitivity strip, DCF cross-check, footer
- In-canvas sliders with sector marker + typical-band shading; JS
recomputes all derived values live without a Streamlit rerun
- Sector medians computed from peer ratios via FMP; falls back to
reasonable defaults when peer data is unavailable
- DCF intrinsic stored in session_state["dcf_intrinsic"] so the
cross-check on the Multiples tab reads the live DCF value
- P/Book applicability shows ◐ + warning color for asset-light
companies instead of the solid ● used for strong-fit methods
- Fix Recompute button text: target inner <p>/<span> with
color: var(--brass-ink) to override Streamlit's fg-2 default
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -166,6 +166,13 @@ button[kind="primary"]:hover, border: none !important; } +[data-testid="stBaseButton-primary"] p, +[data-testid="stBaseButton-primary"] span, +button[kind="primary"] p, +button[kind="primary"] span { + color: var(--brass-ink) !important; +} + button[kind="secondary"] { background: var(--ink-3) !important; color: var(--fg-2) !important; |
