From 6134c3611999cef09bc75025c85052b5d0b61598 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sat, 23 May 2026 23:02:34 -0400 Subject: [PATCH] chore: prettier format PollContent.tsx and index.css Co-Authored-By: Claude Sonnet 4.6 --- src/app/components/message/content/PollContent.tsx | 4 +--- src/index.css | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/app/components/message/content/PollContent.tsx b/src/app/components/message/content/PollContent.tsx index 86b8152b8..d2022c057 100644 --- a/src/app/components/message/content/PollContent.tsx +++ b/src/app/components/message/content/PollContent.tsx @@ -284,9 +284,7 @@ export function PollContent({ position: 'absolute', inset: 0, width: `${pct}%`, - background: selected - ? 'var(--bg-surface-active)' - : 'var(--bg-surface-low)', + background: selected ? 'var(--bg-surface-active)' : 'var(--bg-surface-low)', borderRadius: '8px', pointerEvents: 'none', }} diff --git a/src/index.css b/src/index.css index 89a7f0206..5dc114471 100644 --- a/src/index.css +++ b/src/index.css @@ -12,7 +12,7 @@ /* semantic surface vars used by poll, location, upload card, gif picker */ --bg-surface: #ffffff; --bg-surface-low: rgba(0, 0, 0, 0.04); - --bg-surface-active: rgba(0, 0, 0, 0.10); + --bg-surface-active: rgba(0, 0, 0, 0.1); --bg-surface-border: rgba(0, 0, 0, 0.14); --text-primary: #1a1a1a; @@ -37,7 +37,7 @@ /* semantic surface vars — dark overrides */ --bg-surface: #25272e; --bg-surface-low: rgba(255, 255, 255, 0.05); - --bg-surface-active: rgba(255, 255, 255, 0.10); + --bg-surface-active: rgba(255, 255, 255, 0.1); --bg-surface-border: rgba(255, 255, 255, 0.12); --text-primary: #e0e5ed; @@ -148,7 +148,7 @@ textarea { } .dark-theme [data-caption-input]:focus-visible, .butter-theme [data-caption-input]:focus-visible { - border-color: rgba(100, 160, 255, 0.60); + border-color: rgba(100, 160, 255, 0.6); box-shadow: 0 0 0 2px rgba(100, 160, 255, 0.18); }