Enode — API Reference
    Preparing search index...
    interface NotificationPromptCardProps {
        actionLabel: string;
        detail: string;
        onAction: () => void;
        title: string;
        tone?: "default" | "brand";
    }
    Index

    Properties

    actionLabel: string

    Label of the single CTA — the whole point of the card.

    detail: string
    onAction: () => void
    title: string
    tone?: "default" | "brand"

    "default" is the quiet surface card. "brand" is the platinum-green gradient with a white fill CTA, for the one prompt that should stand out (the daily check-in). Both themes: white on the card >= 4.5:1, CTA text (platinum green on white) 10.3:1 light / 6.4:1 dark.