fix: make 'Learn More' link functional in theme settings (#10078)

This commit is contained in:
Aryan "LAG" Gupta
2026-01-22 23:53:29 +05:30
committed by GitHub
parent 9802ceb94f
commit cda7d3dd78

View File

@@ -5,6 +5,7 @@ import { useTheme, type ColorScheme } from "@opencode-ai/ui/theme"
import { useLanguage } from "@/context/language" import { useLanguage } from "@/context/language"
import { useSettings, monoFontFamily } from "@/context/settings" import { useSettings, monoFontFamily } from "@/context/settings"
import { playSound, SOUND_OPTIONS } from "@/utils/sound" import { playSound, SOUND_OPTIONS } from "@/utils/sound"
import { Link } from "./link"
export const SettingsGeneral: Component = () => { export const SettingsGeneral: Component = () => {
const theme = useTheme() const theme = useTheme()
@@ -107,9 +108,9 @@ export const SettingsGeneral: Component = () => {
description={ description={
<> <>
{language.t("settings.general.row.theme.description")}{" "} {language.t("settings.general.row.theme.description")}{" "}
<a href="#" class="text-text-interactive-base"> <Link href="https://opencode.ai/docs/themes/">
{language.t("common.learnMore")} {language.t("common.learnMore")}
</a> </Link>
</> </>
} }
> >