mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-08 20:19:56 +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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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