@theredhead — Frontend Library - v0.2.1
    Preparing search index...

    Full-height split-pane theme editor.

    Drop it into any layout that gives it height. The left panel contains the token editor; the right panel renders a live component canvas that reflects every token change in real time. A toolbar lets you switch between horizontal and vertical orientations and swap the two panels.

    <ui-theme-studio style="height: 100%" />
    

    Implements

    • OnInit
    Index

    Constructors

    Properties

    ariaLabel: InputSignal<string> = ...

    Accessible label for the component region.

    manifestUrl: InputSignal<string> = ...

    URL of the token manifest JSON. Defaults to "assets/css-token-manifest.json".

    panelsSwapped: WritableSignal<boolean> = ...

    When true, the canvas is on the left / top and the token editor is on the right / bottom.

    quickTokens: readonly [
        { label: "Accent"; name: "--ui-accent"; type: "color" },
        { label: "Surface"; name: "--ui-surface"; type: "color" },
        { label: "Text"; name: "--ui-text"; type: "color" },
        { label: "Radius"; name: "--ui-radius"; type: "text" },
        { label: "Font"; name: "--ui-font"; type: "text" },
    ] = ...

    Fast controls for the most common global theme decisions.

    sampleCalendarDatasource: CalendarDatasource = ...
    sampleOptions: readonly { label: string; value: ThemeStudioSample }[] = ...

    Component samples available in the live canvas.

    splitOrientation: WritableSignal<SplitOrientation> = ...

    Orientation of the split divider. "horizontal" = side by side, "vertical" = stacked.

    Methods

    • Returns void

    • Switch the split container orientation.

      Parameters

      Returns void

    • Toggle which panel appears first (left/top).

      Returns void