Skip to content

: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.

fix(quill): bind lemon accent colours to the quill brand colour (#113644)

Paul D'Ambraa33f8c77c1f2
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index 33b0b7cd1e94..df89f65bf650 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -4912,6 +4912,10 @@ snapshots:
hash: v1.k794b7964.62e3a38915252a5f243b51fa86a3298c538f623d6d56c1f6769f5e89ceb4902e.S_1ANdKJQ-ZnVEdbNDu-WFvJCMeF-snDCnnQ2QyxJ1E
lemon-ui-lemon-checkbox--disabled-with-reason--light:
hash: v1.k794b7964.b0a2fccfb07a4f727e3715e9c41f2ebf99a7c073931632d1f4ebb1d1fb51d520.AZRkAIA6PvBi1hVyYg_9CHGjIoojkHgaZO-Qhb5nn3Q
+ lemon-ui-lemon-checkbox--inside-quill--dark:
+ hash: v1.k794b7964.af0fb67405f1beab2c155f88360b8234089eddc44bc490fc33f9c40b03fdf7f1.soHolFJuF5cydtTvlDdsBOMUCeXl6n63wLo2jvtykW8
+ lemon-ui-lemon-checkbox--inside-quill--light:
+ hash: v1.k794b7964.057c6e2b56973991884ede4faa292fce642c4ff0bb8524a895f5c30831b6e22e.LkWNIOrTq6xQ3NAKyVuM9vRJc3u6Er_ay7R4MhSNrHk
lemon-ui-lemon-checkbox--no-label--dark:
hash: v1.k794b7964.8fcd40cc0e10a313b751b5883629c3a079aac8bbcf0e35491af7423969d6bf77.byEK2MKk55Xrp2g0YsVZ96xDOgXWYV6MJHsG4C6J238
lemon-ui-lemon-checkbox--no-label--light:
@@ -10039,7 +10043,7 @@ snapshots:
scenes-app-errortracking--group-page-breakdown-loading--light:
hash: v1.k794b7964.08b5e33662e0b5cb3c443afa5cc5e72950b0c5457d3c8f4aa3e3f7ed8481125c.Qdd9x1WK84uVtOPXctI5q6duXEibFcuFpYrFK_hoqrA
scenes-app-errortracking--group-page-breakdown-modal--dark:
- hash: v1.k794b7964.ed3b3948ba6dacd684118a2b0435cc256d562832e9c6c48714fb63c6ccc03fb5.hvoGqWd072_Djnsi6KCgl27r_EE07Lc1kXWimIzJ2aM
+ hash: v1.k794b7964.170fa9fd6b187e63c0994f57165ee6a52f3f4dafef69a59795ee253e1f99f32c.MGzJp6H3dNk9edhiTYGZ9XlrRJnth9WFEuPJP0sSuCo
scenes-app-errortracking--group-page-breakdown-modal--light:
hash: v1.k794b7964.591008ca5806639db31343147de6fa7b5b9b2e3b76b6801ea0c1ffef2118bf59.HmdNhAcZTI60EqNfqRbd8B70NkmZ8LzSFqpNCzeG7K4
scenes-app-errortracking--group-page-breakdown-modal-loading--dark:
diff --git a/frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.stories.tsx b/frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.stories.tsx
index 060e2627a06c..10c391c85c14 100644
--- a/frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.stories.tsx
+++ b/frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.stories.tsx
@@ -39,6 +39,18 @@ export const Overview: Story = {
},
}
+export const InsideQuill: Story = {
+ render: () => {
+ return (
+ <div data-quill className="deprecated-space-y-2">
+ <LemonCheckbox label="Unchecked" />
+ <LemonCheckbox label="Checked" checked />
+ <LemonCheckbox label="Indeterminate" checked="indeterminate" />
+ </div>
+ )
+ },
+}
+
export const Disabled: Story = {
args: {
label: "You can't check this out",
diff --git a/frontend/src/styles/quill-bridge.scss b/frontend/src/styles/quill-bridge.scss
index 298a9361f16e..221ec6b88d09 100644
--- a/frontend/src/styles/quill-bridge.scss
+++ b/frontend/src/styles/quill-bridge.scss
@@ -87,9 +87,9 @@
--color-text-secondary: var(--muted-foreground);
--color-border-primary: var(--border);
--color-border-secondary: var(--border);
- --color-accent: var(--accent);
- --color-accent-hover: var(--accent);
- --color-accent-active: var(--accent);
+ --color-accent: var(--primary);
+ --color-accent-hover: var(--primary);
+ --color-accent-active: var(--primary);
}
/*
@@ -132,10 +132,6 @@
background-color: var(--input);
}
-[data-quill] .bg-accent {
- background-color: var(--accent);
-}
-
[data-quill] .bg-fill-hover {
background-color: var(--fill-hover);
}