fix(ui): use Coollabs glow on error pages

Update the error shell background gradient to use the Coollabs color token and add a regression test.
This commit is contained in:
Andras Bacsai
2026-08-12 16:41:35 +02:00
parent 0764ec425d
commit 1ed6f4bac5
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1107,7 +1107,7 @@ html[data-theme="custom"] textarea:disabled {
width: 100%;
padding: 2rem 1rem;
background:
radial-gradient(circle at 50% 0%, color-mix(in oklab, var(--color-accent) 9%, transparent), transparent 34rem),
radial-gradient(circle at 50% 0%, color-mix(in oklab, var(--color-coollabs) 9%, transparent), transparent 34rem),
var(--coollabs-canvas);
color: #171717;
}
+8
View File
@@ -37,6 +37,14 @@ test('auth pages use the Coollabs purple background glow', function () {
->not->toMatch('/\.auth-shell\s*\{[^}]*color-mix\(in oklab, var\(--color-accent\) 9%, transparent\)/s');
});
test('error pages use the Coollabs purple background glow', function () {
$styles = file_get_contents(resource_path('css/app.css'));
expect($styles)
->toMatch('/\.error-shell\s*\{[^}]*color-mix\(in oklab, var\(--color-coollabs\) 9%, transparent\)/s')
->not->toMatch('/\.error-shell\s*\{[^}]*color-mix\(in oklab, var\(--color-accent\) 9%, transparent\)/s');
});
test('confirm password page uses the shared auth shell', function () {
$confirm = file_get_contents(resource_path('views/auth/confirm-password.blade.php'));