@usegraft/tokens 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +29 -0
  2. package/package.json +15 -2
package/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # @usegraft/tokens
2
+
3
+ > The Graft design tokens as plain CSS custom properties.
4
+
5
+ Part of [Graft](https://github.com/AndersonDesign1/graft), a CMS built so an AI agent is the primary operator.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm i @usegraft/tokens
11
+ ```
12
+
13
+ ## Use
14
+
15
+ ```css
16
+ @import "@usegraft/tokens/tokens.css";
17
+ ```
18
+
19
+ Or from JavaScript:
20
+
21
+ ```ts
22
+ import "@usegraft/tokens/tokens.css";
23
+ ```
24
+
25
+ Custom properties, not a framework. Override any of them in your own stylesheet and nothing in Graft fights you for it. The Studio uses these, so restyling the Studio is a matter of redefining the tokens rather than forking a component.
26
+
27
+ ---
28
+
29
+ MIT. [Repository](https://github.com/AndersonDesign1/graft) · [Changelog](https://github.com/AndersonDesign1/graft/blob/feat/core/packages/tokens/CHANGELOG.md)
package/package.json CHANGED
@@ -1,7 +1,20 @@
1
1
  {
2
2
  "name": "@usegraft/tokens",
3
- "version": "0.1.0",
4
- "description": "Graft design tokens — one stylesheet, consumed by the docs site and the Studio.",
3
+ "version": "0.2.0",
4
+ "description": "Graft design tokens as plain CSS custom properties.",
5
+ "keywords": [
6
+ "agent",
7
+ "ai",
8
+ "cms",
9
+ "css",
10
+ "design-tokens",
11
+ "graft",
12
+ "headless-cms",
13
+ "mcp",
14
+ "theming",
15
+ "typescript"
16
+ ],
17
+ "homepage": "https://github.com/AndersonDesign1/graft#readme",
5
18
  "license": "MIT",
6
19
  "repository": {
7
20
  "type": "git",