@biztoken/design-tokens 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/package.json +10 -9
  2. package/tokens-DTCGS.json +14 -14
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "@biztoken/design-tokens",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "description": "the design tokens for biz",
6
6
  "main": "tokens-DTCGS.json",
7
+ "scripts": {
8
+ "dev": "vite",
9
+ "build": "quicktype --src tokens-DTCGS.json --lang schema --out schema.json && node remove-required.js",
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ },
7
12
  "publishConfig": {
8
13
  "access": "public"
9
14
  },
@@ -12,16 +17,12 @@
12
17
  "schema.json"
13
18
  ],
14
19
  "devDependencies": {
20
+ "@biztoken/simple-editor": "workspace:*",
15
21
  "quicktype": "^23.2.6",
16
- "vite": "^7.2.7",
17
- "@biztoken/simple-editor": "0.1.9"
22
+ "vite": "^7.2.7"
18
23
  },
19
24
  "keywords": [],
20
25
  "author": "im.shenshen@qq.com",
21
26
  "license": "ISC",
22
- "scripts": {
23
- "dev": "vite",
24
- "build": "quicktype --src tokens-DTCGS.json --lang schema --out schema.json && node remove-required.js",
25
- "test": "echo \"Error: no test specified\" && exit 1"
26
- }
27
- }
27
+ "packageManager": "pnpm@10.4.1"
28
+ }
package/tokens-DTCGS.json CHANGED
@@ -7184,47 +7184,47 @@
7184
7184
  },
7185
7185
  "neutral": {
7186
7186
  "1": {
7187
- "$value": "#00000005",
7187
+ "$value": "#fafafa",
7188
7188
  "$type": "color",
7189
7189
  "$description": "黑色2% 透明度,浅灰色背景"
7190
7190
  },
7191
7191
  "2": {
7192
- "$value": "#0000000A",
7192
+ "$value": "#f5f5f5",
7193
7193
  "$type": "color",
7194
- "$description": "黑色4% 透明度,深色背景,"
7194
+ "$description": "黑色4% 透明度,深色背景。"
7195
7195
  },
7196
7196
  "3": {
7197
- "$value": "#0000000F",
7197
+ "$value": "#f0f0f0",
7198
7198
  "$type": "color",
7199
7199
  "$description": "黑色6% 透明度,浅色分割线"
7200
7200
  },
7201
7201
  "4": {
7202
- "$value": "#0000001A",
7202
+ "$value": "#e5e5e5",
7203
7203
  "$type": "color",
7204
7204
  "$description": "黑色10% 透明度,深色分割线、禁用色"
7205
7205
  },
7206
7206
  "5": {
7207
- "$value": "#00000026",
7207
+ "$value": "#d9d9d9",
7208
7208
  "$type": "color",
7209
7209
  "$description": "黑色15% 透明度,输入框描边"
7210
7210
  },
7211
7211
  "6": {
7212
- "$value": "#00000040",
7212
+ "$value": "#bfbfbf",
7213
7213
  "$type": "color",
7214
7214
  "$description": "黑色25% 透明度,失效文字、功能icon浅"
7215
7215
  },
7216
7216
  "7": {
7217
- "$value": "#00000073",
7217
+ "$value": "#8c8c8c",
7218
7218
  "$type": "color",
7219
7219
  "$description": "黑色45% 透明度,辅助说明文字、功能icon深"
7220
7220
  },
7221
7221
  "8": {
7222
- "$value": "#000000A6",
7222
+ "$value": "#595959",
7223
7223
  "$type": "color",
7224
7224
  "$description": "黑色65% 透明度,次要文字"
7225
7225
  },
7226
7226
  "9": {
7227
- "$value": "#000000D9",
7227
+ "$value": "#262626",
7228
7228
  "$type": "color",
7229
7229
  "$description": "黑色85% 透明度,主要文字、标题"
7230
7230
  },
@@ -7940,19 +7940,19 @@
7940
7940
  "$description": "45%\n按钮、标签、警告提示描边"
7941
7941
  },
7942
7942
  "neutral": {
7943
- "$value": "{sys.palette.neutral.6}",
7943
+ "$value": "{sys.palette.neutral.5}",
7944
7944
  "$type": "color"
7945
7945
  },
7946
7946
  "neutral-disable": {
7947
- "$value": "{sys.palette.neutral.5}",
7947
+ "$value": "{sys.palette.neutral.4}",
7948
7948
  "$type": "color"
7949
7949
  },
7950
7950
  "input": {
7951
- "$value": "{sys.palette.neutral.6}",
7951
+ "$value": "{sys.palette.neutral.5}",
7952
7952
  "$type": "color"
7953
7953
  },
7954
7954
  "input-disable": {
7955
- "$value": "{sys.palette.neutral.4}",
7955
+ "$value": "{sys.palette.neutral.3}",
7956
7956
  "$type": "color"
7957
7957
  }
7958
7958
  },