Files
explore/nextjs
zeekayandHanzo Dev ded6fb9eb5 light mode: say plainly that the companion rule does not ship
The comment added in v1.1.22 claimed the attribute-selector form was
verified. It was verified by INJECTION into a live page, not in the
shipped bundle -- and the shipped bundle does not contain it. Three
forms have now gone out (html.light body.t_dark, html.light .t_dark,
html[class~="light"] .t_dark) and `.t_dark` occurs exactly once in the
served CSS every time: the media-query rule.

Narrowed but not solved. The file's other top-level rule
(html,body{font-family:Geist}) survives, so top-level rules are not
dropped wholesale. Running this file through the real postcss +
@tailwindcss/postcss pipeline locally keeps BOTH rules, so Tailwind is
not the cause -- something later in the Next build removes it.

The user-visible bug is fixed regardless: the media-query rule is live
and measured at 21.00:1 with 7,111 dark pixels in the heading band
where there were ~0. What remains uncovered is OS-dark +
stored-theme-light, which no UI can currently produce.

A comment that overstates what shipped is worse than no comment.

Co-Authored-By: Hanzo Dev <[email protected]>
2026-08-06 18:35:58 -07:00
..
2025-10-29 15:54:06 +01:00
2026-07-25 16:11:22 -07:00