Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 21x | import { SuccessIcon, InfoIcon, WarnIcon, ErrorIcon, MiscIcon } from './icons'; export const appearances = { success: { icon: SuccessIcon, iconColor: 'text-green-500', }, error: { icon: ErrorIcon, iconColor: 'text-red-500', }, danger: { icon: ErrorIcon, iconColor: 'text-white dark:text-gray-900', background: 'bg-red-500', border: 'border-red-500', title: 'text-white dark:text-gray-900', content: 'text-gray-200 dark:text-gray-800' }, warning: { icon: WarnIcon, iconColor: 'text-orange-500', }, info: { icon: InfoIcon, iconColor: 'text-blue-500', }, misc: { icon: MiscIcon, iconColor: 'text-gray-500 dark:text-white' }, }; |