---
title: "DTCGThemeInit"
description: "The runtime-shaped init [fromDTCG](https://pitlane.tools/package/theme/dtcg/function/fromDTCG.md) derives from a DTCG document."
url: "https://pitlane.tools/package/theme/dtcg/interface/DTCGThemeInit"
---

# DTCGThemeInit

```ts
import type { DTCGThemeInit } from "@pitlane/theme/dtcg";
```

The runtime-shaped init [fromDTCG](https://pitlane.tools/package/theme/dtcg/function/fromDTCG.md) derives from a DTCG document.

Its `schema` and `tokens` use the broad [ThemeInit](https://pitlane.tools/package/theme/interface/ThemeInit.md) member types: a JSON document cannot produce the literal information required to brand a token accessor. Generate a checked-in schema and token module from the document when a typed accessor is required.

## Properties

### schema

```ts
schema: object;
```

The derived runtime schema tree.

---

### tokens

```ts
tokens: object;
```

The bare token values described by [schema](https://pitlane.tools/package/theme/dtcg/interface/DTCGThemeInit.md#schema).
