{"version":3,"file":"use-theme.mjs","sources":["../../../../../../theme/src/hooks/use-theme.ts"],"sourcesContent":["import type { Ref } from 'vue'\nimport { inject } from 'vue'\nimport type { Theme } from '../core'\n\n/**\n * Get the current theme object\n * @returns {Ref<Theme> } Theme object\n */\nexport const useTheme = (): Ref<Theme> => {\n  const theme = inject<Ref<Theme>>('ThemeContext')!\n  return theme\n}\n"],"names":[],"mappings":";;AAQO,MAAM,WAAW,MAAkB;AACxC,EAAM,MAAA,KAAA,GAAQ,OAAmB,cAAc,CAAA,CAAA;AAC/C,EAAO,OAAA,KAAA,CAAA;AACT;;;;"}