mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-19 00:15:01 +00:00
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:
1 parent
0764ec425d
commit
1ed6f4bac5
2 files changed
+9
-1
No files matched your search
@@ -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'));
|
||||
|
||||
|
||||
Reference in new issue
Block a user