This script can be used to generate a set of CSS variables from a Tailwind shades object.
Let's say you have the following JavaScript object. You might have generated such an object on a site such as Tailwind Shades.
{
<?php | |
namespace App\Models\Support; | |
use App\Models\Tenant; | |
use Illuminate\Database\Eloquent\Relations\BelongsToMany; | |
use Spatie\Permission\Traits\HasRoles as SpatieHasRoles; | |
trait HasRoles | |
{ |
This script can be used to generate a set of CSS variables from a Tailwind shades object.
Let's say you have the following JavaScript object. You might have generated such an object on a site such as Tailwind Shades.
{