g3-toolkit API Reference
    Preparing search index...

    Interface G3tTheme

    interface G3tTheme {
        accentHover: string;
        accentMuted: string;
        accentPrimary: string;
        bgPrimary: string;
        bgSecondary: string;
        bgTertiary: string;
        border: string;
        canvasBg: string;
        colorScheme: "light" | "dark";
        edgeColor: string;
        edgeSelectedColor: string;
        error: string;
        errorMuted?: string;
        id: string;
        name: string;
        nodeLabelColor: string;
        nodeStroke: string;
        overlayColor?: string;
        selectionHighlight: string;
        success: string;
        successMuted?: string;
        textMuted: string;
        textPrimary: string;
        textSecondary: string;
        typePalette: string[];
        warning: string;
        warningMuted?: string;
    }
    Index

    Properties

    accentHover: string
    accentMuted: string
    accentPrimary: string
    bgPrimary: string
    bgSecondary: string
    bgTertiary: string
    border: string
    canvasBg: string
    colorScheme: "light" | "dark"

    Native-control rendering scheme ("light" | "dark"): without it, checkboxes, selects, and scrollbars keep the UA's light styling under a dark theme (visual-acceptance finding, 2026-06-11).

    edgeColor: string
    edgeSelectedColor: string
    error: string
    errorMuted?: string
    id: string
    name: string
    nodeLabelColor: string
    nodeStroke: string
    overlayColor?: string

    Neutral emphasis color for algorithm-overlay members (the g3t-ov-member border and line color; toned members take the semantic trio instead). OPTIONAL for the muted trio's reason: a consumer-authored theme literal must keep compiling. When absent the canvas keeps its historical green (DEFAULT_OVERLAY_COLOR in CytoscapeCanvas) and the token is not emitted, so a var() reader needs a fallback.

    selectionHighlight: string
    success: string
    successMuted?: string

    Muted (ghost) companions to the semantic trio, mirroring accentMuted. Used for track/ghost fills that sit behind a solid semantic bar (CoverageMeter). OPTIONAL rather than required: G3tTheme is public API at 1.0.0, and a consumer-authored theme literal must keep compiling. When absent the emitter skips them and the component's own fallback applies.

    textMuted: string
    textPrimary: string
    textSecondary: string
    typePalette: string[]
    warning: string
    warningMuted?: string