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 OxideEngine Scanner 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  1820de50_af91_8bd8_ec0b_dab0f2973c67["is-color.ts"]
  516809a4_c70e_60c3_bbb2_8de4c4572510["infer-data-type.ts"]
  516809a4_c70e_60c3_bbb2_8de4c4572510 --> 1820de50_af91_8bd8_ec0b_dab0f2973c67
  style 1820de50_af91_8bd8_ec0b_dab0f2973c67 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 OxideEngine 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: OxideEngine, 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