Skip to content

Commit f97c9f0

Browse files
fix(C-S/a11y): bump sub-AA stone-500 caption text to stone-400 on dark (night design sweep) (#599)
Design/a11y sweep: 5 small caption/hint texts used text-stone-500 on dark stone bg (~3.2:1, sub-WCAG-AA which needs 4.5:1 for normal text). Bumped to stone-400 (AA-clean on stone-900, canon-valid neutral). Surfaces: the First-Light momentum strip hints + unlit rung, the onboarding website-URL helper copy, the client-import field hint. No behavior change; raises the design/a11y ceiling. Builds-ahead — deploys with the Deck. tsc: 0 errors. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 82d5970 commit f97c9f0

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/(shell)/clients/import/ImportClient.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ function MapAndPreviewCard({
344344
</option>
345345
))}
346346
</select>
347-
{hint && <span className="mt-1 block text-[11px] text-stone-500">{hint}</span>}
347+
{hint && <span className="mt-1 block text-[11px] text-stone-400">{hint}</span>}
348348
</label>
349349
);
350350
})}

app/(shell)/onboarding/StarterOnboardingWizard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ export function StarterOnboardingWizard({
495495
<div className="space-y-2">
496496
<label htmlFor="company-url" className="block text-sm font-medium text-stone-300">
497497
Your website{" "}
498-
<span className="font-normal text-stone-500">(optional, we draft your first brief from it)</span>
498+
<span className="font-normal text-stone-400">(optional, we draft your first brief from it)</span>
499499
</label>
500500
<input
501501
id="company-url"
@@ -507,7 +507,7 @@ export function StarterOnboardingWizard({
507507
placeholder="yourbusiness.com"
508508
className="w-full rounded-lg border border-stone-700 bg-stone-950/70 px-3.5 py-2.5 text-sm text-stone-100 placeholder:text-stone-500 focus-visible:border-amber-400/70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-amber-400/30"
509509
/>
510-
<p className="text-xs text-stone-500">
510+
<p className="text-xs text-stone-400">
511511
We only read your public website to draft a first brief, nothing is sent to your clients.
512512
</p>
513513
</div>

components/focus/FirstLightMomentumStrip.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function FirstLightMomentumStrip({ readiness }: { readiness: FirstLightRe
6666
className={`flex h-5 w-5 flex-none items-center justify-center rounded-full text-[10px] font-bold ${
6767
rung.lit
6868
? "bg-amber-500 text-stone-950"
69-
: "border border-stone-700 bg-stone-800 text-stone-500"
69+
: "border border-stone-700 bg-stone-800 text-stone-400"
7070
}`}
7171
>
7272
{rung.lit ? <Check className="h-3 w-3" /> : i + 1}
@@ -80,7 +80,7 @@ export function FirstLightMomentumStrip({ readiness }: { readiness: FirstLightRe
8080
<p className={`text-[11px] font-semibold ${rung.lit ? "text-stone-100" : "text-stone-400"}`}>
8181
{rung.label}
8282
</p>
83-
<p className="text-[10px] text-stone-500">{rung.hint}</p>
83+
<p className="text-[10px] text-stone-400">{rung.hint}</p>
8484
</div>
8585
</li>
8686
))}

0 commit comments

Comments
 (0)