Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m27s
The Admin package uses 'type': 'module' in package.json, which treats .js files as ESM. However, tailwind.config.js uses CommonJS syntax (module.exports). Renaming it to .cjs explicitly tells Node and build tools to treat it as CommonJS, resolving build errors related to ESM/CJS interop.
49 lines
929 B
JavaScript
49 lines
929 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
content: ["./src/Resources/**/*.blade.php", "./src/Resources/**/*.js"],
|
|
|
|
theme: {
|
|
container: {
|
|
center: true,
|
|
|
|
screens: {
|
|
"4xl": "1920px",
|
|
},
|
|
|
|
padding: {
|
|
DEFAULT: "16px",
|
|
},
|
|
},
|
|
|
|
screens: {
|
|
sm: "525px",
|
|
md: "768px",
|
|
lg: "1024px",
|
|
xl: "1240px",
|
|
"2xl": "1440px",
|
|
"3xl": "1680px",
|
|
"4xl": "1920px",
|
|
},
|
|
|
|
extend: {
|
|
colors: {
|
|
brandColor: "var(--brand-color)",
|
|
},
|
|
|
|
fontFamily: {
|
|
inter: ['Inter'],
|
|
icon: ['icomoon']
|
|
}
|
|
},
|
|
},
|
|
|
|
darkMode: 'class',
|
|
|
|
plugins: [],
|
|
|
|
safelist: [
|
|
{
|
|
pattern: /icon-/,
|
|
}
|
|
]
|
|
}; |