import classNames from "classnames";
const createEditorStyleClasses = ({
  isMobile,
  editorCss = {},
  theme = {}
}) => {
  const themeDesktopStyle = {};
  const maxHeight = !!theme.customStyles?.editor?.maxHeight;
  const hasPadding = maxHeight && !theme.breakout;
  const containerClassName = classNames(editorCss.wrapper, {
    [editorCss.desktop]: !isMobile,
    [editorCss.custom_editor]: maxHeight,
    [editorCss.custom_padding]: hasPadding,
    ...themeDesktopStyle
  });
  return {
    editorClassName: classNames(
      editorCss.editor,
      // wix specific class to disable custom wix focus outlines. TODO: solve outline for editor
      "ignore-focus"
    ),
    containerClassName
  };
};
export {
  createEditorStyleClasses
};
//# sourceMappingURL=create-editor-style-classes.js.map
