import { genTitlePrefix as l } from "../../business/ap-title/style/index.mjs";
import { genComponentStyleHook as i } from "../../utils/cssinjs/index.mjs";
const r = (e) => {
  const { componentCls: t } = e, { normal: a, admin: o } = l(e);
  return {
    [t]: {
      "&-default": {
        position: "relative",
        fontWeight: "bold",
        fontSize: e.fontSize,
        display: "flex",
        alignItems: "center",
        "&-user": {
          paddingLeft: e.calc(e.spaceSM).add("3px").equal(),
          "&::before": a
        },
        "&-admin": {
          paddingLeft: e.calc(e.spaceSM).add("8px").equal(),
          "&::before": o
        }
      }
    }
  };
}, f = i("ProCard.Title", (e) => [
  r(e)
]);
export {
  f as default,
  r as genProCardTitleStyle
};
