claude-web/node_modules/@primeuix/themes/dist/aura/message/index.mjs.map

1 line
14 KiB
Plaintext
Raw Normal View History

2026-02-23 02:23:38 +00:00
{"version":3,"sources":["../../../src/presets/aura/message/index.ts"],"sourcesContent":["import type { MessageDesignTokens, MessageTokenSections } from '@primeuix/themes/types/message';\n\nexport const root: MessageTokenSections.Root = {\n borderRadius: '{content.border.radius}',\n borderWidth: '1px',\n transitionDuration: '{transition.duration}'\n};\n\nexport const content: MessageTokenSections.Content = {\n padding: '0.5rem 0.75rem',\n gap: '0.5rem',\n sm: {\n padding: '0.375rem 0.625rem'\n },\n lg: {\n padding: '0.625rem 0.875rem'\n }\n};\n\nexport const text: MessageTokenSections.Text = {\n fontSize: '1rem',\n fontWeight: '500',\n sm: {\n fontSize: '0.875rem'\n },\n lg: {\n fontSize: '1.125rem'\n }\n};\n\nexport const icon: MessageTokenSections.Icon = {\n size: '1.125rem',\n sm: {\n size: '1rem'\n },\n lg: {\n size: '1.25rem'\n }\n};\n\nexport const closeButton: MessageTokenSections.CloseButton = {\n width: '1.75rem',\n height: '1.75rem',\n borderRadius: '50%',\n focusRing: {\n width: '{focus.ring.width}',\n style: '{focus.ring.style}',\n offset: '{focus.ring.offset}'\n }\n};\n\nexport const closeIcon: MessageTokenSections.CloseIcon = {\n size: '1rem',\n sm: {\n size: '0.875rem'\n },\n lg: {\n size: '1.125rem'\n }\n};\n\nexport const outlined: MessageTokenSections.Outlined = {\n root: {\n borderWidth: '1px'\n }\n};\n\nexport const simple: MessageTokenSections.Simple = {\n content: {\n padding: '0'\n }\n};\n\nexport const colorScheme: MessageTokenSections.ColorScheme = {\n light: {\n info: {\n background: 'color-mix(in srgb, {blue.50}, transparent 5%)',\n borderColor: '{blue.200}',\n color: '{blue.600}',\n shadow: '0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)',\n closeButton: {\n hoverBackground: '{blue.100}',\n focusRing: {\n color: '{blue.600}',\n shadow: 'none'\n }\n },\n outlined: {\n color: '{blue.600}',\n borderColor: '{blue.600}'\n },\n simple: {\n color: '{blue.600}'\n }\n },\n success: {\n background: 'color-mix(in srgb, {green.50}, transparent 5%)',\n borderColor: '{green.200}',\n color: '{green.600}',\n shadow: '0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)',\n closeButton: {\n hoverBackground: '{green.100}',\n focusRing: {\n color: '{green.600}',\n shadow: 'none'\n }\n },\n outlined: {\n color: '{green.600}',\n borderColor: '{green.600}'\n },\n simple: {\n color: '{green.600}'\n }\n },\n warn: {\n background: 'color-mix(in srgb,{yellow.50}, transparent 5%)',\n borderColor: '{yellow.200}',\n color: '{yellow.600}',\n shadow: '0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)',\n closeButton: {\n hoverBackground: '{yellow.100}',\n focusRing: {\n color: '{yellow.600}',\n shadow: 'none'\n }\n },\n outlined: {\n color: '{yellow.600}',\n borderColor: '{yellow.600}'\n },\n simple: {\n color: '{yellow.600}'\n }\n },\n error: {\n background: 'color-mix(in srgb, {red.50}, transparent 5%)',\n borderColor: '{red.200}',\n color: '{red.600}',\n shadow: '0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)',\n closeButton: {\n hoverBackground: '{red