import {  UNIT_HEIGHT } from "@/page/app/components/DotPanel/constant/canvas"
import { globalColor } from "@/utils/colorBuilder"
import { css } from "@emotion/react"
// import { globalColor, illaPrefix } from "@illa-design/react"
// import {
//   SCROLL_CONTAINER_PADDING,
//   UNIT_HEIGHT,
// } from "@/page/App/components/DotPanel/constant/canvas"

export const emptyStateStyle = css`
  font-size: 14px;
  color: ${globalColor("grayBlue-04")};
  text-align: center;
`

export const applyEmptyStateWrapperStyle = (
  _isInner: boolean = false,
  _paddingTopBottom: number,
) => css`
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  border: 0.5px dashed #edf2ee;
  justify-content: center;
  min-height:${13*UNIT_HEIGHT}px
  zndex:${_isInner?1:_paddingTopBottom}
`
// ${isInner
//   ? "100%"
//   : 15 * UNIT_HEIGHT - 2 * SCROLL_CONTAINER_PADDING + paddingTopBottom};

export const applyContainerWrapperStyle = css`
  width: 100%;
  height: 100%;
  display: flex;
`
