package file→ .shtukbase/packages/design-tokens/skeleton/style/package.md
skeleton/style/package.md
25 lines, 844 B.
- ---
- type: Package
- id: my-style
- version: 0.1.0
- icon: icon.svg
- title: "My style"
- description: "A skeleton style: copy this folder, rename my-style, change the values. It follows the style convention of design-tokens."
- requires:
- design-tokens: "^0.2.0"
- design-base: "^0.1.0"
- follows: [design/conventions/style]
- actions:
- - name: build
- run: actions/build.ts
- on: [install, update]
- title: "Build tokens.css of the style from its tokens"
- ---
- # My style
- A skeleton of a style package: the two token files in `pages/design/my-style/` hold every required name of the token contract
- with a plain neutral value, and the action `build` turns them into `/design/my-style/tokens.css`. Read the convention
- [A design style](/design/conventions/style.md) before you change it.
- Choose it on [Design](/design/design.md) with `style: my-style`.