@ptengine/design-components 0.5.0 → 0.5.2
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 +1 -1
- package/dist/index.js +973 -973
- package/llms.txt +15 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -240,7 +240,7 @@ ZH `Noto Sans SC`。库侧在 `tokens.css` 以 `--font-sans` + `:lang()` 声明
|
|
|
240
240
|
代码展示场景仍保留等宽 `font-mono`,未用 Inter 覆盖。)
|
|
241
241
|
|
|
242
242
|
**字阶**(preset `fontSize` 整表覆盖,源自 Figma Text Styles,机读存档
|
|
243
|
-
`design/tokens.json
|
|
243
|
+
`design/tokens.json`,**在源码仓里、不随 npm 包分发**):`2xs 12/16 · xs 13/20 · sm 14/20 · base 16/24 · lg 18/28 ·
|
|
244
244
|
xl 20/32 · 2xl 24/36 · 3xl 28/40 · 4xl 32/48 · 5xl 40/56 · 6xl 48/72 · 7xl 56/72 ·
|
|
245
245
|
8xl 64/96 · 9xl 72/128`。与 Tailwind 默认的差异:新增 `2xs`;**`xs` 为 13px**(非 12);
|
|
246
246
|
`xl` 起行高/字号按设计表。字重五档:light 300 / normal 400 / medium 500 / semibold 600 / bold 700。
|