Skip to content

Fix: raise footer contrast and preload the LCP wallpaper - #31

Merged
SandObserver merged 1 commit into
mainfrom
fix/footer-contrast-and-lcp-preload
Sep 6, 2026
Merged

SandObserver merged 1 commit into
mainfrom
fix/footer-contrast-and-lcp-preload

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Preload /img/wallpaper.jpg as an image from the document head so the LCP background on .screen::before is requested by the preload scanner instead of after index.css parses.
  • Raise .license from rgba(255,255,255,.45) to .5 (4.41 to 5.28 against the black footer).
  • Raise .foot-links span separators from rgba(255,255,255,.28) to .5 (2.27 to 5.28).
  • Change .verbadge b background from #007ec6 to #0072b5 (4.38 to 5.15 against white text).

Testing
All green: npm run build and npm run check both pass. Verified in Chrome against astro preview: the wallpaper request now has a link initiator and starts at 35ms, and all four footer nodes measure at or above 4.5.

Checklist

  • npm run build and npm run check both pass.
  • Product UI is shown by running or capturing it, never recreated in CSS.
  • Any new preview or screenshot carries no private hostnames or real data.
  • Visual changes verified in both colour schemes and both docs themes.
  • Links to the app repo still resolve.

Preload /img/wallpaper.jpg so the mockup background is requested from the
document head instead of after the stylesheet parses.

Raise .license and .foot-links span to rgba(255,255,255,.5) and darken the
version badge to #0072b5, bringing all three above the 4.5 contrast minimum.
@SandObserver SandObserver added the accessibility Barrier affecting people with disabilities label Sep 6, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying stackyard-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2b3ad74
Status: ✅  Deploy successful!
Preview URL: https://0a2ec102.stackyard-docs.pages.dev
Branch Preview URL: https://fix-footer-contrast-and-lcp.stackyard-docs.pages.dev

View logs

@SandObserver
SandObserver merged commit c2bdf4d into main Sep 6, 2026
2 checks passed
@SandObserver
SandObserver deleted the fix/footer-contrast-and-lcp-preload branch September 6, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility Barrier affecting people with disabilities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant