:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(quill): lighter dark-mode chrome and subtle-foreground bridge (#116198)
Adam Leith77511a777dbf
diff --git a/frontend/src/styles/quill-bridge.scss b/frontend/src/styles/quill-bridge.scssindex 221ec6b88d09..d568d7fa5b13 100644--- a/frontend/src/styles/quill-bridge.scss+++ b/frontend/src/styles/quill-bridge.scss@@ -179,6 +179,10 @@color: var(--muted-foreground);}+[data-quill] .text-subtle-foreground {+ color: var(--subtle-foreground);+}+[data-quill] .text-card-foreground {color: var(--card-foreground);}diff --git a/packages/quill/packages/tokens/src/colors.ts b/packages/quill/packages/tokens/src/colors.tsindex 329ea9e72a31..0d47f790f079 100644--- a/packages/quill/packages/tokens/src/colors.ts+++ b/packages/quill/packages/tokens/src/colors.ts@@ -108,11 +108,13 @@ export function buildSemanticColors(): Record<string, ColorTuple> {'text-subtle-foreground',],- // Chrome — UI furniture surface (toolbars, menubars, nav). Matched to- // PostHog app's --color-bg-surface-tertiary: light hsl(77 13% 89%),- // dark hsl(240 8% 8%), in OKLCH. Hue stays theme-derived; chroma is- // near-zero so the hue offset is imperceptible.- chrome: [surface(0.923, 1.67, 'light'), surface(0.187, 1.1, 'dark'), 'bg-chrome'],+ // Chrome — UI furniture surface (toolbars, menubars, nav). Light matches+ // PostHog app's --color-bg-surface-tertiary, hsl(77 13% 89%), in OKLCH.+ // Dark sits a step above `background` instead of on it, so the chrome+ // and the content stay apart as they do in light mode, where chrome+ // sits a step below. Hue stays theme-derived; chroma is near-zero so+ // the hue offset is imperceptible.+ chrome: [surface(0.923, 1.67, 'light'), surface(0.225, 1.1, 'dark'), 'bg-chrome'],// ── Brand (driven by --primary-light / --primary-dark) ─primary: ['var(--primary-light)', 'var(--primary-dark)', 'bg-primary'],