colours.tsx 789 B

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