{"version":3,"file":"use-theme-provider.mjs","sources":["../../../../../../theme/src/hooks/use-theme-provider.ts"],"sourcesContent":["import type { Ref } from 'vue'\nimport { provide } from 'vue'\nimport type { Theme } from '../core'\n\n/**\n * The hook to provide theme obj to the child components\n * @param {Ref<Theme>} theme The theme obj\n */\nexport const uesThemeProvider = (theme: Ref<Theme>) => {\n  provide('ThemeContext', theme)\n}\n"],"names":[],"mappings":";;AAQa,MAAA,gBAAA,GAAmB,CAAC,KAAsB,KAAA;AACrD,EAAA,OAAA,CAAQ,gBAAgB,KAAK,CAAA,CAAA;AAC/B;;;;"}