Document every Sass mixin and function with SassDoc and drop the unused ones
Each @mixin and @function now has a /// block: what it draws and when to use it, its parameters with their accepted values, and the mixin that goes with it. VS Code shows it on hover with SCSS IntelliSense. Ten mixins that nothing included are removed; the built CSS is byte-identical. tests/static-styles now requires the block, and website/AGENTS.md gives the template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
64a1ad2835
commit
db93420daf
20 changed files with 333 additions and 108 deletions
|
|
@ -41,8 +41,11 @@ vérifie que les deux listes restent alignées.
|
|||
- Un nouveau motif visuel réutilisable se documente dans `DESIGN_SYSTEM.md`.
|
||||
- Une nouvelle feuille de Sokko TCG s'ajoute à `cards-route.scss`, pas à
|
||||
`main.scss`.
|
||||
- Chaque fichier commence par `// Rôle : …` (vérifié par
|
||||
`tests/static-styles.test.mjs`).
|
||||
- Chaque fichier commence par `// Rôle : …`, et chaque mixin ou fonction a un
|
||||
bloc SassDoc `///` au-dessus (vérifiés par `tests/static-styles.test.mjs` ;
|
||||
gabarit dans [website/AGENTS.md](../../AGENTS.md#commentaires-sass-sassdoc)).
|
||||
Survoler un `@include` dans VS Code affiche sa description, avec l'extension
|
||||
« SCSS IntelliSense ».
|
||||
|
||||
## Vérifier
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue