: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
fix(llma): respect dark mode in skill version compare diff (#60293)
Fernando Gomes539042577799
diff --git a/products/llm_analytics/frontend/skills/LLMSkillScene.tsx b/products/llm_analytics/frontend/skills/LLMSkillScene.tsxindex ea9947e2ae08..ae1000d9c208 100644--- a/products/llm_analytics/frontend/skills/LLMSkillScene.tsx+++ b/products/llm_analytics/frontend/skills/LLMSkillScene.tsx@@ -17,6 +17,7 @@ import { LemonSkeleton } from 'lib/lemon-ui/LemonSkeleton'import { SceneExport } from 'scenes/sceneTypes'import { urls } from 'scenes/urls'+import { themeLogic } from '~/layout/navigation-3000/themeLogic'import { SceneContent } from '~/layout/scenes/components/SceneContent'import { SceneTitleSection } from '~/layout/scenes/components/SceneTitleSection'import { ProductKey } from '~/queries/schema/schema-general'@@ -406,6 +407,7 @@ function SkillViewDetails(): JSX.Element {function SkillDiffView(): JSX.Element {const { skill, compareSkill, compareSkillLoading, compareVersion, compareVersionOptions } = useValues(llmSkillLogic)const { setCompareVersion } = useActions(llmSkillLogic)+ const { isDarkModeOn } = useValues(themeLogic)if (!skill || !isSkill(skill)) {return <></>@@ -453,6 +455,7 @@ function SkillDiffView(): JSX.Element {value={modified}modified={modified}language="markdown"+ theme={isDarkModeOn ? 'vs-dark' : 'vs-light'}options={{readOnly: true,renderSideBySide: true,