Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
chart_color_green_100,
chart_color_green_200,
chart_color_green_300,
chart_color_green_400,
chart_color_green_500
} from '@patternfly/react-tokens';
import { ColorTheme } from '../color-theme';
// Color scale
// See https://docs.google.com/document/d/1cw10pJFXWruB1SA8TQwituxn5Ss6KpxYPCOYGrH8qAY/edit
const COLOR_SCALE = [
chart_color_green_300.value,
chart_color_green_100.value,
chart_color_green_500.value,
chart_color_green_200.value,
chart_color_green_400.value
];
export const LightGreenColorTheme = ColorTheme({
COLOR_SCALE
});chart_color_green_100,
chart_color_green_200,
chart_color_green_300,
chart_color_green_400,
chart_color_green_500
} from '@patternfly/react-tokens';
import { ColorTheme } from '../color-theme';
// Color scale
// See https://docs.google.com/document/d/1cw10pJFXWruB1SA8TQwituxn5Ss6KpxYPCOYGrH8qAY/edit
const COLOR_SCALE = [
chart_color_green_300.value,
chart_color_green_100.value,
chart_color_green_500.value,
chart_color_green_200.value,
chart_color_green_400.value
];
export const DarkGreenColorTheme = ColorTheme({
COLOR_SCALE
});chart_color_gold_100.value,
chart_color_green_500.value,
chart_color_purple_100.value,
chart_color_orange_500.value,
chart_color_cyan_100.value,
chart_color_black_500.value,
chart_color_blue_200.value,
chart_color_gold_400.value,
chart_color_green_200.value,
chart_color_purple_400.value,
chart_color_orange_200.value,
chart_color_cyan_400.value,
chart_color_black_200.value,
chart_color_blue_400.value,
chart_color_gold_200.value,
chart_color_green_400.value,
chart_color_purple_200.value,
chart_color_orange_400.value,
chart_color_cyan_200.value,
chart_color_black_400.value
];
export const LightMultiColorUnorderedTheme = ColorTheme({
COLOR_SCALE
});import { chart_color_green_400 as tektonGroupColor } from '@patternfly/react-tokens';
import { K8sKind } from '@console/internal/module/k8s';
import { BadgeType } from '@console/shared/src/components/badges/badge-factory';
const color = tektonGroupColor.value;
export const PipelineModel: K8sKind = {
apiGroup: 'tekton.dev',
apiVersion: 'v1alpha1',
label: 'Pipeline',
plural: 'pipelines',
abbr: 'PL',
namespaced: true,
kind: 'Pipeline',
id: 'pipeline',
labelPlural: 'Pipelines',
crd: true,
badge: BadgeType.DEV,
color,
};chart_color_gold_100.value,
chart_color_green_500.value,
chart_color_purple_100.value,
chart_color_orange_500.value,
chart_color_cyan_100.value,
chart_color_black_500.value,
chart_color_blue_200.value,
chart_color_gold_400.value,
chart_color_green_200.value,
chart_color_purple_400.value,
chart_color_orange_200.value,
chart_color_cyan_400.value,
chart_color_black_200.value,
chart_color_blue_400.value,
chart_color_gold_200.value,
chart_color_green_400.value,
chart_color_purple_200.value,
chart_color_orange_400.value,
chart_color_cyan_200.value,
chart_color_black_400.value
];
export const DarkMultiColorUnorderedTheme = ColorTheme({
COLOR_SCALE
});