auth: language toggle active label readable (white on olive); link colour rule no longer applies to it

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Naser Mansour
2026-10-31 19:26:29 +02:00
parent 379f1f9de6
commit ad7f531edd
2 changed files with 10 additions and 2 deletions
@@ -52,3 +52,11 @@ test('site fonts beat the app.css html[lang] body font and hidden Flux errors do
->toContain('html[lang] body.site-auth{font-family:"IBM Plex Sans Arabic"')
->toContain('[data-flux-field]:not(:has([data-flux-error]:not(.hidden))) input[data-flux-control]');
});
test('the auth link colour does not override the language toggle, whose active label is white on olive', function () {
$css = file_get_contents(resource_path('css/public.css'));
expect($css)
->toContain('body.site-auth main a:not([data-flux-button]):not([data-test^=language-switch]){color:#4A5D23}')
->toContain('body.site-auth main a:not([data-flux-button]):not([data-test^=language-switch]):hover{text-decoration:underline}');
});