{# Auto-dismissing toast notification — emitted via with_toast() response helper #} {# Contract: ~/.claude/skills/ux-architect/components/toast.md #} {# Parameters: message (str), level (str: success|error|warning|info, default: info) #} {% set level = level | default('info') %} {% set level_classes = { 'success': 'border-l-[hsl(var(--success))]', 'error': 'border-l-[hsl(var(--destructive))]', 'warning': 'border-l-[hsl(38_92%_50%)]', 'info': 'border-l-[hsl(var(--primary))]', } %} {% set icon_colours = { 'success': 'text-[hsl(var(--success))]', 'error': 'text-[hsl(var(--destructive))]', 'warning': 'text-[hsl(38_92%_50%)]', 'info': 'text-[hsl(var(--primary))]', } %}