summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/components/settings-general.tsx
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2026-01-20 21:52:50 +0000
committerDavid Hill <[email protected]>2026-01-20 21:53:17 +0000
commit7be6671e6ea797a38aae1a6673faf74768199d07 (patch)
treec611fa458c6a960b34b0c0c1f6cbb58b2396aef1 /packages/app/src/components/settings-general.tsx
parent575cc59b376bbd9420f6a9d94fa6d121914c535a (diff)
downloadopencode-7be6671e6ea797a38aae1a6673faf74768199d07.tar.gz
opencode-7be6671e6ea797a38aae1a6673faf74768199d07.zip
refactor Select component to use settings variant for settings modal styling
Diffstat (limited to 'packages/app/src/components/settings-general.tsx')
-rw-r--r--packages/app/src/components/settings-general.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/app/src/components/settings-general.tsx b/packages/app/src/components/settings-general.tsx
index 4e0fa765f..e8749cbde 100644
--- a/packages/app/src/components/settings-general.tsx
+++ b/packages/app/src/components/settings-general.tsx
@@ -69,6 +69,7 @@ export const SettingsGeneral: Component = () => {
}}
variant="secondary"
size="small"
+ triggerVariant="settings"
/>
</SettingsRow>
@@ -99,6 +100,7 @@ export const SettingsGeneral: Component = () => {
}}
variant="secondary"
size="small"
+ triggerVariant="settings"
/>
</SettingsRow>
@@ -111,6 +113,7 @@ export const SettingsGeneral: Component = () => {
onSelect={(option) => option && settings.appearance.setFont(option.value)}
variant="secondary"
size="small"
+ triggerVariant="settings"
triggerStyle={{ "font-family": monoFontFamily(settings.appearance.font()), "min-width": "180px" }}
>
{(option) => <span style={{ "font-family": monoFontFamily(option?.value) }}>{option?.label}</span>}
@@ -172,6 +175,7 @@ export const SettingsGeneral: Component = () => {
}}
variant="secondary"
size="small"
+ triggerVariant="settings"
/>
</SettingsRow>
@@ -192,6 +196,7 @@ export const SettingsGeneral: Component = () => {
}}
variant="secondary"
size="small"
+ triggerVariant="settings"
/>
</SettingsRow>
@@ -212,6 +217,7 @@ export const SettingsGeneral: Component = () => {
}}
variant="secondary"
size="small"
+ triggerVariant="settings"
/>
</SettingsRow>
</div>