PHP Classes

File: tailwind.config.js

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin  >  mtube  >  tailwind.config.js  >  Download  
File: tailwind.config.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: mtube
Application to share videos between users
Author: By
Last change:
Date: 4 months ago
Size: 999 bytes
 

Contents

Class file image Download
const defaultTheme = require('tailwindcss/defaultTheme');

module.exports = {
    theme: {
        extend: {
            fontFamily: {
                sans: ['Inter var', ...defaultTheme.fontFamily.sans],
            },
        },
    },
    variants: {
        extend: {
            backgroundColor: ['active'],
        }
    },
    purge: {
        content: [
            './app/**/*.php',
            './resources/**/*.html',
            './resources/**/*.js',
            './resources/**/*.jsx',
            './resources/**/*.ts',
            './resources/**/*.tsx',
            './resources/**/*.php',
            './resources/**/*.vue',
            './resources/**/*.twig',
        ],
        options: {
            defaultExtractor: (content) => content.match(/[\w-/.:]+(?<!:)/g) || [],
            whitelistPatterns: [/-active$/, /-enter$/, /-leave-to$/, /show$/],
        },
    },
    plugins: [
        require('@tailwindcss/forms'),
        require('@tailwindcss/typography'),
    ],
};
For more information send a message to info at phpclasses dot org.