diff --git a/frontend/src/components/users/BehaviourSettingsSection.tsx b/frontend/src/components/users/BehaviourSettingsSection.tsx index d5208a1..8399a35 100644 --- a/frontend/src/components/users/BehaviourSettingsSection.tsx +++ b/frontend/src/components/users/BehaviourSettingsSection.tsx @@ -11,8 +11,7 @@ import type { ClientAnimationMode, ClientBehaviorSettings, ClientEmbedAutoLoadMode, ClientLinkPreloadMode, - ClientTagRelationDisplayMode, - ClientThumbnailMode } from '@/lib/settings' + ClientTagRelationDisplayMode } from '@/lib/settings' type Props = { sectionClassName: string @@ -31,9 +30,9 @@ type SegmentedControlProps = { onChange: (value: T) => void } type SettingBlockProps = { - title: string - description: string - children: ReactNode } + title: string + description?: string + children: ReactNode } const animationOptions: SegmentedOption[] = [ { value: 'off', label: 'なし' }, @@ -53,12 +52,6 @@ const tagRelationDisplayOptions: SegmentedOption[] { value: 'flat', label: 'まとめない' }, { value: 'grouped', label: 'まとめる' }] -const thumbnailModeOptions: SegmentedOption[] = [ - { value: 'off', label: '非表示' }, - { value: 'light', label: '軽量' }, - { value: 'normal', label: '通常' }] - - const SegmentedControl = ( { value, options, onChange }: SegmentedControlProps, ) => { diff --git a/frontend/src/pages/theatres/TheatreDetailPage.tsx b/frontend/src/pages/theatres/TheatreDetailPage.tsx index 2a99a9f..43a7e8b 100644 --- a/frontend/src/pages/theatres/TheatreDetailPage.tsx +++ b/frontend/src/pages/theatres/TheatreDetailPage.tsx @@ -57,8 +57,6 @@ const INITIAL_THEATRE_INFO: TheatreInfo = const INITIAL_WEIGHTS: TheatrePostSelectionWeights = { tagPenalties: [], lightestPosts: [], heaviestPosts: [] } -const LAYOUT_STORAGE_KEY = 'theatre-layout-mode' -const TAG_FLOW_STORAGE_KEY = 'theatre-tag-flow' const MIN_MAIN_WIDTH = 360 const SIDEBAR_GAP_WIDTH = 16 diff --git a/frontend/src/pages/users/SettingPage.tsx b/frontend/src/pages/users/SettingPage.tsx index fa809e4..a72b6ab 100644 --- a/frontend/src/pages/users/SettingPage.tsx +++ b/frontend/src/pages/users/SettingPage.tsx @@ -168,24 +168,7 @@ const themeTokenGroups: ThemeTokenGroupSpec[] = [ fields: [ { key: 'background', label: '背景' }, { key: 'foreground', label: '文字' }, - { key: 'primary', label: '主色' }, - { key: 'accent', label: 'アクセント' }, - { key: 'link', label: 'リンク' }, - ] }, - { title: '面', - fields: [ - { key: 'card', label: 'カード' }, - { key: 'muted', label: '薄い背景' }, - { key: 'border', label: '境界線' }, - ] }, - { title: '上部ナビ', - fields: [ - { key: 'topNavRootBackgroundMobile', label: 'スマホ背景' }, - { key: 'topNavRootBackgroundDesktop', label: 'PC 背景' }, - { key: 'topNavActiveBackground', label: '選択中背景' }, - { key: 'topNavBrandLink', label: 'ロゴ色' }, - ] }, -] + { key: 'link', label: 'リンク' }] }] const ThemeSegmentedControl = ( @@ -498,8 +481,6 @@ const ThemeSection: FC = ( draftActiveDarkThemeSlotNo, currentDisplayedThemeSlot, selectedTheme, - displayedThemeLabel, - systemThemeLabel, hasUnsavedChanges, settingsBaseErrors, settingsFieldErrors,