import { a as n } from "./chunk-KFM6KXSE.js";
import { a as i } from "./chunk-JMN3HTZU.js";
import { Type } from "@sinclair/typebox";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
function u(e = {}) {
  let { default: o, ...n2 } = e;
  return Type.Object({ image: Type.String({ title: "Image", description: "The background image. Can be a URL or a data URI", format: "image", examples: ["https://example.com/image.png"] }), size: Type.Optional(i(["auto", "cover", "contain"], { enumNames: ["Auto", "Cover", "Contain"], default: o?.size ?? "auto", "ai:instructions": "Only use this when the image is set." })), repeat: Type.Optional(i(["no-repeat", "repeat", "repeat-x", "repeat-y", "space", "round"], { enumNames: ["No repeat", "Repeat", "Repeat horizontally", "Repeat vertically", "Space", "Round"], default: o?.repeat ?? "no-repeat", "ai:instructions": "Only use this when the image is set." })) }, { "ui:styleId": "styles:background", "ui:field": "background", title: "Background image", default: o, ...n2 });
}
function c(e = {}) {
  return n("styles:background", e);
}
function l(e = {}) {
  return Type.String({ title: "Background color", "ai:instructions": "Can be set to transparent, hex/rgb/rgba color, or classes like `bg-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 100 and 900. Use bg-<variant>-<shade> classes as much as possible.", "ui:field": "color", "ui:color-type": "background", "ui:styleId": "styles:backgroundColor", "ui:responsive": "desktop", ...e });
}
function d(e = {}) {
  return n("styles:backgroundColor", e);
}
export {
  u as a,
  c as b,
  l as c,
  d
};
//# sourceMappingURL=chunk-DHI3IBOD.js.map
