ShtukbaseStandard
包文件→ .shtukbase/packages/design-tokens/skeleton/style/package.md

skeleton/style/package.md

25 行, 844 B.

这段内容尚未翻译,下面是英文原文。

  1. ---
  2. type: Package
  3. id: my-style
  4. version: 0.1.0
  5. icon: icon.svg
  6. title: "My style"
  7. description: "A skeleton style: copy this folder, rename my-style, change the values. It follows the style convention of design-tokens."
  8. requires:
  9. design-tokens: "^0.2.0"
  10. design-base: "^0.1.0"
  11. follows: [design/conventions/style]
  12. actions:
  13. - name: build
  14. run: actions/build.ts
  15. on: [install, update]
  16. title: "Build tokens.css of the style from its tokens"
  17. ---
  18. # My style
  19. A skeleton of a style package: the two token files in `pages/design/my-style/` hold every required name of the token contract
  20. with a plain neutral value, and the action `build` turns them into `/design/my-style/tokens.css`. Read the convention
  21. [A design style](/design/conventions/style.md) before you change it.
  22. Choose it on [Design](/design/design.md) with `style: my-style`.