Skip to content

revosystems/mojito

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mojito

Basic usage

Tailwind CSS

To set up the Mojito Package in your project, you need to add the specified Tailwind CSS colors to the safelist in your tailwind.config.js file.

Here's how you can add the safelist in your tailwind.config.js file:

    // All the colors are used for the PurchaseOrderStatus enum.
    safelist: [
        'bg-blue-400',
        'bg-yellow-400',
        'bg-red-400',
        'bg-gray-600',
        'bg-gray-300'
    ],

By adding these colors to the safelist, you are instructing Tailwind CSS to keep the classes that use these colors in the final CSS output. This ensures that the Mojito Package's colors are available for use in your project.

Additionally, make sure to compile the assets (npm run prod) for the changes to take effect.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%