# Tools

Scripts that built this kit. You do not need them to use it; they are here so every file can be traced.

- `cssx.py` pulls CSS rules out of a big stylesheet by selector (keeps @media and keyframes the picked rules use).
- `kitlib.py` shared paths and the page template; `build_design*.py` and `build_launch*.py` write the component pages; `build_index.py`, `build_docs.py`, `build_readme.py` write the index and the docs.
- `tokens.py` and `tok.py` read the theme values (the launch ones are computed from the live v12 page in Playwright).
- `shoot.py` and `shots.py` take the screenshots; `versions.py` snapshots each version.
- `rs/export.mjs` renders the badge SVGs to 4K and 8K PNG with `@resvg/resvg-js`.

The paths inside point at the working folders on the box where the kit was built (`/workspace/...`, `/tmp/shot/...`), so they will not run elsewhere without edits. Playwright used `/usr/bin/google-chrome --no-sandbox`.
