mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 20:15:45 +00:00
style(ui): refine focus ring thickness and warning color
This commit is contained in:
1 parent
f412b2bf0d
commit
a84505efe8
5 files changed
+13
-11
No files matched your search
@@ -56,11 +56,12 @@ function createDashboardDeployment(array $overrides = []): ApplicationDeployment
|
||||
it('shows a visible yellow inset focus state on deployment rows', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/dashboard/active-deployments.blade.php'));
|
||||
|
||||
expect(substr_count($view, 'focus-visible:bg-warning/[0.06]'))->toBe(4)
|
||||
expect(substr_count($view, 'focus-visible:bg-warning/10'))->toBe(4)
|
||||
->and(substr_count($view, 'focus-visible:ring-1'))->toBe(2)
|
||||
->and(substr_count($view, 'focus-visible:ring-inset'))->toBe(2)
|
||||
->and(substr_count($view, 'focus-visible:ring-warning/70'))->toBe(2)
|
||||
->and(substr_count($view, 'focus-visible:ring-warning'))->toBe(2)
|
||||
->and(substr_count($view, 'focus-visible:ring-offset-0'))->toBe(2)
|
||||
->and(substr_count($view, 'dark:focus-visible:bg-warning/[0.06]'))->toBe(2);
|
||||
->and(substr_count($view, 'dark:focus-visible:bg-warning/10'))->toBe(2);
|
||||
});
|
||||
|
||||
it('hides the deployments section when there is nothing to show', function () {
|
||||
|
||||
Reference in new issue
Block a user