colours.tsx 816 B

123456789101112131415161718192021
  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. // TODO: Synchronize with `theme.tsx` or `CHART_PALETTE`
  10. export const HTTP_RESPONSE_3XX_COLOR = '#F2B712';
  11. export const HTTP_RESPONSE_4XX_COLOR = '#F58C46';
  12. export const HTTP_RESPONSE_5XX_COLOR = '#E9626E';
  13. export const COLD_START_COLOR = '#3C74DD';
  14. export const WARM_START_COLOR = '#3A2D96';
  15. export const PRIMARY_RELEASE_COLOR = COLD_START_COLOR;
  16. export const SECONDARY_RELEASE_COLOR = Color(COLD_START_COLOR).lighten(0.4).string();