LCOV - code coverage report
Current view: top level - packages/design-system/src/components/message - message.variants.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 1 1
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import type { VariantProps } from 'cva'
       2              : import { cva } from 'cva'
       3              : 
       4         2355 : export const messageVariants = cva({
       5              :   base: 'flex w-full items-start gap-2 rounded-lg border px-3 py-2.75 text-sm',
       6              :   variants: {
       7              :     severity: {
       8              :       error: 'border-destructive/40 bg-destructive/10 text-foreground',
       9              :       warning: 'border-warning/50 bg-warning/15 text-foreground',
      10              :       info: 'border-primary/40 bg-primary/10 text-foreground',
      11              :       success: 'border-success/50 bg-success/15 text-foreground',
      12              :       secondary: 'border-border/50 bg-secondary text-foreground'
      13              :     }
      14              :   },
      15              :   defaultVariants: { severity: 'info' }
      16              : })
      17              : 
      18              : export type MessageVariants = VariantProps<typeof messageVariants>
        

Generated by: LCOV version 2.0-1