UNPKG

bootstrap-vue-next

Version:

Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development

17 lines (16 loc) 462 B
import { f as useColorMode$1 } from "../../../index-Bg04zFDG.mjs"; const useColorMode = (opts = {}) => { const persist = opts.persist ?? false; const attribute = "data-bs-theme"; const selector = "html"; return useColorMode$1({ attribute, selector, storageKey: persist === true ? `bv-color-${opts.attribute ?? attribute}-${opts.selector ?? selector}` : null, ...opts }); }; export { useColorMode }; //# sourceMappingURL=index.mjs.map