-
Notifications
You must be signed in to change notification settings - Fork 895
/
tailwind.config.js
57 lines (56 loc) · 1.06 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
const preset = require( "@yoast/tailwindcss-preset" );
module.exports = {
presets: [ preset ],
content: [
"./packages/ui-library/src/**/!(stories).js",
"./packages/related-keyphrase-suggestions/src/**/!(stories).js",
"./packages/js/src/**/*.js",
"./src/integrations/settings-integration.php",
],
theme: {
extend: {
keyframes: {
slideRight: {
"0%": {
transform: "translate(0, 0)",
opacity: 1,
},
"100%": {
transform: "translate(100%, 0)",
opacity: 0,
},
},
},
animation: {
slideRight: "slideRight .5s ease-in-out forwards",
},
fontFamily: {
wp: [
"-apple-system",
"BlinkMacSystemFont",
"Segoe UI",
"Roboto",
"Oxygen-Sans",
"Ubuntu",
"Cantarell",
"Helvetica Neue",
"sans-serif",
],
},
},
},
safelist: [
"yst-border-l",
"yst-space-x-8",
"yst-pb-10",
"yst-space-y-6",
"yst--left-3",
"yst-ring-gray-200",
"yst-font-mono",
"sm:yst-w-auto",
"sm:yst-mb-0",
"sm:yst-ml-3",
"sm:yst-flex",
"sm:yst-flex-row-reverse",
],
};