@biztoken/design-tokens 0.1.6 → 0.1.8

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 +23 -27
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.8",
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
@@ -1592,19 +1592,15 @@
1592
1592
  },
1593
1593
  "border-top": {
1594
1594
  "color": {
1595
- "$value": "{com.dialog.container.color}",
1595
+ "$value": "{sys.color.divider.regular}",
1596
1596
  "$type": "color"
1597
1597
  }
1598
1598
  },
1599
- "padding": {
1600
- "$value": "{sys.space.layout}",
1601
- "$type": "dimension"
1602
- },
1603
- "padding-top": {
1599
+ "padding-x": {
1604
1600
  "$value": "{sys.space.layout}",
1605
1601
  "$type": "dimension"
1606
1602
  },
1607
- "padding-bottom": {
1603
+ "padding-y": {
1608
1604
  "$value": "{sys.space.layout}",
1609
1605
  "$type": "dimension"
1610
1606
  }
@@ -2437,7 +2433,7 @@
2437
2433
  },
2438
2434
  "affix-container": {
2439
2435
  "color": {
2440
- "$value": "{sys.color.bg.neutral-strong}",
2436
+ "$value": "{sys.color.bg.neutral}",
2441
2437
  "$type": "color"
2442
2438
  },
2443
2439
  "height": {
@@ -2983,11 +2979,11 @@
2983
2979
  }
2984
2980
  },
2985
2981
  "x-padding": {
2986
- "$value": "{sys.space.inner-component}",
2982
+ "$value": "{sys.space.component}",
2987
2983
  "$type": "dimension"
2988
2984
  },
2989
2985
  "y-padding": {
2990
- "$value": "{sys.space.component}",
2986
+ "$value": "{sys.space.inner-component}",
2991
2987
  "$type": "dimension"
2992
2988
  }
2993
2989
  },
@@ -4758,7 +4754,7 @@
4758
4754
  "$type": "color"
4759
4755
  },
4760
4756
  "bg-title": {
4761
- "$value": "{sys.color.bg.neutral-strong}",
4757
+ "$value": "{sys.color.bg.neutral}",
4762
4758
  "$type": "color"
4763
4759
  },
4764
4760
  "bg": {
@@ -4766,7 +4762,7 @@
4766
4762
  "$type": "color"
4767
4763
  },
4768
4764
  "bg-zebra-stripe": {
4769
- "$value": "{sys.color.bg.neutral-strong}",
4765
+ "$value": "{sys.color.bg.neutral}",
4770
4766
  "$type": "color"
4771
4767
  },
4772
4768
  "bg-hover": {
@@ -7184,47 +7180,47 @@
7184
7180
  },
7185
7181
  "neutral": {
7186
7182
  "1": {
7187
- "$value": "#00000005",
7183
+ "$value": "#fafafa",
7188
7184
  "$type": "color",
7189
7185
  "$description": "黑色2% 透明度,浅灰色背景"
7190
7186
  },
7191
7187
  "2": {
7192
- "$value": "#0000000A",
7188
+ "$value": "#f5f5f5",
7193
7189
  "$type": "color",
7194
- "$description": "黑色4% 透明度,深色背景,"
7190
+ "$description": "黑色4% 透明度,深色背景。"
7195
7191
  },
7196
7192
  "3": {
7197
- "$value": "#0000000F",
7193
+ "$value": "#f0f0f0",
7198
7194
  "$type": "color",
7199
7195
  "$description": "黑色6% 透明度,浅色分割线"
7200
7196
  },
7201
7197
  "4": {
7202
- "$value": "#0000001A",
7198
+ "$value": "#e5e5e5",
7203
7199
  "$type": "color",
7204
7200
  "$description": "黑色10% 透明度,深色分割线、禁用色"
7205
7201
  },
7206
7202
  "5": {
7207
- "$value": "#00000026",
7203
+ "$value": "#d9d9d9",
7208
7204
  "$type": "color",
7209
7205
  "$description": "黑色15% 透明度,输入框描边"
7210
7206
  },
7211
7207
  "6": {
7212
- "$value": "#00000040",
7208
+ "$value": "#bfbfbf",
7213
7209
  "$type": "color",
7214
7210
  "$description": "黑色25% 透明度,失效文字、功能icon浅"
7215
7211
  },
7216
7212
  "7": {
7217
- "$value": "#00000073",
7213
+ "$value": "#8c8c8c",
7218
7214
  "$type": "color",
7219
7215
  "$description": "黑色45% 透明度,辅助说明文字、功能icon深"
7220
7216
  },
7221
7217
  "8": {
7222
- "$value": "#000000A6",
7218
+ "$value": "#595959",
7223
7219
  "$type": "color",
7224
7220
  "$description": "黑色65% 透明度,次要文字"
7225
7221
  },
7226
7222
  "9": {
7227
- "$value": "#000000D9",
7223
+ "$value": "#262626",
7228
7224
  "$type": "color",
7229
7225
  "$description": "黑色85% 透明度,主要文字、标题"
7230
7226
  },
@@ -7288,7 +7284,7 @@
7288
7284
  "$description": "强调背景"
7289
7285
  },
7290
7286
  "neutral": {
7291
- "$value": "{sys.palette.neutral.4}",
7287
+ "$value": "{sys.palette.neutral.1}",
7292
7288
  "$type": "color",
7293
7289
  "$description": "描边标签、警告提示背景、开关失效点、表格斑马纹"
7294
7290
  },
@@ -7940,19 +7936,19 @@
7940
7936
  "$description": "45%\n按钮、标签、警告提示描边"
7941
7937
  },
7942
7938
  "neutral": {
7943
- "$value": "{sys.palette.neutral.6}",
7939
+ "$value": "{sys.palette.neutral.5}",
7944
7940
  "$type": "color"
7945
7941
  },
7946
7942
  "neutral-disable": {
7947
- "$value": "{sys.palette.neutral.5}",
7943
+ "$value": "{sys.palette.neutral.4}",
7948
7944
  "$type": "color"
7949
7945
  },
7950
7946
  "input": {
7951
- "$value": "{sys.palette.neutral.6}",
7947
+ "$value": "{sys.palette.neutral.5}",
7952
7948
  "$type": "color"
7953
7949
  },
7954
7950
  "input-disable": {
7955
- "$value": "{sys.palette.neutral.4}",
7951
+ "$value": "{sys.palette.neutral.3}",
7956
7952
  "$type": "color"
7957
7953
  }
7958
7954
  },