You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: align InfraLens UI with Randy Code design tokens and fix tools card/back-links (v0.9.1)
- retokenize 210 raw zinc classes across 22 files to semantic Randy
Code classes (bg-background, text-muted-foreground, border-border,
etc.) — zero visual diff for now, since .infralens-scope keeps its
current values; sets up the actual recoloring without touching
these files a second time
- app/tools/page.tsx: drop the redundant "Lancer l'outil" CTA, rename
"Ouvrir InfraLens" to the generic "Ouvrir l'outil" (reusable for
future tools), add the logo, switch to Randy Code's own tokens
(this file lives outside .infralens-scope)
- replace the identical "← Back to home" duplicated across
docs/privacy/compare with a shared LocalNav component
("Analyze · Compare · Documentation") — real lateral nav instead of
a redundant back link, on top of the existing global back-link
- fix a real pre-existing contrast failure on the "Fail" status badge
(text-red-500 on bg-red-500/10, 4.1:1 vs 4.5:1 required), caught by
the accessibility suite now that a "Fail" example actually renders
on a scanned page — aligned to -400 like info/error
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,17 @@
1
1
# Changelog
2
2
3
+
## [0.9.1] — 2026-08-11
4
+
5
+
### Nettoyage
6
+
7
+
-**Classes zinc brutes retokenisées vers les classes sémantiques Randy Code** — 210 occurrences dans 22 fichiers InfraLens (`bg-zinc-900`→`bg-background`, `text-zinc-400`→`text-muted-foreground`, `border-zinc-800`→`border-border`, etc.) ; changement de valeurs nul pour l'instant (`.infralens-scope` garde ses valeurs actuelles), seulement les noms de classes changent — prépare la recoloration réelle sans retoucher ces fichiers une seconde fois.
8
+
-**Card `/tools` d'InfraLens** — CTA redondant "Lancer l'outil" supprimé, "Ouvrir InfraLens" renommé "Ouvrir l'outil" (générique, réutilisable pour les futurs outils), logo ajouté, classes zinc remplacées par les tokens Randy Code natifs (ce fichier vit hors `.infralens-scope`).
9
+
-**Back-link tripliqué sur docs/privacy/compare** — chaque page avait son propre "← Back to home" identique, en plus du lien global "Retour aux outils". Remplacé par un composant `LocalNav` partagé ("Analyze · Compare · Documentation"), qui donne une vraie navigation latérale au lieu d'un retour dupliqué.
10
+
11
+
### Corrections
12
+
13
+
-**Contraste insuffisant sur le badge "Fail"** (`text-red-500` sur `bg-red-500/10`, 4.1:1 au lieu de 4.5:1 requis) — préexistant, jamais détecté car aucun exemple "Fail" n'était jusqu'ici scanné par les tests d'accessibilité (corrigé en trouvant l'exemple de rapport, v0.9.0). Aligné sur `-400` comme les statuts `info`/`error` déjà conformes.
0 commit comments