You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/contract/variable-contract.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ This contract defines the canonical shape used in version control.
20
20
21
21
Tool exports (example: a Figma variable export JSON) are treated as inputs. They may include extra metadata and alternate reference syntax. An adapter can normalize those inputs into this contract.
22
22
23
-
See [Adapters](/adapters) for adapter patterns and implementations.
23
+
See [Adapters](/adapters.md) for adapter patterns and implementations.
24
24
25
25
## Adapter pipeline
26
26
@@ -182,7 +182,7 @@ Variable Design Standard (VDS) conformance requires:
182
182
- Validation implementation
183
183
- Versioning compliance
184
184
185
-
See [Conformance](/reference/conformance) for complete conformance requirements and how to claim compliance.
185
+
See [Conformance](/reference/conformance.md) for complete conformance requirements and how to claim compliance.
Copy file name to clipboardExpand all lines: docs/examples/dtcg-compliant.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ A strictly DTCG 2025.10 compliant variable file demonstrating primitive types, c
8
8
9
9
- Raw file: [dtcg-compliant.json](/assets/schema/dtcg-compliant.json)
10
10
11
-
This file uses only features defined in the [DTCG 2025.10 specification](https://www.designtokens.org/tr/drafts/format/). It does NOT use Variable Design Standard (VDS) extensions like modes in `$value`. See [DTCG Alignment](/contract/dtcg-alignment) for what DTCG provides vs what Variable Design Standard (VDS) adds.
11
+
This file uses only features defined in the [DTCG 2025.10 specification](https://www.designtokens.org/tr/drafts/format/). It does NOT use Variable Design Standard (VDS) extensions like modes in `$value`. See [DTCG Alignment](/contract/dtcg-alignment.md) for what DTCG provides vs what Variable Design Standard (VDS) adds.
12
12
13
13
## File overview
14
14
@@ -22,12 +22,12 @@ The example file includes:
22
22
23
23
**Not included** (Variable Design Standard (VDS) extensions):
24
24
25
-
- Modes in `$value` objects (see [Modes](/contract/modes) for VC extension)
25
+
- Modes in `$value` objects (see [Modes](/contract/modes.md) for VC extension)
26
26
- String shortcuts for dimension/duration/color
27
27
28
28
## Primitive types
29
29
30
-
DTCG 2025.10 requires specific object formats for certain types. See [Types](/contract/types) for complete reference.
30
+
DTCG 2025.10 requires specific object formats for certain types. See [Types](/contract/types.md) for complete reference.
31
31
32
32
### Color (object format required)
33
33
@@ -126,7 +126,7 @@ Font family, font weight, cubic bezier, and number types use simple values:
126
126
127
127
## Composite types
128
128
129
-
Structured types combining multiple values. See [Composite Types](/contract/composite-types) for complete reference.
129
+
Structured types combining multiple values. See [Composite Types](/contract/composite-types.md) for complete reference.
Variables can reference other variables using curly brace syntax. See [References](/contract/references) for resolution rules.
180
+
Variables can reference other variables using curly brace syntax. See [References](/contract/references.md) for resolution rules.
181
181
182
182
```json
183
183
{
@@ -208,7 +208,7 @@ Variables can reference other variables using curly brace syntax. See [Reference
208
208
209
209
## Group extension
210
210
211
-
Groups can extend other groups using `$extends` with curly brace syntax. See [Groups](/contract/groups) for extension rules.
211
+
Groups can extend other groups using `$extends` with curly brace syntax. See [Groups](/contract/groups.md) for extension rules.
212
212
213
213
```json
214
214
{
@@ -275,7 +275,7 @@ This pattern creates a clear hierarchy: base → semantic → component.
275
275
276
276
## Modes (Variable Design Standard (VDS) extension)
277
277
278
-
**Note**: Modes in `$value` are NOT part of the DTCG 2025.10 specification. If you need light/dark theme variants, Variable Design Standard (VDS) provides modes as an extension. See [Modes](/contract/modes).
278
+
**Note**: Modes in `$value` are NOT part of the DTCG 2025.10 specification. If you need light/dark theme variants, Variable Design Standard (VDS) provides modes as an extension. See [Modes](/contract/modes.md).
279
279
280
280
For strict DTCG compliance without modes, use separate variables:
281
281
@@ -314,10 +314,10 @@ Invalid DTCG format causes build failures:
314
314
315
315
This example demonstrates strict DTCG format compliance, not:
316
316
317
-
-**Variable Design Standard (VDS) extensions**: Modes, string shortcuts. See [Modes](/contract/modes) for VC extensions.
318
-
-**Platform output**: CSS, SCSS, or JavaScript output. See [Adapter Pipeline](/examples/adapter-pipeline).
319
-
-**Tool-specific input**: Figma or Tokens Studio export formats. See [Figma Export](/examples/figma-export).
320
-
-**Multi-brand architecture**: Brand overrides and theme composition. See [Multi-brand Architecture](/patterns/multi-brand-architecture).
317
+
-**Variable Design Standard (VDS) extensions**: Modes, string shortcuts. See [Modes](/contract/modes.md) for VC extensions.
318
+
-**Platform output**: CSS, SCSS, or JavaScript output. See [Adapter Pipeline](/examples/adapter-pipeline.md).
319
+
-**Tool-specific input**: Figma or Tokens Studio export formats. See [Figma Export](/examples/figma-export.md).
320
+
-**Multi-brand architecture**: Brand overrides and theme composition. See [Multi-brand Architecture](/patterns/multi-brand-architecture.md).
321
321
322
322
## Validation
323
323
@@ -327,4 +327,4 @@ Validate DTCG compliance using the JSON schema:
0 commit comments