import { a as r } from "./chunk-5WY7LYXK.js";
import { a as n } from "./chunk-SFKZAUPW.js";
import { Type as a } from "@sinclair/typebox";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
function l(e = {}) {
  let { default: t, ...o } = e;
  return a.Object({ image: a.String({ title: "Image", description: "The background image. Can be a URL or a data URI", format: "image", examples: ["https://example.com/image.png"] }), size: a.Optional(n(["auto", "cover", "contain"], { enumNames: ["Auto", "Cover", "Contain"], default: t?.size ?? "auto", "ai:instructions": "Only use this when the image is set." })), repeat: a.Optional(n(["no-repeat", "repeat", "repeat-x", "repeat-y", "space", "round"], { enumNames: ["No repeat", "Repeat", "Repeat horizontally", "Repeat vertically", "Space", "Round"], default: t?.repeat ?? "no-repeat", "ai:instructions": "Only use this when the image is set." })) }, { "ui:styleId": "styles:background", "ui:field": "background", title: "Background image", default: t, ...o });
}
function c(e = {}) {
  return r("styles:background", e);
}
function p(e = {}) {
  return a.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 r("styles:backgroundColor", e);
}
export {
  l as a,
  c as b,
  p as c,
  d
};
//# sourceMappingURL=chunk-GC5OWY2Z.js.map
