feat(ui): design token di motion + scala radius coerente (v0.7.0) - #10
Merged
Conversation
Motion: applica i token --ease-*/--dur-* alle transizioni che usavano l'ease di default del browser, aggiunge il press feedback scale(0.98) sui controlli e una guardia globale prefers-reduced-motion. Radius: introduce una scala a step 4px (--radius-xs/sm/md/lg + pill + circle) e la applica ai CSS dei componenti, collassando ~14 valori sparsi a 4 + pill + cerchio. Tokenizza anche i radius inline di /support (scheda Treasure inclusa, nesting concentrico preservato via calc) e del footer, hardcoded perche theme-driven via JS. Solo CSS / inline-style: nessun cambio di contenuto o logica. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Drift residuo emerso da `npm run format`: filter su singola riga in index.module.css ed emphasis markdown *...* → _..._ in perche-python. Nessun cambio funzionale o di contenuto. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Polish UI a basso rischio (solo CSS / inline-style: nessun cambio di contenuto o logica), su due assi, più il bump di release v0.7.0.
Motion — token di casa
--ease-*/--dur-*alle transizioni che usavano l'ease/ease-in-outdi default del browser (footer, sidebar, link prosa, Pagefind, PyRunner, Quiz, Algorithm, Bento, navbar).:active { transform: scale(0.98) }ai controlli button-like.prefers-reduced-motionin coda acustom.css: neutralizza ogni animazione/transizione, rendendo ridondanti i blocchi per-componente.Radius — scala coerente a step 4px
--radius-xs(6) / -sm(10) / -md(14) / -lg(18) / -pill / -circlee la applica a 16 file CSS, collassando ~14 valori sparsi a 4 + pill + cerchio.borderRadiusinline di/support(scheda Treasure inclusa) e disrc/theme/Footer— hardcoded perché quelle superfici sono theme-driven via oggetto JS (getV4VTheme), quindi ora usanoborderRadius: 'var(--radius-*)'.calc()(es. pannello Treasure: esternolg 18, internocalc(var(--radius-lg) - 1.4px)).Commit
feat(ui)— motion token + scala radius (18 file)chore(format)— drift Prettier isolato (index.module.css,perche-python.mdx)chore(release): v0.7.0— package.json + lock + badge READMEVerifica
npm run build/typecheck/lint/format— tutti verdi.🤖 Generated with Claude Code