Commit ca00dec
committed
fix(login-block): keep auth surface light when site is in dark mode
The login block goes near-black in dark mode because the wrapper carries
both .jt-login-block and .jt-app, so the .jt-dark .jt-app token override
lands on it directly. Customers reading a login form expect a form,
not the surrounding feed surface, regardless of theme.
Re-declare the relevant light-mode tokens scoped to .jt-login-block
inside the dark cascade so the form stays white-on-dark-text even when
the rest of the app flips. Mirrors the pattern of the existing dark-mode
heading override - contained, single-block re-declaration, no specificity
gymnastics.
Reproduced in browser (Reign theme, body.jt-dark): block bg was
rgb(11,15,26), now rgb(255,255,255); title color #1a1a1a; input bg
white. Light mode unchanged. RTL stylesheet kept in sync.
Caught by FREE smoke as D.login-dark-leak (regression-trap row in
docs/qa/AGENT_SMOKE_RUNBOOK.md).1 parent a06c1e8 commit ca00dec
2 files changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
178 | 203 | | |
179 | 204 | | |
180 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
178 | 203 | | |
179 | 204 | | |
180 | 205 | | |
| |||
0 commit comments