coolify/tests/Feature/TeamCreateButtonAccentTest.php
Andras Bacsai 8ae56587d5
feat(ui): Shadow UI redesign, domain management, and DNS autoconfigure (#11119)
Co-authored-by: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com>
2026-08-03 23:11:54 +02:00

18 lines
630 B
PHP

<?php
/**
* Create team primary action must use the theme-aware purple/yellow accent,
* not the legacy solid coollabs purple fill.
*/
test('create team button uses theme-aware primary accent classes', function () {
$view = file_get_contents(resource_path('views/livewire/team/create.blade.php'));
expect($view)
->toContain('Create team')
->toContain('bg-coollabs/10!')
->toContain('text-coollabs!')
->toContain('dark:bg-warning/15!')
->toContain('dark:text-warning!')
->not->toContain('bg-coollabs! text-white!')
->not->toContain('hover:bg-coollabs-100!');
});