Skip to main content
Glama

update_theme

Modify theme settings like colors, fonts, and custom HTML in LightCMS. Update specific fields without affecting other settings, with automatic content regeneration when header or footer HTML changes.

Instructions

Update theme settings. Only the fields you provide are changed — all other settings are preserved (partial update, safe to call without get_theme first).

Changing header_html or footer_html triggers background regeneration of all published pages. Changing colors, fonts, or custom_css does NOT require content regeneration.

Use pin_theme_version to protect important milestones before making major changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accent_colorNoAccent theme color (hex)
background_colorNoBackground color (hex)
border_radiusNoBorder radius CSS value
custom_cssNoAdditional custom CSS
font_familyNoBody font family CSS value
footer_htmlNoCustom footer HTML (changing regenerates all content)
head_htmlNoCustom HTML for <head> section
header_htmlNoCustom header HTML (changing regenerates all content)
heading_fontNoHeading font family CSS value
logo_urlNoLogo image URL
primary_colorNoPrimary theme color (hex)
secondary_colorNoSecondary theme color (hex)
site_nameNoSite name
site_taglineNoSite tagline
text_colorNoText color (hex)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonradoff/lightcms'

If you have feedback or need assistance with the MCP directory API, please join our Discord server