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


export const categoryTitleStyle = css`
  padding: 0;
  padding-top: 16px;
  padding-bottom: 8px;
  color: ${globalColor("grayBlue-04")};
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  margin: 0;
`

export const headerContainerStyle = css`
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 536px;
`

export const categoryItemContainerStyle = css`
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 168px);
`

export const basicButtonStyle = (theme: Theme) => css`
  display: flex;
  width: 100%;
  padding: 8px 16px;
  gap: 12px;
  align-items: center;

  border-radius: 8px;
   border: 0.5px solid  ${theme.palette.action.focus};
  background-color: ${theme.palette.action.focus};
  cursor: pointer;
 
  &:hover {
    box-shadow: 0 4px 10px 0 ${theme.palette.action.selected};
      background-color: ${theme.palette.action.selected};
     border: 0.5px solid  ${theme.palette.action.focus};
      border:0.2px solid ${theme.palette.action.active};
  }
`

export const categoryItemNameStyle = (theme: Theme) => css`
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: ${theme.palette.text.primary};
`
