colours.tsx 559 B

123456789101112131415
  1. import Color from 'color';
  2. import {CHART_PALETTE} from 'sentry/constants/chartPalette';
  3. export const THROUGHPUT_COLOR = CHART_PALETTE[3][3];
  4. export const P50_COLOR = CHART_PALETTE[3][1];
  5. export const P95_COLOR = CHART_PALETTE[0][0];
  6. export const AVG_COLOR = CHART_PALETTE[0][0];
  7. export const ERRORS_COLOR = CHART_PALETTE[5][3];
  8. export const COLD_START_COLOR = '#3C74DD';
  9. export const WARM_START_COLOR = '#3A2D96';
  10. export const PRIMARY_RELEASE_COLOR = COLD_START_COLOR;
  11. export const SECONDARY_RELEASE_COLOR = Color(COLD_START_COLOR).lighten(0.4).string();