MCPcopy Create free account

hub / github.com/amaancoderx/npxskillui / functions

Functions269 in github.com/amaancoderx/npxskillui

↓ 20 callersFunctionaddColor
(tokens: RawTokens, hex: string, source: 'css' | 'computed', name?: string)
src/extractors/tokens/http-css.ts:1630
↓ 20 callersFunctionassign
(index: number, role: ColorRole)
src/normalizer.ts:166
↓ 18 callersFunctionpadAnsi
(str: string, width: number)
src/ui.ts:15
↓ 18 callersFunctionpickSpacing
(spacing: { base: number; values: number[] }, multiplier: number)
src/writers/skill.ts:1141
↓ 17 callersFunctionhas
(p: string)
src/writers/animations-md.ts:283
↓ 15 callersFunctioncol
(token: any, role?: string)
src/writers/skill.ts:624
↓ 13 callersFunctioncol
(token: any, varName: string)
src/writers/design-md.ts:720
↓ 11 callersFunctionL
(label: string)
src/ui.ts:301
↓ 11 callersFunctionV2
(val: string)
src/ui.ts:302
↓ 9 callersFunctionflagRow
(flag: string, desc: string, hint: string)
src/ui.ts:142
↓ 9 callersFunctionloadPlaywright
()
src/playwright-loader.ts:12
↓ 7 callersFunctiontryParseColor
(value: string)
src/extractors/tokens/http-css.ts:1641
↓ 6 callersFunctionhexToRgb
(hex: string)
src/normalizer.ts:327
↓ 6 callersFunctionmergeDeep
(a: Record<string, any>, b: Record<string, any>)
src/extractors/tokens/tailwind.ts:268
↓ 6 callersFunctionnormalizeHex
(v: string)
src/extractors/tokens/http-css.ts:1718
↓ 6 callersFunctionrgbToHex
(r: number, g: number, b: number)
src/extractors/tokens/http-css.ts:1727
↓ 6 callersFunctionstartSpinner
(text: string)
src/ui.ts:219
↓ 6 callersFunctionsucceedSpinner
(spinner: Ora, label: string, result: string)
src/ui.ts:227
↓ 5 callersFunctionfailSpinner
(spinner: Ora, label: string, error: string)
src/ui.ts:234
↓ 4 callersFunctioncountChildLinks
(html: string, tag: string)
src/extractors/tokens/http-css.ts:785
↓ 4 callersFunctioncssProperty
(camelCase: string)
src/writers/interactions-md.ts:161
↓ 4 callersFunctionextractClassesByPattern
(html: string, pattern: RegExp)
src/extractors/tokens/http-css.ts:1562
↓ 4 callersFunctionextractElementClasses
(html: string, tag: string)
src/extractors/tokens/http-css.ts:1545
↓ 4 callersFunctionisGenericFont
(f: string)
src/extractors/tokens/http-css.ts:1682
↓ 4 callersFunctionisValidFontName
(f: string)
src/extractors/tokens/http-css.ts:1686
↓ 4 callersFunctionparseSizeToPixels
(size: string)
src/normalizer.ts:546
↓ 4 callersFunctionpickSpacing
(spacing: { base: number; values: number[] }, multiplier: number)
src/writers/design-md.ts:801
↓ 4 callersFunctionresolveUrl
(href: string, base: string)
src/extractors/tokens/http-css.ts:1622
↓ 4 callersFunctionrgbToHex
(r: number, g: number, b: number)
src/extractors/tokens/css.ts:454
↓ 4 callersFunctionsimplify
(val: string)
src/writers/layout-md.ts:116
↓ 3 callersFunctiondim
(v: number)
src/writers/skill.ts:632
↓ 3 callersFunctionformatType
(type: string)
src/writers/interactions-md.ts:151
↓ 3 callersFunctiongetStyles
(el: any)
src/extractors/ultra/interactions.ts:169
↓ 3 callersFunctionguessPropertyType
(varName: string)
src/extractors/tokens/http-css.ts:1669
↓ 3 callersFunctionhslToHex
(h: number, s: number, l: number)
src/extractors/tokens/http-css.ts:1731
↓ 3 callersFunctionisColorVarName
(name: string)
src/extractors/tokens/http-css.ts:1677
↓ 3 callersFunctionisIconFont
* Returns true if a font family name looks like an icon/symbol font. * These should be excluded from the design typography documentation.
src/extractors/tokens/http-css.ts:287
↓ 3 callersFunctionisLikelyVariant
(str: string)
src/extractors/components.ts:326
↓ 3 callersFunctionisMono
(f: string)
src/writers/design-md.ts:56
↓ 3 callersFunctionisMonoFont
(family: string)
src/normalizer.ts:542
↓ 3 callersFunctionisSystemFont
* Returns true if a font family is a system font that cannot be downloaded.
src/extractors/tokens/http-css.ts:296
↓ 3 callersFunctionisValidHex
(hex: string)
src/extractors/tokens/http-css.ts:1703
↓ 3 callersFunctionnormalizeHex
(v: string)
src/extractors/tokens/tokens-file.ts:193
↓ 3 callersFunctionnormalizeHex
(v: string)
src/extractors/tokens/css.ts:445
↓ 3 callersFunctionscreenshotElement
(el: any, filePath: string)
src/extractors/ultra/interactions.ts:188
↓ 3 callersFunctionwarnLine
(message: string)
src/ui.ts:241
↓ 2 callersFunctionclassifyValue
(key: string, value: string, tokens: RawTokens)
src/extractors/tokens/tokens-file.ts:111
↓ 2 callersFunctionconfigKeyToFontName
(key: string)
src/extractors/tokens/tailwind.ts:162
↓ 2 callersFunctioncountRepeatedElements
(html: string, classPattern: string)
src/extractors/tokens/http-css.ts:792
↓ 2 callersFunctiondiffStyles
(before: StyleSnapshot, after: StyleSnapshot)
src/extractors/ultra/interactions.ts:196
↓ 2 callersFunctiondownloadFont
* Download a font file from a URL and save it locally. * Accepts TTF, OTF, and WOFF2 formats.
src/font-resolver.ts:108
↓ 2 callersFunctionextractImportUrls
(css: string, baseUrl: string)
src/extractors/tokens/http-css.ts:174
↓ 2 callersFunctionextractMatchingStyles
( cssRules: Map<string, string[]>, classes: Set<string>, patterns: string[] )
src/extractors/tokens/http-css.ts:1527
↓ 2 callersFunctionfetchText
(url: string)
src/extractors/tokens/http-css.ts:1599
↓ 2 callersFunctionfindVariants
(classes: Set<string>, base: string)
src/extractors/tokens/http-css.ts:1577
↓ 2 callersFunctionformatRole
(role: string)
src/writers/skill.ts:1087
↓ 2 callersFunctionformatTypographyRole
(role: string)
src/writers/design-md.ts:266
↓ 2 callersFunctiongenerateDesignMd
(profile: DesignProfile, screenshotPath?: string | null)
src/writers/design-md.ts:7
↓ 2 callersFunctionguessPropertyType
(varName: string)
src/extractors/tokens/css.ts:437
↓ 2 callersFunctionhslToHex
(h: number, s: number, l: number)
src/extractors/tokens/css.ts:479
↓ 2 callersFunctionisColorValue
(v: string)
src/extractors/tokens/tokens-file.ts:189
↓ 2 callersFunctionisColorVarName
(name: string)
src/extractors/tokens/css.ts:458
↓ 2 callersFunctionisEmojiFont
* Returns true if a font family is an emoji font (not useful for UI design docs).
src/extractors/tokens/http-css.ts:303
↓ 2 callersFunctionisGenericConfigKey
* Check if a fontFamily config key is a generic/functional name * (e.g., "sans", "heading", "body", "display") rather than an actual font name. * Th
src/extractors/tokens/tailwind.ts:224
↓ 2 callersFunctionisSkippableFont
Returns true for fonts that cannot or should not be downloaded (system, generic, icon).
src/font-resolver.ts:16
↓ 2 callersFunctionnameBreakpoint
(px: number, unit: string)
src/extractors/tokens/http-css.ts:1163
↓ 2 callersFunctionnamedColorToHex
(name: string)
src/extractors/tokens/http-css.ts:1707
↓ 2 callersFunctionnormalize
( projectName: string, frameworks: Framework[], rawTokens: RawTokens, components: ComponentInfo[], l
src/normalizer.ts:23
↓ 2 callersFunctionnormalizeUrl
(url: string)
src/extractors/ultra/pages.ts:194
↓ 2 callersFunctionparseCSS
(content: string, tokens: RawTokens, cssBaseUrl?: string)
src/extractors/tokens/http-css.ts:842
↓ 2 callersFunctionparseComponentContent
( name: string, content: string, filePath: string, rootDir: string )
src/extractors/components.ts:139
↓ 2 callersFunctionrel
(p: string)
src/ui.ts:339
↓ 2 callersFunctionrunDirMode
(projectDir: string, nameOverride?: string)
src/modes/dir.ts:12
↓ 2 callersFunctionshadowLevelOrder
(level: ShadowLevel)
src/normalizer.ts:651
↓ 2 callersFunctionshowLogo
()
src/ui.ts:22
↓ 2 callersFunctiontryParseColorValue
(value: string)
src/extractors/tokens/css.ts:463
↓ 2 callersFunctionwriteTokensJson
(profile: DesignProfile, skillDir: string)
src/writers/tokens-json.ts:13
↓ 1 callersFunctionassignColorRoles
(colors: ColorToken[], isLightScheme = false)
src/normalizer.ts:161
↓ 1 callersFunctionbuildCSSRuleLookup
(css: string)
src/extractors/tokens/http-css.ts:1512
↓ 1 callersFunctionbuildComponentCategories
(components: ComponentInfo[])
src/normalizer.ts:809
↓ 1 callersFunctionbuildDarkModePairs
(tokens: RawTokens)
src/extractors/tokens/http-css.ts:1588
↓ 1 callersFunctionbuildSelector
(el: Element)
src/extractors/ultra/layout.ts:57
↓ 1 callersFunctionbuildSuggestedCss
(comp: DOMComponent, tokens: TokenSet)
src/writers/components-md.ts:104
↓ 1 callersFunctionbundleFonts
( fontSources: FontSource[], fontFamilies: string[], skillDir: string, _usedWeights?: Set<string> )
src/font-resolver.ts:183
↓ 1 callersFunctioncaptureAnimations
( url: string, skillDir: string )
src/extractors/ultra/animations.ts:32
↓ 1 callersFunctioncaptureInteractions
( url: string, skillDir: string )
src/extractors/ultra/interactions.ts:41
↓ 1 callersFunctioncapturePageScreenshots
( originUrl: string, skillDir: string, maxPages: number )
src/extractors/ultra/pages.ts:16
↓ 1 callersFunctioncaptureScreenshot
( url: string, skillDir: string )
src/screenshot.ts:11
↓ 1 callersFunctioncategorize
(el: Element, classes: string[])
src/extractors/ultra/components-dom.ts:70
↓ 1 callersFunctioncategorizeAnimVar
(name: string)
src/extractors/ultra/animations.ts:529
↓ 1 callersFunctioncategorizeComponent
(name: string, filePath: string, content: string, classes: string[])
src/extractors/components.ts:177
↓ 1 callersFunctionclassifyShadow
(value: string)
src/normalizer.ts:638
↓ 1 callersFunctionclassifyTokenValue
(key: string, value: string, type: string, tokens: RawTokens)
src/extractors/tokens/tokens-file.ts:149
↓ 1 callersFunctioncolorDistance
(a: { r: number; g: number; b: number }, b: { r: number; g: number; b: number })
src/normalizer.ts:319
↓ 1 callersFunctioncomputeDesignTraits
( colors: ColorToken[], typography: TypographyToken[], spacing: SpacingScale, shadows: ShadowToken[],
src/normalizer.ts:874
↓ 1 callersFunctioncreateZip
(sourceDir: string, outputPath: string)
src/writers/skill.ts:1178
↓ 1 callersFunctiondeduplicateBreakpoints
Remove duplicate breakpoint values, keep unique pixel values sorted ascending.
src/normalizer.ts:342
↓ 1 callersFunctiondeduplicateColors
(colors: RawTokens['colors'])
src/normalizer.ts:116
↓ 1 callersFunctiondeduplicatePageSections
Remove duplicate page sections (same type appearing from multiple crawled pages).
src/normalizer.ts:358
↓ 1 callersFunctionderiveRepoName
(url: string)
src/modes/repo.ts:41
next →1–100 of 269, ranked by callers