import { defineMessages } from 'react-intl';
import { lightBackgroundPaletteTooltipMessages } from './lightBackgroundPaletteTooltipMessages';
import { lightChartsColorPaletteTooltipMessages } from './lightChartsColorPaletteTooltipMessages';
import { lightTextPaletteTooltipMessages } from './lightTextPaletteTooltipMessages';
const darkModeTextPaletteOverrides = defineMessages({
  '#FFFFFF': {
    id: 'fabric.theme.dark-gray',
    defaultMessage: 'Dark gray',
    description: 'The text is shown as a tooltip label for a color swatch in the editor text color picker in dark mode when the user hovers over the dark gray color option.'
  }
});
export const darkTextPaletteTooltipMessages = {
  ...lightTextPaletteTooltipMessages,
  ...darkModeTextPaletteOverrides
};

// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
export const textPaletteTooltipMessages = {
  // eslint-disable-next-line @atlaskit/editor/no-re-export
  light: lightTextPaletteTooltipMessages,
  dark: darkTextPaletteTooltipMessages
};
const darkModeBackgroundPaletteOverrides = defineMessages({
  '#FFFFFF': {
    id: 'fabric.theme.subtle-gray',
    defaultMessage: 'Subtle gray',
    description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker in dark mode when the user hovers over the subtle gray color option.'
  },
  '#B3BAC5': {
    id: 'fabric.theme.bold-gray',
    defaultMessage: 'Bold gray',
    description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker in dark mode when the user hovers over the bold gray color option.'
  }
});

// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
export const darkBackgroundPaletteTooltipMessages = {
  ...lightBackgroundPaletteTooltipMessages,
  ...darkModeBackgroundPaletteOverrides
};

// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
export const backgroundPaletteTooltipMessages = {
  // eslint-disable-next-line @atlaskit/editor/no-re-export
  light: lightBackgroundPaletteTooltipMessages,
  dark: darkBackgroundPaletteTooltipMessages
};
const darkChartsColorPaletteTooltipMessages = {
  ...lightChartsColorPaletteTooltipMessages
};

// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
export const chartsColorPaletteTooltipMessages = {
  // eslint-disable-next-line @atlaskit/editor/no-re-export
  light: lightChartsColorPaletteTooltipMessages,
  dark: darkChartsColorPaletteTooltipMessages
};
const lightBorderPaletteTooltipMessages = defineMessages({
  '#091E4224': {
    id: 'fabric.theme.subtle-gray',
    defaultMessage: 'Subtle gray',
    description: 'The text is shown as a tooltip label for a color swatch in the editor border color picker when the user hovers over the subtle gray color option.'
  },
  '#758195': {
    id: 'fabric.theme.gray',
    defaultMessage: 'Gray',
    description: 'The text is shown as a tooltip label for a color swatch in the editor border color picker when the user hovers over the gray color option.'
  },
  '#172B4D': {
    id: 'fabric.theme.bold-gray',
    defaultMessage: 'Bold gray',
    description: 'The text is shown as a tooltip label for a color swatch in the editor border color picker when the user hovers over the bold gray color option.'
  }
});
const darkBorderPaletteTooltipMessages = {
  ...lightBorderPaletteTooltipMessages
};

// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
export const borderPaletteTooltipMessages = {
  light: lightBorderPaletteTooltipMessages,
  dark: darkBorderPaletteTooltipMessages
};
// eslint-disable-next-line @atlaskit/editor/no-re-export
export { lightTextPaletteTooltipMessages } from './lightTextPaletteTooltipMessages';
// eslint-disable-next-line @atlaskit/editor/no-re-export
export { lightBackgroundPaletteTooltipMessages } from './lightBackgroundPaletteTooltipMessages';
// eslint-disable-next-line @atlaskit/editor/no-re-export
export { lightChartsColorPaletteTooltipMessages } from './lightChartsColorPaletteTooltipMessages';