UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

29 lines (28 loc) 775 B
/*! * KoliBri - The accessible HTML-Standard */ import { getThemeDetails, setThemeStyle } from "adopted-style-sheets"; import { setMode } from "@stencil/core"; import { Log } from "../schema"; export default () => { setMode((elm) => { try { if (elm.shadowRoot instanceof ShadowRoot) { setThemeStyle(elm, getThemeDetails(elm)); } } catch (_a) { } return 'default'; }); import('./devtools') .then((devTools) => { if (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') { devTools.initialize(); } }) .catch((error) => { Log.error(error); }); }; //# sourceMappingURL=script.js.map