MCPcopy Create free account

hub / github.com/context-dot-dev/designmd-supply / functions

Functions105 in github.com/context-dot-dev/designmd-supply

↓ 24 callersFunctiontoHex
(c: RGB)
lib/derive-tokens.ts:37
↓ 19 callersFunctionmix
(a: RGB, b: RGB, t: number)
lib/derive-tokens.ts:43
↓ 17 callersFunctionparseHex
(hex: string | null | undefined)
lib/derive-tokens.ts:14
↓ 14 callersFunctiontoPx
(value: string | null | undefined)
lib/derive-tokens.ts:188
↓ 11 callersFunctionformatNumber
(n: number, decimals = 4)
lib/derive-tokens.ts:69
↓ 8 callersFunctionnormalizeDomain
(input: string)
lib/domain.ts:4
↓ 5 callersFunctionbuildFontStack
( primary: string | undefined, fallbacks: string[] | undefined, generic: string[], )
lib/derive-tokens.ts:231
↓ 5 callersFunctionindent
(lines: string[])
lib/derive-tokens.ts:835
↓ 5 callersFunctionisDark
(c: RGB)
lib/derive-tokens.ts:62
↓ 5 callersFunctionpickLogoForSurface
( logos: LogoLike[] | undefined, surface: LogoSurface, preferType: "logo" | "icon" = "logo", )
lib/logo-pick.ts:23
↓ 5 callersFunctionreadable
(bg: RGB)
lib/derive-tokens.ts:63
↓ 5 callersFunctionsecond
(y: string, blur: string, spread: string)
lib/derive-tokens.ts:469
↓ 5 callersFunctionsetCached
( domain: string, kind: CacheKind, value: unknown, )
lib/turso.ts:77
↓ 4 callersFunctionbuildPalette
( brand: LiveBrand | undefined, styleguide: LiveStyleguide | null | undefined, mode: "light" | "dark", )
lib/derive-tokens.ts:604
↓ 4 callersFunctionclamp
(n: number, min: number, max: number)
lib/derive-tokens.ts:65
↓ 4 callersFunctionensureInitialized
(c: Client)
lib/turso.ts:26
↓ 4 callersFunctiongetClient
()
lib/turso.ts:16
↓ 4 callersFunctionnonColorLines
( fonts: FontTokens, radius: string, shadows: ShadowTokens, trackingNormal?: string, spacing?: strin
lib/derive-tokens.ts:803
↓ 4 callersFunctionnormalizePxToken
(value: string | undefined, fallback: string)
lib/derive-tokens.ts:382
↓ 4 callersFunctionpaletteLines
(p: Palette)
lib/derive-tokens.ts:766
↓ 4 callersFunctionpickShadows
( styleguide: LiveStyleguide | null | undefined, palette: Palette, mode: "light" | "dark", )
lib/derive-tokens.ts:490
↓ 4 callersFunctionrgbToHslToken
({ r, g, b }: RGB)
lib/derive-tokens.ts:74
↓ 4 callersFunctionshouldInvert
(pick: Pick | null, surface: LogoSurface)
lib/logo-pick.ts:65
↓ 4 callersFunctionwithAlpha
(hex: string, alpha: number)
components/loading-canvas.tsx:660
↓ 3 callersFunctioncolorWithOpacity
(color: string, opacity: number)
lib/derive-tokens.ts:438
↓ 3 callersFunctionf
(c: number)
lib/derive-tokens.ts:55
↓ 3 callersFunctionh
(n: number)
lib/derive-tokens.ts:38
↓ 3 callersFunctiontoChannel
(part: string)
lib/derive-tokens.ts:154
↓ 2 callersFunctioncssTextToObject
(css?: string)
components/loading-canvas.tsx:678
↓ 2 callersFunctiondomainToUrl
(domain: string)
lib/domain.ts:29
↓ 2 callersFunctionpickFonts
(styleguide: LiveStyleguide | null | undefined)
lib/derive-tokens.ts:298
↓ 2 callersFunctionpickRadius
(styleguide: LiveStyleguide | null | undefined)
lib/derive-tokens.ts:347
↓ 2 callersFunctionpickSpacing
(styleguide: LiveStyleguide | null | undefined)
lib/derive-tokens.ts:524
↓ 2 callersFunctionpickTrackingNormal
( styleguide: LiveStyleguide | null | undefined, )
lib/derive-tokens.ts:550
↓ 2 callersFunctionpxToRem
(px: number)
lib/derive-tokens.ts:208
↓ 2 callersFunctionreadableOn
(hex: string)
components/loading-canvas.tsx:643
↓ 2 callersFunctionutm
(medium: string, campaign: string)
components/raw-data-cta.tsx:6
↓ 1 callersFunctionbuildDesignMdPrompt
(input: { domain: string; contextStyleguide: unknown; screenshotUrl?: string; markdown?: string; })
lib/design-md.ts:23
↓ 1 callersFunctionbuildShadowTokens
(base: { x: string; y: string; blur: string; spread: string; color: string; opacity: number; })
lib/derive-tokens.ts:455
↓ 1 callersFunctionclassifyFamily
( family: string | undefined, fontLinks: Record<string, LiveStyleguideFontLink> | undefined, )
lib/derive-tokens.ts:253
↓ 1 callersFunctionderiveCssVariables
( domain: string, brand?: LiveBrand, styleguide?: LiveStyleguide | null, )
lib/derive-tokens.ts:952
↓ 1 callersFunctionderiveTailwindTheme
( _domain: string, brand?: LiveBrand, styleguide?: LiveStyleguide | null, )
lib/derive-tokens.ts:909
↓ 1 callersFunctionfallbackShadowColor
(palette: Palette, mode: "light" | "dark")
lib/derive-tokens.ts:447
↓ 1 callersFunctionfindColorSnippet
(layer: string)
lib/derive-tokens.ts:405
↓ 1 callersFunctionfindMonoFamily
( fontLinks: Record<string, LiveStyleguideFontLink> | undefined, )
lib/derive-tokens.ts:273
↓ 1 callersFunctionfindSerifFamily
( fontLinks: Record<string, LiveStyleguideFontLink> | undefined, exclude: Set<string>, )
lib/derive-tokens.ts:283
↓ 1 callersFunctionisTursoEnabled
()
lib/turso.ts:49
↓ 1 callersFunctionlistDomainsWithDesignMd
()
lib/turso.ts:101
↓ 1 callersFunctionloadDirectoryCards
()
app/page.tsx:41
↓ 1 callersFunctionluminance
({ r, g, b }: RGB)
lib/derive-tokens.ts:54
↓ 1 callersFunctionmedian
(values: number[])
lib/derive-tokens.ts:516
↓ 1 callersFunctionnormalizeCssColor
( raw: string | null | undefined, )
lib/derive-tokens.ts:100
↓ 1 callersFunctionpush
(name: string | undefined)
lib/derive-tokens.ts:238
↓ 1 callersFunctionquoteIfNeeded
(name: string)
lib/derive-tokens.ts:222
↓ 1 callersFunctionsplitShadowLayers
(value: string)
lib/derive-tokens.ts:388
↓ 1 callersFunctionthemeInlineBlock
()
lib/derive-tokens.ts:839
↓ 1 callersFunctiontoPxList
(value: string | null | undefined)
lib/derive-tokens.ts:199
FunctionAppleIcon
()
app/apple-icon.tsx:6
FunctionBackdropIngredient
({ brand }: { brand?: LiveBrand })
components/guide-canvas.tsx:231
FunctionBackdropLayer
({ url, primary, accent, ready, }: { url?: string; primary: string; accent: string; ready: boo
components/loading-canvas.tsx:509
FunctionBrandCard
({ card }: { card: DirectoryCard })
components/domain-directory.tsx:33
FunctionCard
({ children }: { children: React.ReactNode; padded?: boolean })
components/loading-canvas.tsx:579
FunctionCardHeader
({ icon, label, hint, children, }: { icon: React.ReactNode; label: string; hint?: string; chil
components/loading-canvas.tsx:587
FunctionDesignMdArticle
({ domain, designMd, status, message, brand, styleguide, }: { domain: string; designMd?: strin
components/guide-canvas.tsx:15
FunctionDomainDirectory
({ cards }: Props)
components/domain-directory.tsx:18
FunctionDomainSearch
()
components/domain-search.tsx:8
FunctionFloater
({ position, children, }: { position: FloaterPosition; children: React.ReactNode; })
components/loading-canvas.tsx:542
FunctionGET
(req: NextRequest)
app/api/screenshot/route.ts:19
FunctionGET
(req: NextRequest)
app/api/brand/route.ts:19
FunctionGET
(req: NextRequest)
app/api/styleguide/route.ts:20
FunctionGET
(req: NextRequest)
app/api/design-md/route.ts:24
FunctionGuideOrchestrator
({ domain, initialBrand }: Props)
components/guide-orchestrator.tsx:27
FunctionGuideTabs
({ domain, designMd, brand, styleguide }: Props)
components/guide-tabs.tsx:26
FunctionHome
()
app/page.tsx:8
FunctionIcon
()
app/icon.tsx:6
FunctionIdentityIngredient
({ brand, domain, }: { brand?: LiveBrand; domain: string; })
components/guide-canvas.tsx:165
FunctionIngredientsSidebar
({ brand, domain, screenshot, source, }: { brand?: LiveBrand; domain: string; screenshot: LiveSc
components/guide-canvas.tsx:79
FunctionInitial
({ name, dark = false }: { name: string; dark?: boolean })
components/guide-canvas.tsx:435
FunctionLoading
()
app/guides/[domain]/loading.tsx:7
FunctionLoadingCanvas
({ domain, brand, screenshot, styleguide, progress, }: { domain: string; brand?: LiveBrand; sc
components/loading-canvas.tsx:27
FunctionMarkdownCopyBlock
({ filename, content }: Props)
components/markdown-copy-block.tsx:11
FunctionNotFound
()
app/not-found.tsx:4
FunctionNotice
({ tone, title, body, }: { tone: "warn" | "error"; title: string; body: string; })
components/guide-canvas.tsx:476
FunctionPOST
(req: NextRequest)
app/api/design-md/route.ts:51
FunctionPaletteIngredient
({ brand }: { brand?: LiveBrand })
components/guide-canvas.tsx:286
FunctionPulse
({ active }: { active: boolean })
components/loading-canvas.tsx:623
FunctionRawDataCta
({ domain }: { domain: string })
components/raw-data-cta.tsx:5
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:20
FunctionScreenshotIngredient
({ domain, screenshot, }: { domain: string; screenshot: LiveScreenshot; })
components/guide-canvas.tsx:119
FunctionSection
({ label, hint, icon, children, }: { label: string; hint?: string; icon?: React.ReactNode; chi
components/guide-canvas.tsx:368
FunctionSidebarHeader
()
components/guide-canvas.tsx:106
FunctionSlot
({ caption, surface, surfaceStyle, children, }: { caption: string; surface?: string; surfaceStyl
components/guide-canvas.tsx:407
FunctionSourceIngredient
({ source, }: { source: { styleguide: boolean; screenshot: boolean; markdownLength: number }; })
components/guide-canvas.tsx:331
FunctionSourceRow
({ label, value, ok, mono = false, }: { label: string; value: string; ok: boolean; mono?: bool
components/guide-canvas.tsx:447
FunctionStepDot
({ ok, active }: { ok: boolean; active: boolean })
components/loading-canvas.tsx:632
FunctionStyleGuidePage
({ params }: Props)
app/guides/[domain]/page.tsx:33
FunctionSwatches
({ colors, }: { colors: { hex: string; name: string | null }[]; })
components/domain-directory.tsx:105
FunctiongenerateMetadata
({ params }: Props)
app/guides/[domain]/page.tsx:27
FunctiongenerateStaticParams
()
app/guides/[domain]/page.tsx:11
FunctiongetCached
( domain: string, kind: CacheKind, )
lib/turso.ts:56
next →1–100 of 105, ranked by callers