Skip to content

Commit cda7d3d

Browse files
authored
fix: make 'Learn More' link functional in theme settings (#10078)
1 parent 9802ceb commit cda7d3d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/app/src/components/settings-general.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { useTheme, type ColorScheme } from "@opencode-ai/ui/theme"
55
import { useLanguage } from "@/context/language"
66
import { useSettings, monoFontFamily } from "@/context/settings"
77
import { playSound, SOUND_OPTIONS } from "@/utils/sound"
8+
import { Link } from "./link"
89

910
export const SettingsGeneral: Component = () => {
1011
const theme = useTheme()
@@ -107,9 +108,9 @@ export const SettingsGeneral: Component = () => {
107108
description={
108109
<>
109110
{language.t("settings.general.row.theme.description")}{" "}
110-
<a href="#" class="text-text-interactive-base">
111+
<Link href="https://opencode.ai/docs/themes/">
111112
{language.t("common.learnMore")}
112-
</a>
113+
</Link>
113114
</>
114115
}
115116
>

0 commit comments

Comments
 (0)