Files
helpdesk/desk/tailwind.config.js

44 lines
1.0 KiB
JavaScript

import frappeUIPreset from "frappe-ui/tailwind";
export default {
presets: [frappeUIPreset],
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
"./node_modules/frappe-ui/src/**/*.{vue,js,ts,jsx,tsx}",
"../node_modules/frappe-ui/src/**/*.{vue,js,ts,jsx,tsx}",
"./node_modules/frappe-ui/frappe/**/*.{vue,js,ts,jsx,tsx}",
"../node_modules/frappe-ui/frappe/**/*.{vue,js,ts,jsx,tsx}",
],
safelist: [{ pattern: /!(text|bg)-/, variants: ["hover", "active"] }],
theme: {
extend: {
height: {
18: "68px",
},
margin: {
3.5: "14px",
},
padding: {
2.5: "10px",
3.5: "14px",
},
},
},
plugins: [
require("@tailwindcss/typography"),
require("tailwindcss-rtl"),
function ({ addUtilities }) {
addUtilities({
".hide-scrollbar": {
"scrollbar-width": "none",
"-ms-overflow-style": "none",
"&::-webkit-scrollbar": {
display: "none",
},
},
});
},
],
};