Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Scale the settings hint icon with the UI font size (#11429)

Michael Han65481cb4d40b
diff --git a/studio/frontend/src/features/settings/components/settings-row.tsx b/studio/frontend/src/features/settings/components/settings-row.tsx
index 5935512b0c7..a058785a5c2 100644
--- a/studio/frontend/src/features/settings/components/settings-row.tsx
+++ b/studio/frontend/src/features/settings/components/settings-row.tsx
@@ -79,9 +79,13 @@ export function SettingsRow({
aria-label={hint}
className="flex shrink-0 items-center rounded text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
+ {/* Sized off the token, not size-3.5: the label beside it is
+ scaled by the UI font size preference, and a fixed 14px
+ glyph drifts out of proportion with it. Same curve the
+ app's other small glyphs follow. */}
<HugeiconsIcon
icon={InformationCircleIcon}
- className="size-3.5"
+ className="size-[var(--ui-icon-size-sm)]"
/>
</button>
</TooltipTrigger>
diff --git a/studio/frontend/src/features/settings/components/usage-examples.tsx b/studio/frontend/src/features/settings/components/usage-examples.tsx
index cb2b1489d7b..e246186edbb 100644
--- a/studio/frontend/src/features/settings/components/usage-examples.tsx
+++ b/studio/frontend/src/features/settings/components/usage-examples.tsx
@@ -885,9 +885,11 @@ export function UsageExamples({
className="flex items-center rounded text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
aria-label={t("settings.apiKeys.secureHttpsHint")}
>
+ {/* Follows the UI font size, like the SettingsRow hint
+ this matches. */}
<HugeiconsIcon
icon={InformationCircleIcon}
- className="size-3.5"
+ className="size-[var(--ui-icon-size-sm)]"
/>
</button>
</TooltipTrigger>