fix: safelist some tailwind classes to avoid purging dynamically generated lead/deal status color

This commit is contained in:
Shariq Ansari 2023-11-29 15:48:51 +05:30
parent 674d3ebe51
commit fe47bf8af1

View File

@ -1,13 +1,12 @@
module.exports = { module.exports = {
presets: [ presets: [require('frappe-ui/src/utils/tailwind.config')],
require('frappe-ui/src/utils/tailwind.config')
],
content: [ content: [
"./index.html", './index.html',
"./src/**/*.{vue,js,ts,jsx,tsx}", './src/**/*.{vue,js,ts,jsx,tsx}',
"./node_modules/frappe-ui/src/components/**/*.{vue,js,ts,jsx,tsx}", './node_modules/frappe-ui/src/components/**/*.{vue,js,ts,jsx,tsx}',
"../node_modules/frappe-ui/src/components/**/*.{vue,js,ts,jsx,tsx}", '../node_modules/frappe-ui/src/components/**/*.{vue,js,ts,jsx,tsx}',
], ],
safelist: [{ pattern: /!text-/ }],
theme: { theme: {
extend: {}, extend: {},
}, },