{"version":3,"file":"theme.cjs","sources":["../../src/constants/theme.ts"],"sourcesContent":["/**\r\n * Namespace prefix used for all kit-global CSS classes, layers and data attributes.\r\n * Matches the design-system name (`@aurora-ds`) so every global selector is\r\n * self-describing and easy to grep/replace.\r\n */\r\nexport const PREFIX = 'aurora'\r\n\r\n/** Class applied to an ancestor to opt a subtree into the light theme. */\r\nexport const THEME_LIGHT_CLASS = `${PREFIX}-theme-light`\r\n\r\n/** Class applied to an ancestor to opt a subtree into the dark theme. */\r\nexport const THEME_DARK_CLASS = `${PREFIX}-theme-dark`\r\n\r\n/** Attribute used while the provider is transitioning between color schemes. */\r\nexport const THEME_TRANSITION_ATTRIBUTE = 'data-theme-transition'\r\n\r\n/** CSS variable carrying the active theme transition duration. */\r\nexport const THEME_TRANSITION_DURATION_VAR = `--${PREFIX}-theme-transition-duration`\r\n\r\n/** CSS cascade layer that carries the design-token variables. */\r\nexport const THEME_LAYER = `${PREFIX}.theme`\r\n\r\n/** CSS cascade layer that carries the kit's global reset / base styles. */\r\nexport const RESET_LAYER = `${PREFIX}.reset`\r\n"],"names":["PREFIX","THEME_LIGHT_CLASS","THEME_DARK_CLASS","THEME_TRANSITION_ATTRIBUTE","THEME_TRANSITION_DURATION_VAR","THEME_LAYER","RESET_LAYER"],"mappings":"gFAKO,MAAMA,EAAS,SAGTC,EAAoB,GAAGD,CAAM,eAG7BE,EAAmB,GAAGF,CAAM,cAG5BG,EAA6B,wBAG7BC,EAAgC,KAAKJ,CAAM,6BAG3CK,EAAc,GAAGL,CAAM,SAGvBM,EAAc,GAAGN,CAAM"}