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
refactor: rename project and update references to "variables-contract"
- Changed project name from "variable-contract" to "variables-contract" across all relevant files, including configuration, documentation, and links.
- Updated basePath in docmd.config.js to reflect the new project name.
- Ensured consistency in naming throughout the documentation and examples.
- Removed obsolete site files to streamline the project structure.
Copy file name to clipboardExpand all lines: README.md
+34-34Lines changed: 34 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
-
# Variable Contract
1
+
# Variables Contract
2
2
3
3
Public specification and governance standard for design variables. DTCG 2025.10 compliant format with naming rules, validation requirements, versioning strategy, and adapter patterns.
4
4
5
5
**Version:** 0.3.5
6
6
**Status:** Draft
7
7
**Editor:** Mark Learst
8
8
9
-
Variables are variables. CSS variables, JavaScript variables, Figma variables. Variable Contract standardizes how we name, structure, and govern them. No metaphors. No cute names. Just variables.
9
+
Variables are variables. CSS variables, JavaScript variables, Figma variables. Variables Contract standardizes how we name, structure, and govern them. No metaphors. No cute names. Just variables.
10
10
11
11
If variables are managed without a contract, you get silent renames, broken references, inconsistent naming, tool lock-in, and production failures.
12
12
13
13
## What this is
14
14
15
-
Variable Contract defines:
15
+
Variables Contract defines:
16
16
17
17
- JSON structure (DTCG 2025.10 format)
18
18
- Naming convention (dot-separated paths, lowercase, no platform prefixes)
- Tools to use (works with any DTCG-compliant tool)
@@ -32,7 +32,7 @@ Variable Contract does NOT define:
32
32
33
33
Variables are variables. CSS variables, JavaScript variables, Figma variables. They store values, can be referenced, and can be changed.
34
34
35
-
"Design tokens" creates confusion. Developers know variables. Designers know variables. Variable Contract uses the term everyone understands.
35
+
"Design tokens" creates confusion. Developers know variables. Designers know variables. Variables Contract uses the term everyone understands.
36
36
37
37
See [Why Variables](docs/introduction/why-variables) for the full argument.
38
38
@@ -42,35 +42,35 @@ See [Why Variables](docs/introduction/why-variables) for the full argument.
42
42
43
43
Everyone calls them something different: design tokens, style properties, design constants, variables, tokens. This creates confusion and separation between design and code.
44
44
45
-
Variable Contract standardizes on "variables" and provides clear naming rules.
45
+
Variables Contract standardizes on "variables" and provides clear naming rules.
46
46
47
47
### No governance
48
48
49
49
Variables change without rules. Renames break components. Invalid references ship to production. Breaking changes go unnoticed.
Copy file name to clipboardExpand all lines: docs/contract/types.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -257,7 +257,7 @@ Examples:
257
257
258
258
## Composite types
259
259
260
-
Composite types combine multiple primitive types into structured values. See [Composite Types](/variable-contract/contract/composite-types) for details.
260
+
Composite types combine multiple primitive types into structured values. See [Composite Types](/variables-contract/contract/composite-types) for details.
0 commit comments