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:
@@ -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}');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user