-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
54 lines (52 loc) · 1.31 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
/* eslint-disable @typescript-eslint/no-var-requires */
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
const { fontFamily } = require("tailwindcss/defaultTheme");
module.exports = {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
],
plugins: [
require("tailwindcss-debug-screens"),
require("@tailwindcss/typography"),
],
theme: {
extend: {
animation: {
"float-item": "float 5s ease-in-out infinite",
"float-opposite": "float-diff 4s ease-in-out infinite",
},
fontFamily: {
inter: ['"Inter"', ...defaultTheme.fontFamily.sans],
primary: ["Inter", ...fontFamily.sans],
},
keyframes: {
float: {
"0%": {
transform: "translatey(0px)",
},
"100%": {
transform: "translatey(0px)",
},
"50%": {
transform: "translatey(-20px)",
},
},
"float-diff": {
"0%": {
transform: "translatey(0px)",
},
"100%": {
transform: "translatey(0px)",
},
"50%": {
transform: "translatey(-17px)",
},
},
},
},
},
};