저장팝업 텍스트 색상 수정

This commit is contained in:
Macbook
2026-05-26 23:50:13 +09:00
parent 94e96b9a9b
commit fe812389cc
13 changed files with 728 additions and 62 deletions
+13 -3
View File
@@ -1,7 +1,17 @@
import type { IndicatorCategory } from './indicatorRegistry';
/** 지표 선택 팝업 탭 키 */
export type IndicatorTabKey = IndicatorCategory | 'All' | 'Main';
export type IndicatorTabKey = 'All' | 'Main' | `custom:${string}`;
export function customTabKey(id: string): IndicatorTabKey {
return `custom:${id}`;
}
export function parseCustomTabKey(key: IndicatorTabKey): string | null {
return key.startsWith('custom:') ? key.slice(7) : null;
}
export function isCustomTabKey(key: IndicatorTabKey): key is `custom:${string}` {
return key.startsWith('custom:');
}
/** Main 탭 고정 지표 (표시 순서) */
export const MAIN_INDICATOR_TYPES: readonly string[] = [