Site Themes Object

{
  "colors": [	
		{
      "id": "color_1",
      "value": "rgba(11, 25, 86, 1)",
      "label": "Primary"
    }
  ],
"text": {
        "default": {
            "font_family": "Poppins",
            "color": "var(--color_1)",
            "font_weight": "400",
            "font_style": null,
            "text_decoration": null,
            "text_direction": null,
            "line_height": "1.5",
            "letter_spacing": null,
            "font_size": "18px",
            "text_transform": null,
            "breakpoints": {
                "mobile": {
                    "font_size": "16px"
                },
                "tablet": {
                    "font_size": "16px"
                }
            }
        },
        "paragraph": {
            "font_family": "\"Work Sans\"",
            "color": "rgb(11,25,86)",
            "font_weight": "500",
            "font_style": "normal",
            "text_decoration": "none",
            "text_direction": null,
            "line_height": "1.5",
            "letter_spacing": "initial",
            "font_size": "18px",
            "text_transform": "uppercase",
            "breakpoints": {
                "mobile": {
                    "font_size": "16px"
                },
                "tablet": {
                    "font_size": "16px"
                }
            }
        },
        "h1": {
            "font_family": "'Aboreto'",
            "color": "var(--color_1)",
            "font_weight": "700",
            "font_style": "normal",
            "text_decoration": "none",
            "text_direction": null,
            "line_height": null,
            "letter_spacing": null,
            "font_size": "50px",
            "text_transform": null,
            "breakpoints": {
                "mobile": {
                    "font_size": "40px"
                },
                "tablet": {
                    "font_size": "50px"
                }
            }
        },
        "h2": {
            "font_family": "'Aboreto'",
            "color": "var(--color_1)",
            "font_weight": "700",
            "font_style": "normal",
            "text_decoration": "none",
            "text_direction": null,
            "line_height": null,
            "letter_spacing": null,
            "font_size": "32px",
            "text_transform": null,
            "breakpoints": {
                "mobile": {
                    "font_size": "30px"
                },
                "tablet": {
                    "font_size": "30px"
                }
            }
        },
        "h3": {
            "font_family": "'Aboreto'",
            "color": "var(--color_1)",
            "font_weight": "700",
            "font_style": "normal",
            "text_decoration": "none",
            "text_direction": null,
            "line_height": null,
            "letter_spacing": null,
            "font_size": "25px",
            "text_transform": null,
            "breakpoints": {
                "mobile": {
                    "font_size": "20px"
                },
                "tablet": {
                    "font_size": "25px"
                }
            }
        },
        "h4": {
            "font_family": "'Aboreto'",
            "color": "var(--color_1)",
            "font_weight": "700",
            "font_style": "normal",
            "text_decoration": "none",
            "text_direction": null,
            "line_height": null,
            "letter_spacing": null,
            "font_size": "20px",
            "text_transform": null,
            "breakpoints": {
                "mobile": {
                    "font_size": "18px"
                },
                "tablet": {
                    "font_size": "20px"
                }
            }
        },
        "h5": {
            "font_family": "'Work Sans'",
            "color": "var(--color_1)",
            "font_weight": "700",
            "font_style": "normal",
            "text_decoration": "none",
            "text_direction": null,
            "line_height": null,
            "letter_spacing": null,
            "font_size": "15px",
            "text_transform": null,
            "breakpoints": {
                "mobile": {
                    "font_size": "15px"
                },
                "tablet": {
                    "font_size": "15px"
                }
            }
        },
        "h6": {
            "font_family": "'Work Sans'",
            "color": "var(--color_1)",
            "font_weight": "700",
            "font_style": "normal",
            "text_decoration": "none",
            "text_direction": null,
            "line_height": null,
            "letter_spacing": null,
            "font_size": "14px",
            "text_transform": null,
            "breakpoints": {
                "mobile": null,
                "tablet": {
                    "font_size": "14px"
                }
            }
        }
    }
}

Color Object

DataTypeDescription
idstringNeeds to follow the pattern: "color_<number>". (color_1, color_2, etc). This property cannot be changed.
valuestringRGB/RGBA/HEX color value. This will be converted to RGBA by Duda.
labelstring50 chars max. HTML-safe string

Text Object

DataTypeDescription
h1objectName of text style
h2object
h3object
h4object
h5object
h6object
paragraphobject
defaultobjectDefault text style for site

Text Styles Object

DataTypeDescription
colorstringColor of the font.
font_familystringDoes not accept fallback fonts.
font_sizestringOnly accepts px.
font_weightstringThe thickness of the characters in the font.
letter_spacingstringHorizontal spacing behavior between characters
line_heightstringVertical spacing between lines of text.
text_decorationstringSupports: underline
font_stylestringSupports: italic
text_directionstringOrientation of the text characters in a line.
text_transformstringSupports: uppercase
breakpointsobjectSee breakpoints definition here.

Breakpoints object

Specify the font size for different device types. Breakpoint overrides will only accept font_size and may only be set for mobile and tablet.

DataTypeDescription
mobileobjectTakes in an object with font_size value.
tabletobjectTakes in an object with font_size value.