web_react/real_estate/client/tailwind.config.js

38 lines
915 B
JavaScript

/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin')
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
backgroundImage: {
'hero-pattern': "url('./src/assets/hero.jpg')",
'hero1-pattern': "url('./src/assets/hero1.jpg')",
'hero2-pattern': "url('./src/assets/contact.jpg')",
},
textShadow: {
sm: '1px 1px 2px var(--tw-shadow-color)',
DEFAULT: '2px 2px 4px var(--tw-shadow-color)',
lg: '4px 4px 8px var(--tw-shadow-color)',
xl: '4px 4px 16px var(--tw-shadow-color)',
},
},
},
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') }
)
}
)
],
}