aboutsummaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorTyler <tyler@tylerhoang.xyz>2026-05-14 01:01:02 -0700
committerTyler <tyler@tylerhoang.xyz>2026-05-14 01:01:02 -0700
commit764cd69bfc2e5a0cf504c8d6e4f032d35edd9a4c (patch)
tree0143dbd55cceded1b8f4a8c689888fa9a76152ca /app.py
parent679baae2773dc7eaf419648ac7a59c4734fca735 (diff)
Completely refreshed Key Ratios, Historical Ratios, and DCF/Multiples
tab.
Diffstat (limited to 'app.py')
-rw-r--r--app.py25
1 files changed, 24 insertions, 1 deletions
diff --git a/app.py b/app.py
index 6085f1c..ff5ba35 100644
--- a/app.py
+++ b/app.py
@@ -34,14 +34,37 @@ st.markdown("""
--brass-bright: #DCC79E;
--brass-deep: #8F7A50;
--brass-ink: #17120A;
+ --oxford: #1F3D5C;
+ --oxford-light: #2E5A87;
+ --burgundy: #6E2A2E;
+ --burgundy-light:#8B3A3F;
--positive: #4F8C5E;
--positive-bg: #15241A;
--negative: #B5494B;
--negative-bg: #2A1517;
--warning: #C49545;
+ --warning-bg: #2A1F0F;
+ --info: #4A78B5;
+ --info-bg: #11202E;
+ --focus-ring: rgba(194,170,122,0.55);
--font-display: 'EB Garamond', Georgia, serif;
--font-sans: 'IBM Plex Sans', 'Helvetica Neue', system-ui, sans-serif;
--font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
+ --fs-12: 0.75rem; --fs-13: 0.8125rem; --fs-14: 0.875rem;
+ --fs-16: 1rem; --fs-18: 1.125rem; --fs-20: 1.25rem;
+ --fs-24: 1.5rem; --fs-30: 1.875rem; --fs-38: 2.375rem;
+ --fs-48: 3rem; --fs-64: 4rem; --fs-88: 5.5rem;
+ --w-light: 300; --w-regular: 400; --w-medium: 500; --w-semibold: 600; --w-bold: 700;
+ --lh-tight: 1.05; --lh-snug: 1.2; --lh-normal: 1.45; --lh-relaxed: 1.6;
+ --tr-tight: -0.02em; --tr-snug: -0.01em; --tr-normal: 0; --tr-wide: 0.04em; --tr-wider: 0.12em;
+ --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
+ --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;
+ --r-0: 0; --r-1: 2px; --r-2: 4px; --r-3: 6px; --r-4: 8px; --r-full: 999px;
+ --shadow-1: 0 1px 0 rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
+ --shadow-2: 0 1px 0 rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.45);
+ --shadow-3: 0 2px 0 rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.55);
+ --shadow-inset: inset 0 1px 0 rgba(255,255,255,.04);
+ --shadow-brass: 0 0 0 1px rgba(194,170,122,.35), 0 6px 20px rgba(194,170,122,.18);
}
/* ── Base ───────────────────────────────────────────────────────────────── */
@@ -505,7 +528,7 @@ with st.sidebar:
elif query:
selected_symbol = query.upper()
- submitted = st.form_submit_button("Open", use_container_width=True, type="primary")
+ submitted = st.form_submit_button("Open", width="stretch", type="primary")
if submitted and selected_symbol:
st.session_state["ticker"] = selected_symbol