# dev.nibling.actor.settings

> An account's nibling settings. Public, like every record in the repo, so it holds only choices that are fine to show, such as which services the account uses. A field left out takes the app's default.

- Kind: record
- Record key: literal:self
- Authority: actor.nibling.dev
- Lexicon: 1
- Published by [nibling.dev](https://lexicon.garden/identity/did:plc:qgte7qw4zeutobb5h7joxoyt), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qgte7qw4zeutobb5h7joxoyt/dev.nibling.actor.settings)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qgte7qw4zeutobb5h7joxoyt/dev.nibling.actor.settings/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qgte7qw4zeutobb5h7joxoyt/dev.nibling.actor.settings/analytics)

## Record (`dev.nibling.actor.settings`)

Type: record · key literal:self

### Properties

- `appearance` (ref): How the app looks for this account, in every browser it signs in on. Absent: the browser's own choice.
  - Reference: `#appearance`
- `createdAt` (string · datetime)
- `dotfiles` (boolean): Whether this account's terminals load its dotfiles from its dev.nibling.dotfiles space. Absent means they do.
- `npmGateway` (string): The hostname of the dev.nibling.npm.getClosure gateway this account's installs ask, with a port when it is not 443, as a tangled repo names its knot: `npm.example.com`, `localhost:8787`. It is asked at https://<host>, or http on loopback. Absent: the app's hosted gateway.
  - Constraints: maxLength: 259
- `sshAccess` (boolean): Whether this account's open sandbox tabs attach to the SSH gateway so `ssh <handle>@<gateway> <slug>` can reach them.

## #appearance (`dev.nibling.actor.settings#appearance`)

Type: object

The app's look. A field that is absent or not understood takes the app's default. Numbers are in hundredths, since records hold no floats.

### Properties

- `accent` (string): A preset accent's name, such as `sky` or `orange`, or a custom accent's OKLCH seed as `oklch(L C H)`, such as `oklch(0.62 0.15 300)`.
  - Constraints: maxLength: 64
- `contrast` (string): Standard or high contrast, or the system's preference.
  - Constraints: maxLength: 16, knownValues: standard | high | system
- `corners` (string): The shape of rounded corners: a circle's arc, a subtle superellipse, a squircle, a bevel, or square.
  - Constraints: maxLength: 16, knownValues: round | superellipse | squircle | bevel | square
- `finish` (integer): From 0 (flat) to 100 (glossy).
  - Constraints: minimum: 0, maximum: 100
- `scheme` (string): Dark or light, or the system's preference.
  - Constraints: maxLength: 16, knownValues: dark | light | system
- `temperature` (integer): Neutral temperature, from -100 (cool) to 100 (warm).
  - Constraints: minimum: -100, maximum: 100
- `translucency` (integer): From 0 (opaque) to 100 (frosted).
  - Constraints: minimum: 0, maximum: 100

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "appearance": {
      "description": "The app's look. A field that is absent or not understood takes the app's default. Numbers are in hundredths, since records hold no floats.",
      "properties": {
        "accent": {
          "description": "A preset accent's name, such as `sky` or `orange`, or a custom accent's OKLCH seed as `oklch(L C H)`, such as `oklch(0.62 0.15 300)`.",
          "maxLength": 64,
          "type": "string"
        },
        "contrast": {
          "description": "Standard or high contrast, or the system's preference.",
          "knownValues": [
            "standard",
            "high",
            "system"
          ],
          "maxLength": 16,
          "type": "string"
        },
        "corners": {
          "description": "The shape of rounded corners: a circle's arc, a subtle superellipse, a squircle, a bevel, or square.",
          "knownValues": [
            "round",
            "superellipse",
            "squircle",
            "bevel",
            "square"
          ],
          "maxLength": 16,
          "type": "string"
        },
        "finish": {
          "description": "From 0 (flat) to 100 (glossy).",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        "scheme": {
          "description": "Dark or light, or the system's preference.",
          "knownValues": [
            "dark",
            "light",
            "system"
          ],
          "maxLength": 16,
          "type": "string"
        },
        "temperature": {
          "description": "Neutral temperature, from -100 (cool) to 100 (warm).",
          "maximum": 100,
          "minimum": -100,
          "type": "integer"
        },
        "translucency": {
          "description": "From 0 (opaque) to 100 (frosted).",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "main": {
      "key": "literal:self",
      "record": {
        "properties": {
          "appearance": {
            "description": "How the app looks for this account, in every browser it signs in on. Absent: the browser's own choice.",
            "ref": "#appearance",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "dotfiles": {
            "description": "Whether this account's terminals load its dotfiles from its dev.nibling.dotfiles space. Absent means they do.",
            "type": "boolean"
          },
          "npmGateway": {
            "description": "The hostname of the dev.nibling.npm.getClosure gateway this account's installs ask, with a port when it is not 443, as a tangled repo names its knot: `npm.example.com`, `localhost:8787`. It is asked at https://<host>, or http on loopback. Absent: the app's hosted gateway.",
            "maxLength": 259,
            "type": "string"
          },
          "sshAccess": {
            "description": "Whether this account's open sandbox tabs attach to the SSH gateway so `ssh <handle>@<gateway> <slug>` can reach them.",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "An account's nibling settings. Public, like every record in the repo, so it holds only choices that are fine to show, such as which services the account uses. A field left out takes the app's default.",
  "id": "dev.nibling.actor.settings",
  "lexicon": 1
}
```
