diff --git a/packages/client/src/components/hermes/settings/DisplaySettings.vue b/packages/client/src/components/hermes/settings/DisplaySettings.vue index cda6968..0bcb479 100644 --- a/packages/client/src/components/hermes/settings/DisplaySettings.vue +++ b/packages/client/src/components/hermes/settings/DisplaySettings.vue @@ -3,7 +3,6 @@ import { computed } from 'vue' import { useMessage } from '@/composables/useMessage' import { useI18n } from 'vue-i18n' import { useSettingsStore } from '@/stores/hermes/settings' -import { useTheme, type BrightnessMode } from '@/composables/useTheme' import { requestCompletionNotificationPermission, showCompletionNotification, type CompletionNotificationPermissionResult } from '@/utils/completion-notification' import { clampChatInputHeight, MAX_CHAT_INPUT_HEIGHT, MIN_CHAT_INPUT_HEIGHT } from '@/utils/chat-input-height' import SettingRow from './SettingRow.vue' @@ -11,13 +10,7 @@ import SettingRow from './SettingRow.vue' const settingsStore = useSettingsStore() const message = useMessage() const { t } = useI18n() -const { brightness, setBrightness } = useTheme() -const themeOptions = [ - { label: t('settings.display.themeLight'), value: 'light' }, - { label: t('settings.display.themeDark'), value: 'dark' }, - { label: t('settings.display.themeSystem'), value: 'system' }, -] const chatInputHeight = computed(() => clampChatInputHeight(settingsStore.display.chat_input_height)) async function save(values: Record) { @@ -29,12 +22,6 @@ async function save(values: Record) { } } -function handleThemeChange(val: string) { - const m = val as BrightnessMode - setBrightness(m) - save({ skin: m }) -} - function handleChatInputHeightChange(value: number | null) { return save({ chat_input_height: clampChatInputHeight(value) }) } @@ -90,9 +77,6 @@ async function testCompletionNotification() {