# fun.tyler.crepe.config

> Published by [tyler.fun](https://lexicon.garden/identity/did:plc:4gt3dbmp4pydjiemob4konzm)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4gt3dbmp4pydjiemob4konzm/fun.tyler.crepe.config)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4gt3dbmp4pydjiemob4konzm/fun.tyler.crepe.config/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4gt3dbmp4pydjiemob4konzm/fun.tyler.crepe.config/examples)

## Definitions

### `fun.tyler.crepe.config`

**Type**: `record`

A user's crepe configuration, stored once at rkey `self` in the private space.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `theme` | `string` | No | Preferred color mode. |
| `updatedAt` | `string` (datetime) | Yes | Last edit; the last-write-wins clock for the config record. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A user's crepe configuration, stored once at rkey `self` in the private space.",
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "theme": {
            "description": "Preferred color mode.",
            "enum": [
              "light",
              "dark",
              "system"
            ],
            "type": "string"
          },
          "updatedAt": {
            "description": "Last edit; the last-write-wins clock for the config record.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fun.tyler.crepe.config",
  "lexicon": 1
}
```
