All files / src/constants hazards.ts

100% Statements 15/15
100% Branches 0/0
100% Functions 0/0
100% Lines 15/15

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 251x         1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x   1x         1x 1x  
/**
 * Fill colours for the four quadrants of an NFPA 704 "fire diamond".
 * @category Constants
 * @group Chemical Info
 * @source
 */
export const NFPA_COLORS = {
  /** Health (left). */
  health: '#1565c0',
  /** Flammability (top). */
  fire: '#d32f2f',
  /** Instability / reactivity (right). */
  reactivity: '#fbc02d',
  /** Special notice (bottom). */
  special: '#ffffff',
} as const;
 
/**
 * Base URL for NIST WebBook structure images; append `Struct=C<CAS digits>&Type=Color`.
 * @category Constants
 * @group Chemical Info
 * @source
 */
export const NIST_STRUCTURE_URL = 'https://webbook.nist.gov/cgi/cbook.cgi';