Skip to content

Commit

Permalink
[RHOAIENG-7794]: update chart theme colors
Browse files Browse the repository at this point in the history
use camelCase
  • Loading branch information
jenny-s51 committed Jun 26, 2024
1 parent af0d946 commit a3266ac
Showing 1 changed file with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ import {
ChartVoronoiContainer,
} from '@patternfly/react-charts';
import {
chart_color_blue_100 as chartColorBlue100,
chart_color_blue_200 as chartColorBlue200,
chart_color_blue_300 as chartColorBlue300,
chart_color_blue_400 as chartColorBlue400,
chart_color_blue_500 as chartColorBlue500,
chart_color_cyan_100 as chartColorCyan100,
chart_color_cyan_200 as chartColorCyan200,
chart_color_cyan_300 as chartColorCyan300,
chart_color_cyan_400 as chartColorCyan400,
chart_color_cyan_500 as chartColorCyan500,
chart_color_black_100 as chartColorBlack100,
chart_theme_multi_color_ordered_ColorScale_100 as chartThemeMultiColorOrderedColorScale100,
chart_theme_multi_color_ordered_ColorScale_200 as chartThemeMultiColorOrderedColorScale200,
chart_theme_multi_color_ordered_ColorScale_300 as chartThemeMultiColorOrderedColorScale300,
chart_theme_multi_color_ordered_ColorScale_400 as chartThemeMultiColorOrderedColorScale400,
chart_theme_multi_color_ordered_ColorScale_500 as chartThemeMultiColorOrderedColorScale500,
chart_theme_multi_color_ordered_ColorScale_600 as chartThemeMultiColorOrderedColorScale600,
chart_theme_multi_color_ordered_ColorScale_700 as chartThemeMultiColorOrderedColorScale700,
chart_theme_multi_color_ordered_ColorScale_800 as chartThemeMultiColorOrderedColorScale800,
chart_theme_multi_color_ordered_ColorScale_900 as chartThemeMultiColorOrderedColorScale900,
chart_theme_multi_color_ordered_ColorScale_1000 as chartThemeMultiColorOrderedColorScale1000,
} from '@patternfly/react-tokens';

export type ROCCurveConfig = {
Expand All @@ -31,16 +31,16 @@ export type ROCCurveConfig = {
};

export const RocCurveChartColorScale = [
chartColorBlue100.value,
chartColorBlue200.value,
chartColorBlue300.value,
chartColorBlue400.value,
chartColorBlue500.value,
chartColorCyan100.value,
chartColorCyan200.value,
chartColorCyan300.value,
chartColorCyan400.value,
chartColorCyan500.value,
chartThemeMultiColorOrderedColorScale100.value,
chartThemeMultiColorOrderedColorScale200.value,
chartThemeMultiColorOrderedColorScale300.value,
chartThemeMultiColorOrderedColorScale400.value,
chartThemeMultiColorOrderedColorScale500.value,
chartThemeMultiColorOrderedColorScale600.value,
chartThemeMultiColorOrderedColorScale700.value,
chartThemeMultiColorOrderedColorScale800.value,
chartThemeMultiColorOrderedColorScale900.value,
chartThemeMultiColorOrderedColorScale1000.value,
];

type ROCCurveProps = {
Expand Down

0 comments on commit a3266ac

Please sign in to comment.