Hustler-Pixelwelt T13: Kopf-Symbole ruhen bei Pause, Warnrot #c8372d, Prüfstand-Befunde sind jetzt harte Prüfungen (0 Verstöße)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5e6698f5e0
commit
75ed38e68d
4 files changed
+19
-6
No files matched your search
@@ -795,3 +795,12 @@ test('Rückfrage liegt am Handy unter der WOMS-Schublade: z-index ≤ 9 (Seitenl
|
||||
const z = Number((regel[1].match(/z-index:\s*(\d+)/) || [])[1])
|
||||
assert.ok(Number.isInteger(z) && z <= 9, `z-index ${z}`)
|
||||
})
|
||||
|
||||
test('Angehalten: die Kopfzeile trägt hk-kopf-steht und ihre Symbole ruhen; Warnrot der Meldungen ist #c8372d (Weiß darauf ≥ 4,5:1)', () => {
|
||||
const s = readFileSync(path.join(ROOT, 'src/components/workers/hochhaus/HochhausKopf.jsx'), 'utf8')
|
||||
assert.match(s, /className=\{paused \? 'hk-kopf hk-kopf-steht' : 'hk-kopf'\}/)
|
||||
const css = cssText('hustler-kopf.css')
|
||||
assert.match(css, /\.hk-hochhaus \.hk-kopf-steht \.hk-ic \{ animation-play-state: paused; \}/)
|
||||
assert.match(css, /\.hk-meldung-notbremse \{ --hk-ton: #c8372d; \}/)
|
||||
assert.doesNotMatch(css, /#e2483d/)
|
||||
})
|
||||
Reference in new issue
Block a user