forked from unfoldadmin/django-unfold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
72 lines (72 loc) · 1.83 KB
/
tailwind.config.js
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
module.exports = {
content: ["./src/**/*.{html,py,js}"],
media: false,
darkMode: "class",
theme: {
extend: {
colors: {
primary: {
50: "rgb(var(--color-primary-50) / <alpha-value>)",
100: "rgb(var(--color-primary-100) / <alpha-value>)",
200: "rgb(var(--color-primary-200) / <alpha-value>)",
300: "rgb(var(--color-primary-300) / <alpha-value>)",
400: "rgb(var(--color-primary-400) / <alpha-value>)",
500: "rgb(var(--color-primary-500) / <alpha-value>)",
600: "rgb(var(--color-primary-600) / <alpha-value>)",
700: "rgb(var(--color-primary-700) / <alpha-value>)",
800: "rgb(var(--color-primary-800) / <alpha-value>)",
900: "rgb(var(--color-primary-900) / <alpha-value>)",
950: "rgb(var(--color-primary-950) / <alpha-value>)",
},
},
fontSize: {
0: [0, 1],
xxs: ["11px", "14px"],
},
fontFamily: {
sans: ["Inter", "sans-serif"],
},
height: {
9.5: "2.375rem",
},
minWidth: {
sidebar: "18rem",
},
spacing: {
68: "17rem",
128: "32rem",
},
transitionProperty: {
height: "height",
width: "width",
},
width: {
4.5: "1.125rem",
9.5: "2.375rem",
sidebar: "18rem",
},
},
},
variants: {
extend: {
borderColor: ["checked", "focus-within", "hover"],
display: ["group-hover"],
overflow: ["hover"],
textColor: ["hover"],
},
},
plugins: [require("@tailwindcss/typography")],
safelist: [
"md:border-0",
"md:border-r",
"md:w-48",
{
pattern: /gap-+/,
variants: ["lg"],
},
{
pattern: /w-(1\/2|1\/3|2\/3|1\/4|2\/4|3\/4|1\/5|2\/5|3\/5|4\/5)/,
variants: ["lg"],
},
],
};