setSkin

setSkin(string $skin)

Choose between two skins: 'light' and 'dark'. The default skin is 'light'.

Example

$crud->setSkin('dark'); 
$crud->setSkin('dark');
$crud->setTable('customers');
$crud->setSubject('Customer', 'Customers');
$crud->columns(['customerName','phone','addressLine1','creditLimit']);

$output = $crud->render();

You can see the results of the above code below: