@telegraph/tokens 0.0.1 → 0.0.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @telegraph/tokens
2
2
 
3
+ ## 0.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#36](https://github.com/knocklabs/telegraph/pull/36) [`06bf439`](https://github.com/knocklabs/telegraph/commit/06bf439773d05154e9cc4a6523382a73330c4060) Thanks [@kylemcd](https://github.com/kylemcd)! - adds documentation via the readme file
8
+
3
9
  ## 0.0.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -1 +1,34 @@
1
- # tokens
1
+ ![Telegraph by Knock](https://github.com/knocklabs/telegraph/assets/29106675/9b5022e3-b02c-4582-ba57-3d6171e45e44)
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@telegraph/tokens.svg)](https://www.npmjs.com/package/@telegraph/tokens)
4
+
5
+ # @telegraph/tokens
6
+ > Stylesheet that configures the design tokens inside of telegraph components
7
+
8
+
9
+ ### Installation Instructions
10
+
11
+ ```
12
+ npm install @telegraph/tokens
13
+ ```
14
+
15
+
16
+ #### Add stylesheet
17
+ Pick one:
18
+
19
+ Via CSS (preferred):
20
+ ```
21
+ @import "@telegraph/tokens"
22
+ ```
23
+
24
+ Via Javascript:
25
+ ```
26
+ import "@telegraph/tokens/default.css"
27
+ OR
28
+ import "@telegraph/tokens/light.css"
29
+ OR
30
+ import "@telegraph/tokens/dark.css"
31
+ OR
32
+ import "@telegraph/tokens/semantic.css"
33
+ ```
34
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telegraph/tokens",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "author": "@knocklabs",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/knocklabs/telegraph/tree/main/packages/tokens",
@@ -50,8 +50,8 @@
50
50
  "devDependencies": {
51
51
  "@knocklabs/eslint-config": "^0.0.3",
52
52
  "@knocklabs/typescript-config": "^0.0.2",
53
- "@telegraph/prettier-config": "^0.0.5",
54
- "@telegraph/vite-config": "^0.0.5",
53
+ "@telegraph/prettier-config": "^0.0.6",
54
+ "@telegraph/vite-config": "^0.0.6",
55
55
  "eslint": "^8.56.0",
56
56
  "lightningcss": "^1.23.0",
57
57
  "typescript": "^5.3.3",