Home / File/ is-color.ts — tailwindcss Source File

is-color.ts — tailwindcss Source File

Architecture documentation for is-color.ts, a typescript file in the tailwindcss codebase. 0 imports, 1 dependents.

File typescript Oxide Scanner 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  ef9d3a04_d826_3821_551b_98ed6c059922["is-color.ts"]
  43fe4735_10e8_ed1d_6f4f_74b2008c1b00["infer-data-type.ts"]
  43fe4735_10e8_ed1d_6f4f_74b2008c1b00 --> ef9d3a04_d826_3821_551b_98ed6c059922
  style ef9d3a04_d826_3821_551b_98ed6c059922 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

const HASH = 0x23

const NAMED_COLORS = new Set([
  // CSS Level 1 colors
  'black',
  'silver',
  'gray',
  'white',
  'maroon',
  'red',
  'purple',
  'fuchsia',
  'green',
  'lime',
  'olive',
  'yellow',
  'navy',
  'blue',
  'teal',
  'aqua',

  // CSS Level 2/3 colors
  'aliceblue',
  'antiquewhite',
  'aqua',
  'aquamarine',
  'azure',
  'beige',
  'bisque',
  'black',
  'blanchedalmond',
  'blue',
  'blueviolet',
  'brown',
  'burlywood',
  'cadetblue',
  'chartreuse',
  'chocolate',
  'coral',
  'cornflowerblue',
  'cornsilk',
  'crimson',
  'cyan',
  'darkblue',
  'darkcyan',
  'darkgoldenrod',
  'darkgray',
  'darkgreen',
  'darkgrey',
  'darkkhaki',
  'darkmagenta',
  'darkolivegreen',
  'darkorange',
  'darkorchid',
  'darkred',
  'darksalmon',
  'darkseagreen',
  'darkslateblue',
  'darkslategray',
  'darkslategrey',
// ... (145 more lines)

Domain

Subdomains

Functions

Frequently Asked Questions

What does is-color.ts do?
is-color.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the Oxide domain, Scanner subdomain.
What functions are defined in is-color.ts?
is-color.ts defines 1 function(s): isColor.
What files import is-color.ts?
is-color.ts is imported by 1 file(s): infer-data-type.ts.
Where is is-color.ts in the architecture?
is-color.ts is located at packages/tailwindcss/src/utils/is-color.ts (domain: Oxide, subdomain: Scanner, directory: packages/tailwindcss/src/utils).

Analyze Your Own Codebase

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

Try Supermodel Free