curl --request PATCH \
--url http://localhost:8080/cabinet/branding/colors \
--header 'Content-Type: application/json' \
--data '
{
"accent": "<string>",
"darkBackground": "<string>",
"darkSurface": "<string>",
"darkText": "<string>",
"darkTextSecondary": "<string>",
"lightBackground": "<string>",
"lightSurface": "<string>",
"lightText": "<string>",
"lightTextSecondary": "<string>",
"success": "<string>",
"warning": "<string>",
"error": "<string>"
}
'{
"accent": "#3b82f6",
"darkBackground": "#0a0f1a",
"darkSurface": "#0f172a",
"darkText": "#f1f5f9",
"darkTextSecondary": "#94a3b8",
"lightBackground": "#F7E7CE",
"lightSurface": "#FEF9F0",
"lightText": "#1F1A12",
"lightTextSecondary": "#7D6B48",
"success": "#22c55e",
"warning": "#f59e0b",
"error": "#ef4444"
}Update theme colors. Admin only. Partial update supported.
curl --request PATCH \
--url http://localhost:8080/cabinet/branding/colors \
--header 'Content-Type: application/json' \
--data '
{
"accent": "<string>",
"darkBackground": "<string>",
"darkSurface": "<string>",
"darkText": "<string>",
"darkTextSecondary": "<string>",
"lightBackground": "<string>",
"lightSurface": "<string>",
"lightText": "<string>",
"lightTextSecondary": "<string>",
"success": "<string>",
"warning": "<string>",
"error": "<string>"
}
'{
"accent": "#3b82f6",
"darkBackground": "#0a0f1a",
"darkSurface": "#0f172a",
"darkText": "#f1f5f9",
"darkTextSecondary": "#94a3b8",
"lightBackground": "#F7E7CE",
"lightSurface": "#FEF9F0",
"lightText": "#1F1A12",
"lightTextSecondary": "#7D6B48",
"success": "#22c55e",
"warning": "#f59e0b",
"error": "#ef4444"
}Request to update theme colors (partial update allowed).
Successful Response
Theme colors settings.