@daydreamui/tokens 0.0.0-stage → 0.4.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/README.md +181 -2
- package/dist/bridge.js +973 -0
- package/dist/index.js +1658 -0
- package/icon.svg +5 -0
- package/manifest.json +27 -0
- package/package.json +15 -4
package/icon.svg
ADDED
package/manifest.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "daydream.tokens",
|
|
3
|
+
"name": "Tokens",
|
|
4
|
+
"description": "Extract a page's design tokens and apply themes, with undo.",
|
|
5
|
+
"version": "0.4.0",
|
|
6
|
+
"api": "3.1",
|
|
7
|
+
"contributes": {
|
|
8
|
+
"panels": [
|
|
9
|
+
"tokens"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"built": "dist/index.js",
|
|
13
|
+
"permissions": [
|
|
14
|
+
{
|
|
15
|
+
"name": "Reads rendered page styles",
|
|
16
|
+
"reason": "Extracts tokens and maps existing styles to a chosen theme."
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Writes project pages and stylesheets",
|
|
20
|
+
"reason": "Applies themes with undo and creates specimen pages. Shared stylesheets affect every page that uses them."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "network",
|
|
24
|
+
"reason": "Talks to Figma desktop's local Dev Mode server on this machine (http://127.0.0.1:3845) for From Figma. Reads only, and only while that server is on; nothing leaves the machine."
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daydreamui/tokens",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Extract a page's design tokens and apply themes, with undo.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"daydream-plugin"
|
|
8
|
+
],
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/martinbavio/daydream-plugins.git",
|
|
15
|
+
"directory": "plugins/daydream.tokens"
|
|
16
|
+
}
|
|
17
|
+
}
|