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

1 line
13 KiB
Plaintext
Raw Normal View History

2026-02-23 02:23:38 +00:00
{"version":3,"sources":["../../../src/presets/nora/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: '700',\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: '{blue.800}',\n borderColor: '{blue.800}',\n color: '{blue.50}',\n shadow: 'none',\n closeButton: {\n hoverBackground: '{blue.600}',\n focusRing: {\n color: '{blue.50}',\n shadow: 'none'\n }\n },\n outlined: {\n color: '{blue.800}',\n borderColor: '{blue.800}'\n },\n simple: {\n color: '{blue.800}'\n }\n },\n success: {\n background: '{green.800}',\n borderColor: '{green.800}',\n color: '{green.50}',\n shadow: 'none',\n closeButton: {\n hoverBackground: '{green.600}',\n focusRing: {\n color: '{green.50}',\n shadow: 'none'\n }\n },\n outlined: {\n color: '{green.800}',\n borderColor: '{green.800}'\n },\n simple: {\n color: '{green.800}'\n }\n },\n warn: {\n background: '{yellow.600}',\n borderColor: '{yellow.600}',\n color: '{yellow.50}',\n shadow: 'none',\n closeButton: {\n hoverBackground: '{yellow.400}',\n focusRing: {\n color: '{yellow.50}',\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: '{red.800}',\n borderColor: '{red.800}',\n color: '{red.50}',\n shadow: 'none',\n closeButton: {\n hoverBackground: '{red.600}',\n focusRing: {\n color: '{red.50}',\n shadow: 'none'\n }\n },\n outlined: {\n color: '{red.800}',\n borderColor: '{red.800}'\n },\n simple: {\n color: '{red.800}'\n }\n },\n secondary: {\n