Skip to main content
Glama
deleonio
by deleonio
script.ts700 B
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 (error) { /** * Try is needed for SSR. * - no HTMLElement is available * - no ShadowRoot is available */ } return 'default'; }); import('./devtools') .then((devTools) => { if (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') { devTools.initialize(); } }) .catch((error) => { Log.error(error); }); };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'

If you have feedback or need assistance with the MCP directory API, please join our Discord server