@transcodes/design-tokens 0.1.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.
- package/LICENSE +21 -0
- package/README.md +202 -0
- package/build/components.css +501 -0
- package/build/components.d.ts +6 -0
- package/build/components.js +509 -0
- package/build/tokens-dark.css +27 -0
- package/build/tokens.css +187 -0
- package/build/tokens.d.ts +271 -0
- package/build/tokens.json +183 -0
- package/package.json +56 -0
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@transcodes/design-tokens",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Style Dictionary based design tokens with dark mode support for consistent, beautiful interfaces",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"design-tokens",
|
|
8
|
+
"css-variables",
|
|
9
|
+
"style-dictionary",
|
|
10
|
+
"dark-mode",
|
|
11
|
+
"wcag",
|
|
12
|
+
"accessibility"
|
|
13
|
+
],
|
|
14
|
+
"author": {
|
|
15
|
+
"name": "Transcodes",
|
|
16
|
+
"url": "https://github.com/transcodings"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"homepage": "https://github.com/transcodings/transcodes-ui/tree/main/packages/design-tokens#readme",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/transcodings/transcodes-ui.git",
|
|
23
|
+
"directory": "packages/design-tokens"
|
|
24
|
+
},
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/transcodings/transcodes-ui/issues"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"type": "module",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": "./build/tokens.css",
|
|
34
|
+
"./tokens.css": "./build/tokens.css",
|
|
35
|
+
"./tokens-dark.css": "./build/tokens-dark.css",
|
|
36
|
+
"./components.css": "./build/components.css",
|
|
37
|
+
"./components": {
|
|
38
|
+
"types": "./build/components.d.ts",
|
|
39
|
+
"import": "./build/components.js"
|
|
40
|
+
},
|
|
41
|
+
"./types": "./build/tokens.d.ts",
|
|
42
|
+
"./json": "./build/tokens.json"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"build/",
|
|
46
|
+
"README.md"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "bun --bun style-dictionary build --config sd.config.ts && bun --bun style-dictionary build --config sd.config.dark.ts && bun run scripts/build-components-js.ts",
|
|
50
|
+
"clean": "rm -rf build"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/bun": "^1.3.4",
|
|
54
|
+
"style-dictionary": "^5.1.1"
|
|
55
|
+
}
|
|
56
|
+
}
|