From 283fd4c247c60681ec407274c9ea3f2488e0de36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 27 Oct 2020 17:54:02 +0100 Subject: [PATCH] API: Reducing some api docs errors (#28575) --- packages/grafana-ui/src/utils/colors.ts | 27 +++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/packages/grafana-ui/src/utils/colors.ts b/packages/grafana-ui/src/utils/colors.ts index cf6365557a8..e5af735c213 100644 --- a/packages/grafana-ui/src/utils/colors.ts +++ b/packages/grafana-ui/src/utils/colors.ts @@ -9,13 +9,36 @@ import darkTheme from '../themes/dark'; import { GrafanaTheme } from '@grafana/data'; import { AlertVariant } from '../components/Alert/Alert'; -export const PALETTE_ROWS = 4; -export const PALETTE_COLUMNS = 14; +const PALETTE_ROWS = 4; + +/** + * @alpha + */ export const DEFAULT_ANNOTATION_COLOR = 'rgba(0, 211, 255, 1)'; + +/** + * @alpha + */ export const OK_COLOR = 'rgba(11, 237, 50, 1)'; + +/** + * @alpha + */ export const ALERTING_COLOR = 'rgba(237, 46, 24, 1)'; + +/** + * @alpha + */ export const NO_DATA_COLOR = 'rgba(150, 150, 150, 1)'; + +/** + * @alpha + */ export const PENDING_COLOR = 'rgba(247, 149, 32, 1)'; + +/** + * @alpha + */ export const REGION_FILL_ALPHA = 0.09; export const colors = [ '#7EB26D', // 0: pale green