Skip to content

Commit

Permalink
Remove deprecated euiPaletteNegative and euiPalettePositive
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Jun 3, 2024
1 parent bd6b994 commit df32899
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions packages/eui/src/services/color/eui_palettes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,6 @@ export const euiPaletteRed = function (steps: number): EuiPalette {

return euiPalette(['white', redColor], steps);
};
/**
* @deprecated - use `euiPaletteRed` instead
*/
export const euiPaletteNegative = euiPaletteRed;

export const euiPaletteGreen = function (steps: number): EuiPalette {
if (steps === 1) {
Expand All @@ -215,10 +211,6 @@ export const euiPaletteGreen = function (steps: number): EuiPalette {

return euiPalette(['white', greenColor], steps);
};
/**
* @deprecated - use `euiPaletteGreen` instead
*/
export const euiPalettePositive = euiPaletteGreen;

export const euiPaletteCool = function (steps: number): EuiPalette {
if (steps === 1) {
Expand Down
2 changes: 0 additions & 2 deletions packages/eui/src/services/color/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ export {
euiPaletteComplementary,
euiPaletteRed,
euiPaletteGreen,
euiPaletteNegative,
euiPalettePositive,
euiPaletteCool,
euiPaletteWarm,
euiPaletteGray,
Expand Down
2 changes: 0 additions & 2 deletions packages/eui/src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ export {
euiPaletteGray,
euiPaletteRed,
euiPaletteGreen,
euiPalettePositive,
euiPaletteNegative,
euiPaletteWarm,
getSteppedGradient,
hexToHsv,
Expand Down

0 comments on commit df32899

Please sign in to comment.