Vector kit command
css.generate
Generate CSS
Answers CSS rules for every object in the document.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
image | boolean | no | read by the command beside its listed parameters |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "css.generate" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: image. vector_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
css | string | no | |
rules | object[] | no | |
skipped | number | no | |
warnings | any[] | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"css": {
"type": "string"
},
"rules": {
"items": {
"additionalProperties": true,
"properties": {
"css": {
"type": "string"
},
"id": {
"type": "number"
},
"selector": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"skipped": {
"type": "number"
},
"warnings": {
"type": "array"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"image": {
"description": "read by the command beside its listed parameters",
"type": "boolean"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (vector_commands through @kition/[email protected], built from KitionAI/kition-vector@7cf908f). As data: commands.jsonl.