# 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 |
|----------|------|----------|-------------|
| `theme` | `string` | No | Preferred color mode. |
| `createdAt` | `string` (datetime) | Yes |  |
| `updatedAt` | `string` (datetime) | Yes | Last edit; the last-write-wins clock for the config record. |

## Raw Schema

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