Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
bleed.mjs797 B
import { getPatternStyles, patternFns } from '../helpers.mjs'; import { css } from '../css/index.mjs'; const bleedConfig = { transform(props, { map, isCssUnit, isCssVar }) { const { inline, block, ...rest } = props; const valueFn = (v) => isCssUnit(v) || isCssVar(v) ? v : `token(spacing.${v}, ${v})`; return { "--bleed-x": map(inline, valueFn), "--bleed-y": map(block, valueFn), marginInline: "calc(var(--bleed-x, 0) * -1)", marginBlock: "calc(var(--bleed-y, 0) * -1)", ...rest }; }, defaultValues:{inline:'0',block:'0'}} export const getBleedStyle = (styles = {}) => { const _styles = getPatternStyles(bleedConfig, styles) return bleedConfig.transform(_styles, patternFns) } export const bleed = (styles) => css(getBleedStyle(styles)) bleed.raw = getBleedStyle

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/Southclaws/storyden'

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