Pilates
    Preparing search index...

    Interface Theme

    Semantic color tokens for the Pilates theme system. Each token names an intent (primary, error, etc.) — the actual color it resolves to is controlled by the active <ThemeProvider> (or defaultTheme when none wraps the consumer).

    Keep the token set tight. Adding semantic intents that real apps need is cheap; adding cosmetic variants is hard to undo. v1 ships the nine tokens below; theming-aware widgets in @pilates/widgets will land in a follow-up that opts into specific tokens.

    interface Theme {
        accent: Color;
        border: Color;
        error: Color;
        info: Color;
        muted: Color;
        primary: Color;
        success: Color;
        text: Color;
        warning: Color;
    }
    Index

    Properties

    accent: Color

    Brand secondary — hover-equivalent, supplementary highlights.

    border: Color

    Box / panel borders.

    error: Color

    Error state — failures, destructive actions.

    info: Color

    Informational — neutral notifications, hints.

    muted: Color

    De-emphasized text (placeholders, disabled rows, captions).

    primary: Color

    Brand main — active tab, primary CTA, focused field marker.

    success: Color

    Positive state — confirmations, success banners.

    text: Color

    Default body text.

    warning: Color

    Caution state — warnings, lossy operations.