forked from e-Spirit/fsxa-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
82 lines (81 loc) · 1.59 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
73
74
75
76
77
78
79
80
81
82
// eslint-disable-next-line
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
prefix: "ui-",
future: {
purgeLayersByDefault: true,
},
purge: {
content: [
"./src/**/*.html",
"./public/index.html",
"./src/**/*.vue",
"./src/**/*.tsx",
"./src/**/*.ts",
],
options: {
whitelistPatterns: [
/^ui-w-/,
/^xs:ui-w/,
/^sm:ui-w-/,
/^md:ui-w-/,
/^lg:ui-w-/,
/^xl:ui-w-/,
/^xxl:ui-w-/,
],
},
},
theme: {
extend: {
borderWidth: {
30: "30px",
},
screens: {
...defaultTheme.screens,
xs: "20rem",
},
colors: {
espirit: "#810444",
"espirit-blue": "#272838",
highlight: "var(--fsxa-text-highlight-color, #D5DD02)",
},
fontFamily: {
awesome: ['"Font Awesome 5 Free"'],
},
inset: {
"1/2": "50%",
},
opacity: {
"20": "0.2",
"40": "0.4",
"80": "0.8",
"90": "0.9",
},
scale: {
"25": ".25",
},
transitionDelay: {
"250": "250ms",
"400": "400ms",
"750": "750ms",
},
transitionDuration: {
"250": "250ms",
"10000": "10000ms",
},
transitionProperty: {
size: "width, height",
},
minWidth: {
"64": "16rem",
},
},
},
variants: {
textColor: ["group-hover", "hover"],
opacity: ["hover", "group-hover"],
overflow: ["hover"],
translate: ["hover", "group-hover"],
},
plugins: [],
};