forked from frappe/builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
41 lines (40 loc) · 992 Bytes
/
tailwind.config.js
File metadata and controls
41 lines (40 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import colors from "tailwindcss/colors";
import frappeUIPreset from "frappe-ui/src/tailwind/preset.js";
import plugin from "tailwindcss/plugin";
export default {
presets: [frappeUIPreset],
content: [
"./index.html",
"./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}",
],
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"auto-fill": (value) => ({
gridTemplateColumns: `repeat(auto-fill, minmax(min(${value}, 100%), 1fr))`,
}),
"auto-fit": (value) => ({
gridTemplateColumns: `repeat(auto-fit, minmax(min(${value}, 100%), 1fr))`,
}),
},
{
values: theme("width", {}),
},
);
}),
require('@tailwindcss/container-queries'),
],
theme: {
extend: {
transitionProperty: {
size: "transform, border-radius",
},
colors: {
zinc: colors.zinc,
},
},
},
};