
import { css } from "@emotion/react"
import { Theme } from "@mui/material"

export const tabsHeaderContainerStyle = css`
  display: flex;
  width: 100%;
  padding: 12px 16px;
  gap: 8px;
`

export const applyTabsHeaderItemStyle = (isActive: boolean,theme:Theme) => css`
  padding: 1px 4px;
  height: 24px;
  line-height: 24px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: ${isActive ? 500 : 400};
  color: ${isActive ? theme.palette.text.primary : theme.palette.action.active };
  :hover {
    background-color: ${theme.palette.action.focus};
  }
`
