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

    A single row in the theme-studio token list.

    Displays the token name, description, type/scope chips, and an editor appropriate to the token type (colour swatch + text, or plain text).

    Index

    Constructors

    Properties

    resetToken: OutputEmitterRef<void> = ...

    Emitted when the user clicks Reset.

    token: InputSignal<ThemeTokenState> = ...

    The token to display and edit.

    valueChange: OutputEmitterRef<string> = ...

    Emitted when the user changes the token value.

    Accessors

    • get displayValue(): string

      The effective displayed value: override if set, else computed.

      Returns string

    • get isColor(): boolean

      true when the token type is "color".

      Returns boolean

    Methods

    • Forward colour-picker changes through the output.

      Parameters

      • event: Event

      Returns void

    • Forward text-input changes through the output.

      Parameters

      • event: Event

      Returns void