@surf-kit/tokens 0.1.3 → 0.3.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 +184 -12
- package/README.md +1 -1
- package/dist/css/variables-brand.css +13 -13
- package/dist/css/variables-dark.css +22 -22
- package/dist/css/variables-energy.css +165 -0
- package/dist/css/variables-light.css +9 -9
- package/dist/css/variables.css +3 -3
- package/dist/json/tokens.json +9 -9
- package/dist/native/tokens-brand.ts +163 -0
- package/dist/native/tokens-dark.ts +163 -0
- package/dist/native/tokens-energy.ts +163 -0
- package/dist/native/tokens-light.ts +163 -0
- package/dist/ts/tokens.js +12 -12
- package/package.json +23 -2
package/dist/ts/tokens.js
CHANGED
|
@@ -1137,13 +1137,13 @@ export default {
|
|
|
1137
1137
|
},
|
|
1138
1138
|
status: {
|
|
1139
1139
|
success: {
|
|
1140
|
-
$value: "#
|
|
1140
|
+
$value: "#6b9317",
|
|
1141
1141
|
filePath:
|
|
1142
1142
|
"/home/runner/work/surf-kit/surf-kit/packages/tokens/src/semantic/light.json",
|
|
1143
1143
|
isSource: true,
|
|
1144
1144
|
$type: "color",
|
|
1145
1145
|
original: {
|
|
1146
|
-
$value: "{color.lime.
|
|
1146
|
+
$value: "{color.lime.700}",
|
|
1147
1147
|
$type: "color",
|
|
1148
1148
|
},
|
|
1149
1149
|
name: "ColorStatusSuccess",
|
|
@@ -1173,13 +1173,13 @@ export default {
|
|
|
1173
1173
|
path: ["color", "status", "success-subtle"],
|
|
1174
1174
|
},
|
|
1175
1175
|
warning: {
|
|
1176
|
-
$value: "#
|
|
1176
|
+
$value: "#c69300",
|
|
1177
1177
|
filePath:
|
|
1178
1178
|
"/home/runner/work/surf-kit/surf-kit/packages/tokens/src/semantic/light.json",
|
|
1179
1179
|
isSource: true,
|
|
1180
1180
|
$type: "color",
|
|
1181
1181
|
original: {
|
|
1182
|
-
$value: "{color.golden.
|
|
1182
|
+
$value: "{color.golden.700}",
|
|
1183
1183
|
$type: "color",
|
|
1184
1184
|
},
|
|
1185
1185
|
name: "ColorStatusWarning",
|
|
@@ -1209,13 +1209,13 @@ export default {
|
|
|
1209
1209
|
path: ["color", "status", "warning-subtle"],
|
|
1210
1210
|
},
|
|
1211
1211
|
error: {
|
|
1212
|
-
$value: "#
|
|
1212
|
+
$value: "#b8124a",
|
|
1213
1213
|
filePath:
|
|
1214
1214
|
"/home/runner/work/surf-kit/surf-kit/packages/tokens/src/semantic/light.json",
|
|
1215
1215
|
isSource: true,
|
|
1216
1216
|
$type: "color",
|
|
1217
1217
|
original: {
|
|
1218
|
-
$value: "{color.watermelon.
|
|
1218
|
+
$value: "{color.watermelon.700}",
|
|
1219
1219
|
$type: "color",
|
|
1220
1220
|
},
|
|
1221
1221
|
name: "ColorStatusError",
|
|
@@ -2361,7 +2361,7 @@ export default {
|
|
|
2361
2361
|
},
|
|
2362
2362
|
border: {
|
|
2363
2363
|
$type: "color",
|
|
2364
|
-
$value: "#
|
|
2364
|
+
$value: "#6b9317",
|
|
2365
2365
|
filePath:
|
|
2366
2366
|
"/home/runner/work/surf-kit/surf-kit/packages/tokens/src/component/components.json",
|
|
2367
2367
|
isSource: true,
|
|
@@ -2417,7 +2417,7 @@ export default {
|
|
|
2417
2417
|
},
|
|
2418
2418
|
border: {
|
|
2419
2419
|
$type: "color",
|
|
2420
|
-
$value: "#
|
|
2420
|
+
$value: "#c69300",
|
|
2421
2421
|
filePath:
|
|
2422
2422
|
"/home/runner/work/surf-kit/surf-kit/packages/tokens/src/component/components.json",
|
|
2423
2423
|
isSource: true,
|
|
@@ -2473,7 +2473,7 @@ export default {
|
|
|
2473
2473
|
},
|
|
2474
2474
|
border: {
|
|
2475
2475
|
$type: "color",
|
|
2476
|
-
$value: "#
|
|
2476
|
+
$value: "#b8124a",
|
|
2477
2477
|
filePath:
|
|
2478
2478
|
"/home/runner/work/surf-kit/surf-kit/packages/tokens/src/component/components.json",
|
|
2479
2479
|
isSource: true,
|
|
@@ -2495,7 +2495,7 @@ export default {
|
|
|
2495
2495
|
passed: {
|
|
2496
2496
|
icon: {
|
|
2497
2497
|
$type: "color",
|
|
2498
|
-
$value: "#
|
|
2498
|
+
$value: "#6b9317",
|
|
2499
2499
|
filePath:
|
|
2500
2500
|
"/home/runner/work/surf-kit/surf-kit/packages/tokens/src/component/components.json",
|
|
2501
2501
|
isSource: true,
|
|
@@ -2533,7 +2533,7 @@ export default {
|
|
|
2533
2533
|
flagged: {
|
|
2534
2534
|
icon: {
|
|
2535
2535
|
$type: "color",
|
|
2536
|
-
$value: "#
|
|
2536
|
+
$value: "#c69300",
|
|
2537
2537
|
filePath:
|
|
2538
2538
|
"/home/runner/work/surf-kit/surf-kit/packages/tokens/src/component/components.json",
|
|
2539
2539
|
isSource: true,
|
|
@@ -2571,7 +2571,7 @@ export default {
|
|
|
2571
2571
|
failed: {
|
|
2572
2572
|
icon: {
|
|
2573
2573
|
$type: "color",
|
|
2574
|
-
$value: "#
|
|
2574
|
+
$value: "#b8124a",
|
|
2575
2575
|
filePath:
|
|
2576
2576
|
"/home/runner/work/surf-kit/surf-kit/packages/tokens/src/component/components.json",
|
|
2577
2577
|
isSource: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surf-kit/tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Design tokens for surf-kit — colors, spacing, typography as CSS, JSON, and TypeScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-tokens",
|
|
@@ -22,11 +22,32 @@
|
|
|
22
22
|
"./css/light": "./dist/css/variables-light.css",
|
|
23
23
|
"./css/dark": "./dist/css/variables-dark.css",
|
|
24
24
|
"./css/brand": "./dist/css/variables-brand.css",
|
|
25
|
+
"./css/energy": "./dist/css/variables-energy.css",
|
|
25
26
|
"./ts": {
|
|
26
27
|
"types": "./dist/ts/tokens.d.ts",
|
|
27
28
|
"default": "./dist/ts/tokens.js"
|
|
28
29
|
},
|
|
29
30
|
"./json": "./dist/json/tokens.json",
|
|
31
|
+
"./native": {
|
|
32
|
+
"types": "./dist/native/tokens-light.ts",
|
|
33
|
+
"default": "./dist/native/tokens-light.ts"
|
|
34
|
+
},
|
|
35
|
+
"./native/light": {
|
|
36
|
+
"types": "./dist/native/tokens-light.ts",
|
|
37
|
+
"default": "./dist/native/tokens-light.ts"
|
|
38
|
+
},
|
|
39
|
+
"./native/dark": {
|
|
40
|
+
"types": "./dist/native/tokens-dark.ts",
|
|
41
|
+
"default": "./dist/native/tokens-dark.ts"
|
|
42
|
+
},
|
|
43
|
+
"./native/brand": {
|
|
44
|
+
"types": "./dist/native/tokens-brand.ts",
|
|
45
|
+
"default": "./dist/native/tokens-brand.ts"
|
|
46
|
+
},
|
|
47
|
+
"./native/energy": {
|
|
48
|
+
"types": "./dist/native/tokens-energy.ts",
|
|
49
|
+
"default": "./dist/native/tokens-energy.ts"
|
|
50
|
+
},
|
|
30
51
|
".": "./dist/ts/tokens.js"
|
|
31
52
|
},
|
|
32
53
|
"repository": {
|
|
@@ -38,7 +59,7 @@
|
|
|
38
59
|
"bugs": {
|
|
39
60
|
"url": "https://github.com/barney-w/surf-kit/issues"
|
|
40
61
|
},
|
|
41
|
-
"license": "
|
|
62
|
+
"license": "Apache-2.0",
|
|
42
63
|
"devDependencies": {
|
|
43
64
|
"style-dictionary": "^4.0.0",
|
|
44
65
|
"tsx": "^4.0.0",
|