테마 유형

테마 식별자, 외형 패치 및 카탈로그 유형.

가져오기
import type { ChartTheme } from "@sixtyfold/themes";

위에 표시된 공개 진입점을 사용하세요. 타입 전용 가져오기는 애플리케이션 JavaScript에서 제거됩니다.

ChartThemeId

공개 차트 외형 프리셋 하나에 대한 안정된 식별자.

가져오기 @sixtyfold/themes타입

type ChartThemeId = (typeof PUBLIC_THEME_IDS)[number]

ChartThemePreset

내용에 중립적이고 깊이 불변하는 선 및 종목 외형 프리셋입니다.

가져오기 @sixtyfold/themes타입

type ChartThemePreset = DeepReadonly<{
    /** Stable catalog identifier. */
    id: ChartThemeId;
    /** Human-readable English display name. */
    label: string;
    /** Recommended surrounding-page color scheme. */
    colorScheme: "dark" | "light";
    /** Line-chart appearance and repeating per-series visual patches. */
    line: {
        /** Content-neutral patch for `LineChart.updateAppearance`. */
        appearance: DeepPartial<LineAppearanceOptions>;
        /** Repeating visual patches for `LineChart.updateSeriesAppearance`. */
        series: DeepPartial<SeriesAppearanceOptions>[];
    };
    /** Stock-chart appearance patch. */
    stock: {
        /** Content-neutral patch for `StockChart.updateAppearance`. */
        appearance: DeepPartial<StockAppearanceOptions>;
    };
}>
멤버정의설명
colorScheme"dark" | "light"권장 주변 페이지 색상 구성표.
id"default" | "mainframe" | "blueprint" | "porcelain" | "azulejo" | "arizona" | "neon" | "shibuya" | "arcology" | "riviera" | "bauhaus" | "washi" | "botanica" | "newsprint"안정된 카탈로그 식별자.
labelstring사람이 읽기 쉬운 영어 표시 이름.
lineComplex nested type — see the public signature above선형 차트 외형 및 시리즈별 반복 시각 패치.
stockComplex nested type — see the public signature above스톡 차트 외형 패치.

LineThemePreset

재귀적으로 동결된 공개 테마 프리셋의 선 전용 뷰.

가져오기 @sixtyfold/themes/line타입

type LineThemePreset = DeepReadonly<{
    id: ChartThemeId;
    label: string;
    colorScheme: "dark" | "light";
    line: {
        appearance: DeepPartial<LineAppearanceOptions>;
        series: DeepPartial<SeriesAppearanceOptions>[];
    };
}>
멤버정의설명
colorScheme"dark" | "light"프리셋의 판독 모드 분류로, 호스트 인터페이스가 주변의 밝거나 어두운 크롬을 조정하는 데 사용됩니다.
id"default" | "mainframe" | "blueprint" | "porcelain" | "azulejo" | "arizona" | "neon" | "shibuya" | "arcology" | "riviera" | "bauhaus" | "washi" | "botanica" | "newsprint"이 선형 테마 프리셋의 고유 식별자입니다.
labelstring선형 테마 프리셋 레이블입니다.
lineComplex nested type — see the public signature above러닝 선입니다.

StockThemePreset

재고 전용 뷰로, 하나의 재귀적으로 동결된 공개 테마 프리셋입니다.

Import @sixtyfold/themes/stocktype

type StockThemePreset = DeepReadonly<{
    id: ChartThemeId;
    label: string;
    colorScheme: "dark" | "light";
    stock: {
        appearance: DeepPartial<StockAppearanceOptions>;
    };
}>
멤버정의설명
colorScheme"dark" | "light"프리셋의 읽기 모드 분류로, 호스트 인터페이스가 주변 크롬의 밝음 또는 어둠을 조정하는 데 사용합니다.
id"default" | "mainframe" | "blueprint" | "porcelain" | "azulejo" | "arizona" | "neon" | "shibuya" | "arcology" | "riviera" | "bauhaus" | "washi" | "botanica" | "newsprint"이 스톡 테마 프리셋의 고유 식별자입니다.
labelstring스톡 테마 프리셋 레이블입니다.
stockComplex nested type — see the public signature above스톡을 실행합니다.