"use client";
import { jsxs as t, Fragment as o, jsx as e } from "react/jsx-runtime";
import { CustomCSSControl as m } from "../../controls/custom-css.control.js";
import { ThemeSettingsType as r, SettingsType as i } from "../../../types/index.js";
import { BsFiletypeCss as l } from "../../../../../../node_modules/.pnpm/react-icons@5.5.0_react@19.0.0/node_modules/react-icons/bs/index.js";
import { FiX as n } from "../../../../../../node_modules/.pnpm/react-icons@5.5.0_react@19.0.0/node_modules/react-icons/fi/index.js";
const C = ({ setCurrentSetting: s }) => /* @__PURE__ */ t(o, { children: [
  /* @__PURE__ */ t("div", { className: "flex items-center justify-between border-b p-4", children: [
    /* @__PURE__ */ t("div", { className: "flex items-center gap-2 text-base font-semibold", children: [
      /* @__PURE__ */ e(l, {}),
      "Custom CSS"
    ] }),
    /* @__PURE__ */ e(
      "button",
      {
        className: "text-slate-600 hover:text-slate-900",
        onClick: () => s(r.GLOBAL),
        children: /* @__PURE__ */ e(n, { size: 16 })
      }
    )
  ] }),
  /* @__PURE__ */ e("div", { className: "p-4", children: /* @__PURE__ */ e(
    m,
    {
      type: i.THEME,
      fieldName: "customCss",
      label: "Add your own custom CSS"
    }
  ) })
] });
export {
  C as default
};
//# sourceMappingURL=theme-custom-css-settings.js.map
