chore: prettier format PollContent.tsx and index.css
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -284,9 +284,7 @@ export function PollContent({
|
|||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
inset: 0,
|
inset: 0,
|
||||||
width: `${pct}%`,
|
width: `${pct}%`,
|
||||||
background: selected
|
background: selected ? 'var(--bg-surface-active)' : 'var(--bg-surface-low)',
|
||||||
? 'var(--bg-surface-active)'
|
|
||||||
: 'var(--bg-surface-low)',
|
|
||||||
borderRadius: '8px',
|
borderRadius: '8px',
|
||||||
pointerEvents: 'none',
|
pointerEvents: 'none',
|
||||||
}}
|
}}
|
||||||
|
|||||||
+3
-3
@@ -12,7 +12,7 @@
|
|||||||
/* semantic surface vars used by poll, location, upload card, gif picker */
|
/* semantic surface vars used by poll, location, upload card, gif picker */
|
||||||
--bg-surface: #ffffff;
|
--bg-surface: #ffffff;
|
||||||
--bg-surface-low: rgba(0, 0, 0, 0.04);
|
--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);
|
--bg-surface-border: rgba(0, 0, 0, 0.14);
|
||||||
--text-primary: #1a1a1a;
|
--text-primary: #1a1a1a;
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
/* semantic surface vars — dark overrides */
|
/* semantic surface vars — dark overrides */
|
||||||
--bg-surface: #25272e;
|
--bg-surface: #25272e;
|
||||||
--bg-surface-low: rgba(255, 255, 255, 0.05);
|
--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);
|
--bg-surface-border: rgba(255, 255, 255, 0.12);
|
||||||
--text-primary: #e0e5ed;
|
--text-primary: #e0e5ed;
|
||||||
|
|
||||||
@@ -148,7 +148,7 @@ textarea {
|
|||||||
}
|
}
|
||||||
.dark-theme [data-caption-input]:focus-visible,
|
.dark-theme [data-caption-input]:focus-visible,
|
||||||
.butter-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);
|
box-shadow: 0 0 0 2px rgba(100, 160, 255, 0.18);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user