generated from maxphillipsdev/nextjs-tw-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
117 lines (116 loc) · 2.96 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
darkMode: false,
theme: {
extend: {
fontSize: {
"10xl": "10rem",
"11xl": "12rem",
},
brightness: {
1: ".1",
25: ".25",
},
fontFamily: {
sans: ["Nevis", ...defaultTheme.fontFamily.sans],
},
height: {
screen: "calc(var(--vh, 1vh) * 100)",
},
animation: {
"gradient-x": "gradient-x 10s ease infinite",
"gradient-x-fast": "gradient-x 2s ease infinite",
"gradient-y": "gradient-y 10s ease infinite",
"gradient-xy": "gradient-xy 10s ease infinite",
"dissolve-text": "dissolve-text ease 1",
"dissolve-appear": "dissolve-appear 3s ease 1",
"pulse-and-spin": "pulse 2s infinite, spin 5s linear infinite",
spin: "spin 5s linear infinite",
"pulse-bright": "pulse 2s infinite",
},
keyframes: {
"gradient-y": {
"0%, 100%": {
"background-size": "400% 400%",
"background-position": "center top",
},
"50%": {
"background-size": "200% 200%",
"background-position": "center center",
},
},
"gradient-x": {
"0%, 100%": {
"background-size": "200% 200%",
"background-position": "left center",
},
"50%": {
"background-size": "200% 200%",
"background-position": "right center",
},
},
"gradient-xy": {
"0%, 100%": {
"background-size": "400% 400%",
"background-position": "left center",
},
"25%": {
"background-size": "300% 300%",
"background-position": "left center",
},
"50%": {
"background-size": "200% 200%",
"background-position": "right center",
},
"75%": {
"background-size": "300% 300%",
"background-position": "right center",
},
},
"dissolve-text": {
"0%": {
opacity: 0,
},
"15%, 85%": {
opacity: 1,
},
"100%": {
opacity: 0,
},
},
"dissolve-appear": {
"0%": {
opacity: 0,
},
"40%": {
opacity: 1,
},
"100%": {
opacity: 1,
},
},
},
colors: {
black: "#000",
white: "#fff",
brand: "#31509E",
// accent: "#FFC46C",
// dark: "#1B1B1B",
dark: "#0E0E18",
// dark: "#1D1D35",
light: "#A8C0F0",
// violet: "#927DE8",
card: "#494D6A",
},
},
},
plugins: [
// Typography
require("@tailwindcss/typography"),
],
};