1import frappeUIPreset, { content as frappeUIContent } from "frappe-ui/tailwind";
2
3export default {
4 presets: [frappeUIPreset],
5 content: [
6 "./index.html",
7 "./src/**/*.{vue,js,ts,jsx,tsx}",
8 ...frappeUIContent,
9 // frappe-ui's own content list leaves experimental/ListView out; opendesk
10 // still renders it, so its classes have to be scanned here.
11 "./node_modules/frappe-ui/experimental/ListView/**/*.{vue,js,ts,jsx,tsx}",
12 "../../frappe/ui/src/**/*.{vue,js,ts,jsx,tsx}",
13 "../shared/src/**/*.{vue,js,ts}",
14 // studio's NewTicketForm, rendered by the desk
15 "../studio/opendesk/components/**/*.vue",
16 ],
17 plugins: [
18 require("@tailwindcss/typography"),
19 require("tailwindcss-rtl"),
20 function ({ addUtilities }) {
21 addUtilities({
22 ".hide-scrollbar": {
23 "scrollbar-width": "none",
24 "-ms-overflow-style": "none",
25 "&::-webkit-scrollbar": {
26 display: "none",
27 },
28 },
29 });
30 },
31 ],
32};
33