---
title: "proto.settings: Prototype settings — Design kit command — Kition"
description: "Sets the prototype's device, background, rotation, device colour and custom size."
canonical: "https://developer.kition.ai/docs/kits/design/commands/proto.settings"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/design/commands/proto.settings](https://developer.kition.ai/docs/kits/design/commands/proto.settings)

# proto.settings

**Prototype settings.** Sets the prototype's device, background, rotation, device colour and custom size.

- Kit: Design 0.1.0 (.kdesign); reference: [Design kit commands](https://developer.kition.ai/docs/kits/design.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `background` | `string` | no |  |
| `color` | `string` | no | one of the device's colours by name |
| `device` | `string` | no |  |
| `height` | `number` | no | the custom size's screen, 1–10000 points; picks "Custom size" |
| `responsive` | `boolean` | no | frames resize to the screen and their constraints and auto layout respond |
| `rotation` | `"portrait" \| "landscape" \| 0 \| 90` | no |  |
| `width` | `number` | no |  |

## Call through design_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `background`, `color`, `device`, `height`, `responsive`, `rotation`, `width`. 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": {
    "background": {
      "type": "string"
    },
    "color": {
      "description": "one of the device's colours by name",
      "type": "string"
    },
    "device": {
      "type": "string"
    },
    "height": {
      "description": "the custom size's screen, 1–10000 points; picks \"Custom size\"",
      "type": "number"
    },
    "responsive": {
      "description": "frames resize to the screen and their constraints and auto layout respond",
      "type": "boolean"
    },
    "rotation": {
      "oneOf": [
        {
          "enum": [
            "portrait",
            "landscape"
          ],
          "type": "string"
        },
        {
          "enum": [
            0,
            90
          ],
          "type": "integer"
        }
      ]
    },
    "width": {
      "type": "number"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/design-darwin-arm64@0.1.0 and the kit itself (design_commands through @kition/cli@0.1.1, built from KitionAI/kition-design@abc7e16).
