Design kit command

file.colorProfile

Color profile

Sets the file's colour profile (sRGB or Display P3), converting colour values or reinterpreting them; without a profile answers the current one.

Kit
Design 0.1.0 (.kdesign)
Changes the document
yes

Parameters

Parameters of file.colorProfile
NameTypeRequiredDescription
convertbooleanno
profile"srgb" | "displayP3"no

Call through design_run

text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "file.colorProfile" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: convert, profile. design_run answers the step’s result in completed[i].result.

Result

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "convert": {
      "type": "boolean"
    },
    "profile": {
      "enum": [
        "srgb",
        "displayP3"
      ],
      "type": "string"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (design_commands through @kition/[email protected], built from KitionAI/kition-design@abc7e16). As data: commands.jsonl.