changedInput schema / properties / theme / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "body": {
- "anyOf": [
- {
- "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Paragraph text color. Must read clearly on cardBackground."
- },
- "bodyFont": {
- "anyOf": [
- {
- "enum": [
- "arial",
- "times-new-roman",
- "georgia",
- "helvetica",
- "roboto",
- "open-sans",
- "montserrat",
- "inter",
- "poppins",
- "lato",
- "oswald",
- "raleway",
- "nunito",
- "nunito-sans",
- "rubik",
- "ubuntu",
- "playfair-display",
- "merriweather",
- "roboto-slab",
- "work-sans",
- "dm-sans",
- "lora",
- "jost",
- "manrope",
- "quicksand",
- "fira-sans",
- "barlow",
- "mulish",
- "cabin",
- "karla",
- "source-sans-3",
- "pt-sans",
- "pt-serif",
- "libre-baskerville",
- "outfit",
- "bebas-neue",
- "sora",
- "space-grotesk",
- "lexend",
- "plus-jakarta-sans",
- "figtree",
- "ibm-plex-sans",
- "eb-garamond",
- "bitter",
- "crimson-text"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Body font id, the closest available match. Prefer a readable sans-serif."
- },
- "button": {
- "anyOf": [
- {
- "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Button color. Leave out to use primary."
- },
- "cardBackground": {
- "anyOf": [
- {
- "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The page surface itself, where all text sits. If the user names only one background color, such as off-white, send it here. For a dark document, use a near-black tinted toward the accent hue, not flat #121212 or #000000."
- },
- "designed": {
- "description": "Set true when you chose these colors and fonts yourself from a look the user described in words, and they gave no hex codes or font names for them. They are then checked for readability and adjusted if needed. Leave out when the user gave exact values, which are used exactly.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "heading": {
- "anyOf": [
- {
- "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Heading text color. Must read clearly on cardBackground."
- },
- "headingFont": {
- "anyOf": [
- {
- "enum": [
- "arial",
- "times-new-roman",
- "georgia",
- "helvetica",
- "roboto",
- "open-sans",
- "montserrat",
- "inter",
- "poppins",
- "lato",
- "oswald",
- "raleway",
- "nunito",
- "nunito-sans",
- "rubik",
- "ubuntu",
- "playfair-display",
- "merriweather",
- "roboto-slab",
- "work-sans",
- "dm-sans",
- "lora",
- "jost",
- "manrope",
- "quicksand",
- "fira-sans",
- "barlow",
- "mulish",
- "cabin",
- "karla",
- "source-sans-3",
- "pt-sans",
- "pt-serif",
- "libre-baskerville",
- "outfit",
- "bebas-neue",
- "sora",
- "space-grotesk",
- "lexend",
- "plus-jakarta-sans",
- "figtree",
- "ibm-plex-sans",
- "eb-garamond",
- "bitter",
- "crimson-text"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Heading font id, the closest available match to the look asked for. Serif ids: times-new-roman, georgia, playfair-display, merriweather, roboto-slab, lora, pt-serif, libre-baskerville, eb-garamond, bitter, crimson-text; the rest are sans-serif."
- },
- "headingWeight": {
- "anyOf": [
- {
- "maximum": 800,
- "minimum": 500,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Heading weight, 500 to 800. Omit for bold (700)."
- },
- "imageStylePrompt": {
- "anyOf": [
- {
- "maxLength": 500,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Always send this when you send theme. One or two sentences: the palette in words matching the colors, the lighting, and the mood. Translate a feel the user named (\"earthy and premium\") into those three. Example: \"Warm ivory and soft stone neutrals with muted moss accents. Soft natural window light, gentle shadows, generous negative space. Calm, refined mood.\" No hex codes, brand or company names, logos, or a medium (photography vs illustration vs 3D)."
- },
- "link": {
- "anyOf": [
- {
- "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Inline link color. Leave out to use primary."
- },
- "name": {
- "anyOf": [
- {
- "maxLength": 60,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Short theme name shown in the builder, such as \"Moss and champagne\"."
- },
- "pageBackground": {
- "anyOf": [
- {
- "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The canvas behind the document pages. Send it with cardBackground, in the same hue family and a shade deeper than the card (light or dark), never the same color and never pure black."
- },
- "primary": {
- "anyOf": [
- {
- "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Main brand color, used for table headers, borders, dividers, icons, and highlights. The most recognizable brand color, not a neutral."
- },
- "secondary": {
- "anyOf": [
- {
- "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Soft accent that fills callouts, stat boxes, and subtle blocks. Light colors work best, so a second brand color such as champagne or sand fits here. Leave out to derive it from primary."
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "body": {
+ "anyOf": [
+ {
+ "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Paragraph text color. Must read clearly on cardBackground."
+ },
+ "bodyFont": {
+ "anyOf": [
+ {
+ "enum": [
+ "arial",
+ "times-new-roman",
+ "georgia",
+ "helvetica",
+ "roboto",
+ "open-sans",
+ "montserrat",
+ "inter",
+ "poppins",
+ "lato",
+ "oswald",
+ "raleway",
+ "nunito",
+ "nunito-sans",
+ "rubik",
+ "ubuntu",
+ "playfair-display",
+ "merriweather",
+ "roboto-slab",
+ "work-sans",
+ "dm-sans",
+ "lora",
+ "jost",
+ "manrope",
+ "quicksand",
+ "fira-sans",
+ "barlow",
+ "mulish",
+ "cabin",
+ "karla",
+ "source-sans-3",
+ "pt-sans",
+ "pt-serif",
+ "libre-baskerville",
+ "outfit",
+ "bebas-neue",
+ "sora",
+ "space-grotesk",
+ "lexend",
+ "plus-jakarta-sans",
+ "figtree",
+ "ibm-plex-sans",
+ "eb-garamond",
+ "bitter",
+ "crimson-text"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Body font id, the closest available match. Prefer a readable sans-serif."
+ },
+ "button": {
+ "anyOf": [
+ {
+ "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Button fill; the label color adjusts itself. Leave out to use primary, or the secondary when it is a strong brand color."
+ },
+ "cardBackground": {
+ "anyOf": [
+ {
+ "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The page or slide surface itself, where all text sits. If the user names only one background color, such as off-white, send it here. For a dark document, use a near-black tinted toward the accent hue, not flat #121212 or #000000. When it flips between light and dark, send heading and body too, since text colors never adjust on their own."
+ },
+ "designed": {
+ "description": "Set true when you chose these colors and fonts yourself from a look the user described in words, and they gave no hex codes or font names for them. They are then checked for readability and adjusted if needed. Leave out when the user gave exact values, which are used exactly.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "heading": {
+ "anyOf": [
+ {
+ "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Heading text color. Must read clearly on cardBackground."
+ },
+ "headingFont": {
+ "anyOf": [
+ {
+ "enum": [
+ "arial",
+ "times-new-roman",
+ "georgia",
+ "helvetica",
+ "roboto",
+ "open-sans",
+ "montserrat",
+ "inter",
+ "poppins",
+ "lato",
+ "oswald",
+ "raleway",
+ "nunito",
+ "nunito-sans",
+ "rubik",
+ "ubuntu",
+ "playfair-display",
+ "merriweather",
+ "roboto-slab",
+ "work-sans",
+ "dm-sans",
+ "lora",
+ "jost",
+ "manrope",
+ "quicksand",
+ "fira-sans",
+ "barlow",
+ "mulish",
+ "cabin",
+ "karla",
+ "source-sans-3",
+ "pt-sans",
+ "pt-serif",
+ "libre-baskerville",
+ "outfit",
+ "bebas-neue",
+ "sora",
+ "space-grotesk",
+ "lexend",
+ "plus-jakarta-sans",
+ "figtree",
+ "ibm-plex-sans",
+ "eb-garamond",
+ "bitter",
+ "crimson-text"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Heading font id, the closest available match to the look asked for. Serif ids: times-new-roman, georgia, playfair-display, merriweather, roboto-slab, lora, pt-serif, libre-baskerville, eb-garamond, bitter, crimson-text; the rest are sans-serif."
+ },
+ "headingWeight": {
+ "anyOf": [
+ {
+ "maximum": 800,
+ "minimum": 500,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Heading weight, 500 to 800. Omit for bold (700)."
+ },
+ "imageStylePrompt": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Always send this when you send theme. One or two sentences: the palette in words matching the colors, the lighting, and the mood. Translate a feel the user named (\"earthy and premium\") into those three. Example: \"Warm ivory and soft stone neutrals with muted moss accents. Soft natural window light, gentle shadows, generous negative space. Calm, refined mood.\" No hex codes, brand or company names, logos, or a medium (photography vs illustration vs 3D)."
+ },
+ "link": {
+ "anyOf": [
+ {
+ "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Text link color. Leave out to use primary."
+ },
+ "name": {
+ "anyOf": [
+ {
+ "maxLength": 60,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Short theme name shown in the builder, such as \"Moss and champagne\"."
+ },
+ "pageBackground": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The backdrop behind every page or slide, and the site background on a webpage. Send it with cardBackground, in the same hue family and a shade deeper than the card (light or dark), never the same color and never pure black. A hex color, or a CSS linear-gradient with hex stops, for example linear-gradient(135deg, #0b1f3a 0%, #1d4e89 100%). Use a gradient when it serves the look: it can hold several colors without affecting text readability, since text sits on cardBackground. Keep the stops close in lightness so it stays calm. cardBackground is always one color."
+ },
+ "primary": {
+ "anyOf": [
+ {
+ "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Main brand color: filled boxes and cards, table headers, labels, borders, dividers, icons, and highlights. The most recognizable brand color, not a neutral."
+ },
+ "secondary": {
+ "anyOf": [
+ {
+ "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Soft accent that fills callouts, stat boxes, and subtle blocks. Light colors work best, so a second brand color such as champagne or sand fits here. Leave out to derive it from primary."
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]