UNPKG

@cerberus-design/panda-preset

Version:

The official Panda-CSS preset for the omni-federal design system

296 lines (294 loc) 10.1 kB
import { colors, deepGetByPaths, rawTokens, semanticColors } from "./chunk-ACTKV4E7.js"; import { DANGER } from "./chunk-CUF2I7W3.js"; // src/theme/semantic-tokens/danger.ts var dangerTokens = { danger: { bg: { initial: { description: semanticColors.background[DANGER].initial.$description || "The default background color of the danger elements.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.background.danger.initial.$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.background.danger.initial.$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.background.danger.initial.$value ).$value } } }, hover: { description: semanticColors.background[DANGER].hover.$description || "The background color of the danger element when hovered.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.background.danger.hover.$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.background.danger.hover.$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.background.danger.hover.$value ).$value } } }, active: { description: semanticColors.background[DANGER].active.$description || "The background color of the danger element when active.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.background.danger.active.$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.background.danger.active.$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.background.danger.active.$value ).$value } } } }, border: { initial: { description: semanticColors.border[DANGER].initial.$description || "The default border color of danger elements.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.border.danger.initial.$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.border.danger.initial.$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.border.danger.initial.$value ).$value } } } }, ghost: { initial: { description: semanticColors.ghost[DANGER].initial.$description || "The default ghost color of the danger elements.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.ghost.danger.initial.$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.ghost.danger.initial.$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.ghost.danger.initial.$value ).$value } } }, hover: { description: semanticColors.ghost[DANGER].hover.$description || "The ghost color of the danger element when hovered.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.ghost.danger.hover.$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.ghost.danger.hover.$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.ghost.danger.hover.$value ).$value } } }, active: { description: semanticColors.ghost[DANGER].active.$description || "The ghost color of the danger element when active.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.ghost.danger.active.$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.ghost.danger.active.$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.ghost.danger.active.$value ).$value } } } }, surface: { initial: { description: semanticColors.surface[DANGER].initial.$description || "The default color for a static (surface) element in a danger state", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.surface.danger.initial.$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.surface.danger.initial.$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.surface.danger.initial.$value ).$value } } }, 100: { description: semanticColors.surface[DANGER]["100"].$description || "The second layer of color for static (surface) elements that display a error state - used on top of initial.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.surface.danger["100"].$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.surface.danger["100"].$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.surface.danger["100"].$value ).$value } } }, 200: { description: semanticColors.surface[DANGER]["200"].$description || "The third layer of color for static (surface) elements that display a error state - used on top of 100.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.surface.danger["200"].$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.surface.danger["200"].$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.surface.danger["200"].$value ).$value } } } }, text: { initial: { description: semanticColors.text[DANGER].initial.$description || "The default text color of danger elements.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.text.danger.initial.$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.text.danger.initial.$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.text.danger.initial.$value ).$value } } }, 100: { description: semanticColors.text[DANGER]["100"].$description || "The secondary text color of danger elements.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.text.danger["100"].$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.text.danger["100"].$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.text.danger["100"].$value ).$value } } }, 200: { description: semanticColors.text[DANGER]["200"].$description || "The tertiary text color of danger elements.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.text.danger["200"].$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.text.danger["200"].$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.text.danger["200"].$value ).$value } } }, inverse: { description: semanticColors.text[DANGER].inverse.$description || "The text color of danger elements when you need to display a light mode option within the dark mode.", value: { _cerberusTheme: { base: deepGetByPaths( colors, rawTokens.semanticColors.dark.text.danger.inverse.$value ).$value, _lightMode: deepGetByPaths( colors, rawTokens.semanticColors.light.text.danger.inverse.$value ).$value, _darkMode: deepGetByPaths( colors, rawTokens.semanticColors.dark.text.danger.inverse.$value ).$value } } } } } }; export { dangerTokens }; //# sourceMappingURL=chunk-2CFHMM4B.js.map