Home / Function/ isGenericName() — tailwindcss Function Reference

isGenericName() — tailwindcss Function Reference

Architecture documentation for the isGenericName() function in infer-data-type.ts from the tailwindcss codebase.

Entity Profile

Relationship Graph

Source Code

packages/tailwindcss/src/utils/infer-data-type.ts lines 114–130

function isGenericName(value: string): boolean {
  return (
    value === 'serif' ||
    value === 'sans-serif' ||
    value === 'monospace' ||
    value === 'cursive' ||
    value === 'fantasy' ||
    value === 'system-ui' ||
    value === 'ui-serif' ||
    value === 'ui-sans-serif' ||
    value === 'ui-monospace' ||
    value === 'ui-rounded' ||
    value === 'math' ||
    value === 'emoji' ||
    value === 'fangsong'
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free