mirror of
https://github.com/lukaszraczylo/beat-delivery-methodology.git
synced 2026-11-25 11:06:00 +00:00
Define the nine contract custom properties in public/src/main.css, with light values in the :root block and dark values in the .dark block that the theme helper applies to the root element. Every pair was measured against the WCAG 2.2 minimums and clears them with headroom in both themes: body and muted text at 4.5:1, large text and the border (which doubles as the UI component boundary) at 3:1, and accent used as text at 4.5:1. Borders are checked on both the background and the muted surface. Import the file from public/src/main.js after the legacy sheet import, so the tokens are in the bundle and are the last definition of any name the legacy sheet also sets.