Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
manageColorStyleTOOL
Creates or updates a color style in the project.
The style path must start with "/" and can include folder structure (e.g., "/Brand/Primary"). The display name will be automatically derived from the last segment of the path. For example, "/Brand/Primary" will create a style named "Primary" in the "Brand" folder.
  • When type is "create": Creates a new color style. Will fail if style already exists.
  • When type is "update": Updates an existing color style. Will fail if style doesn't exist.
After creating, you can reference this style in XML nodes using color="/path/to/style".
idempotent
Parameters
type *"create" | "update"
Operation type: "create" to make a new style, "update" to modify an existing style
stylePath *string
The path of the color style. Must start with /. The name is derived from the last path segment.
properties *object
Properties for the color style. For create, light color is required. For update, only specified properties will be changed.
Show properties
name?string
The display name of the color style
light?string
Light theme color in any CSS color format (e.g., "rgb(255, 0, 0)", "#FF0000", "red")
dark?string | null
Dark theme color in any CSS color format, or null to remove dark variant
Request example
{ "method": "tools/call", "params": { "name": "manageColorStyle", "arguments": { "type": "create", "stylePath": "string", "properties": { "name": "string", "light": "string", "dark": "string" } } } }