@crowdstrike/tailwind-toucan-base 3.0.2 → 3.0.5
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 +8 -2
- package/package.json +9 -8
- package/themes.json +2708 -0
package/README.md
CHANGED
@@ -65,8 +65,11 @@ This addon provides the ability to pull our palette information directly from Fi
|
|
65
65
|
To import the colors run:
|
66
66
|
|
67
67
|
```bash
|
68
|
-
|
69
|
-
|
68
|
+
FIGMA_TOKEN=some-key \
|
69
|
+
LIGHT_ID=fileId \
|
70
|
+
DARK_ID=fileId \
|
71
|
+
MEZZANINE_ID=fileId \
|
72
|
+
pnpm run figma:export-styles
|
70
73
|
```
|
71
74
|
|
72
75
|
- `FIGMA_TOKEN` here is figma [Personal Access Token](https://www.figma.com/developers/api#access-tokens).
|
@@ -76,3 +79,6 @@ LIGHT_ID=fileId DARK_ID=fileId MEZZANINE_ID=fileId \
|
|
76
79
|
|
77
80
|
If you see any errors reported then you _may_ need to ensure that the Figma file is set up correctly (and e.g.
|
78
81
|
there are corresponding colors across each of the palettes).
|
82
|
+
|
83
|
+
If there are resulting changes to the output, you'll need to update the test snapshots.
|
84
|
+
That can be done via `pnpm exec vitest --update`
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@crowdstrike/tailwind-toucan-base",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.5",
|
4
4
|
"private": false,
|
5
5
|
"description": "Tailwind preset for CrowdStrike's Toucan design system",
|
6
6
|
"repository": "https://github.com/CrowdStrike/tailwind-toucan-base",
|
@@ -10,6 +10,7 @@
|
|
10
10
|
"files": [
|
11
11
|
"index.js",
|
12
12
|
"index.css",
|
13
|
+
"themes.json",
|
13
14
|
"toucan.css",
|
14
15
|
"plugins/**/*.js"
|
15
16
|
],
|
@@ -26,27 +27,27 @@
|
|
26
27
|
"lint:js": "eslint ."
|
27
28
|
},
|
28
29
|
"dependencies": {
|
29
|
-
"@figma-export/cli": "3.3.1",
|
30
30
|
"tailwindcss": "^2.2.15"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
|
-
"@
|
33
|
+
"@figma-export/cli": "3.3.1",
|
34
|
+
"@nullvoxpopuli/eslint-configs": "2.2.20",
|
34
35
|
"@semantic-release/changelog": "^6.0.1",
|
35
36
|
"@semantic-release/git": "^10.0.1",
|
36
37
|
"@types/fs-extra": "^9.0.13",
|
37
38
|
"autoprefixer": "^10.4.7",
|
38
39
|
"c8": "^7.11.3",
|
39
40
|
"common-tags": "^1.8.2",
|
40
|
-
"eslint": "^
|
41
|
+
"eslint": "^8.16.0",
|
41
42
|
"execa": "^6.1.0",
|
42
43
|
"fs-extra": "^10.1.0",
|
43
44
|
"npm-run-all": "^4.1.5",
|
44
|
-
"pnpm": "^7.1.
|
45
|
+
"pnpm": "^7.1.5",
|
45
46
|
"postcss": "^8.4.14",
|
46
47
|
"semantic-release": "^19.0.2",
|
47
48
|
"tailwind-config-viewer": "^1.7.0",
|
48
|
-
"typescript": "^4.
|
49
|
-
"vitest": "0.12.
|
49
|
+
"typescript": "^4.7.2",
|
50
|
+
"vitest": "0.12.9"
|
50
51
|
},
|
51
52
|
"engines": {
|
52
53
|
"node": ">=14.15.0"
|
@@ -68,7 +69,7 @@
|
|
68
69
|
"@semantic-release/git"
|
69
70
|
]
|
70
71
|
},
|
71
|
-
"packageManager": "pnpm@7.1.
|
72
|
+
"packageManager": "pnpm@7.1.5",
|
72
73
|
"volta": {
|
73
74
|
"node": "16.15.0",
|
74
75
|
"yarn": "1.22.18",
|