Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

style(insights): use Click UI muted token for KPI labels and 32/12 page spacing (#15551)

Daniel Xavier2656f44c038c
diff --git a/client/src/components/Insights/InsightsView.tsx b/client/src/components/Insights/InsightsView.tsx
index 6ca7ceb0d6..ef7a35d456 100644
--- a/client/src/components/Insights/InsightsView.tsx
+++ b/client/src/components/Insights/InsightsView.tsx
@@ -238,7 +238,7 @@ function KpiCard({ card, locale }: { card: KpiCardData; locale: string }) {
const localize = useLocalize();
return (
<Panel>
- <h2 className="text-lg font-normal text-text-secondary">{card.title}</h2>
+ <h2 className="text-sm font-normal text-text-muted">{card.title}</h2>
<div className="mt-3 text-4xl font-semibold tabular-nums leading-none text-text-primary">
{formatValue(card.value, locale)}
</div>
@@ -706,7 +706,7 @@ export default function InsightsView() {
</div>
</header>
<main className="min-h-0 flex-1 overflow-y-auto overflow-x-hidden">
- <div className="flex w-full min-w-0 flex-col gap-5 px-4 py-4 sm:px-5 md:px-6 lg:px-8">
+ <div className="flex w-full min-w-0 flex-col gap-3 px-8 pb-4 pt-8">
{insights.isLoading && <LoadingState message={localize('com_insights_loading')} />}
{insights.isError && (
<Panel className="flex items-center gap-2">
diff --git a/client/src/style.css b/client/src/style.css
index 5aa61e98ad..1c3d26dfbb 100644
--- a/client/src/style.css
+++ b/client/src/style.css
@@ -153,6 +153,7 @@ html {
--text-secondary: var(--gray-600);
--text-secondary-alt: var(--gray-500);
--text-tertiary: var(--gray-500);
+ --text-muted: 105 110 121; /* Click UI global.color.text.muted #696e79 */
--shimmer-dip: 129 130 134;
--shimmer-dip-alpha: 0.18;
--text-warning: var(--amber-700);
@@ -261,6 +262,7 @@ html {
--text-secondary: var(--gray-300);
--text-secondary-alt: var(--gray-400);
--text-tertiary: var(--gray-400);
+ --text-muted: 179 182 189; /* Click UI global.color.text.muted #b3b6bd */
--shimmer-base: 255 255 255;
--shimmer-base-alpha: 0.8;
--shimmer-dip: 179 179 179;
@@ -351,6 +353,7 @@ html {
--text-primary: var(--gizmo-gray-950);
--text-secondary: var(--gizmo-gray-600);
--text-tertiary: var(--gizmo-gray-500);
+ --text-muted: 105 110 121; /* Click UI global.color.text.muted #696e79 */
--surface-primary: var(--white);
--surface-secondary: var(--gray-50);
--surface-tertiary: var(--gray-100);
@@ -367,6 +370,7 @@ html {
--text-primary: var(--gray-100);
--text-secondary: var(--gray-300);
--text-tertiary: var(--gizmo-gray-500);
+ --text-muted: 179 182 189; /* Click UI global.color.text.muted #b3b6bd */
--surface-primary: var(--gray-900);
--surface-secondary: var(--gray-800);
--surface-tertiary: var(--gray-700);
diff --git a/packages/client/src/theme/utils/createTailwindColors.js b/packages/client/src/theme/utils/createTailwindColors.js
index 00f82ba2e0..040226e04a 100644
--- a/packages/client/src/theme/utils/createTailwindColors.js
+++ b/packages/client/src/theme/utils/createTailwindColors.js
@@ -69,6 +69,7 @@ function createTailwindColors() {
'text-secondary': cssVar('--text-secondary'),
'text-secondary-alt': cssVar('--text-secondary-alt'),
'text-tertiary': cssVar('--text-tertiary'),
+ 'text-muted': cssVar('--text-muted'),
'text-warning': cssVar('--text-warning'),
'text-destructive': cssVar('--text-destructive'),