-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
62 lines (61 loc) · 1.51 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
'text': 'rgb(var(--text) / <alpha-value>)',
'background': 'rgb(var(--background) / <alpha-value>)',
'primary': 'rgb(var(--primary) / <alpha-value>)',
'secondary': 'rgb(var(--secondary) / <alpha-value>)',
'accent': 'rgb(var(--accent) / <alpha-value>)',
},
fontSize: {
sm: '0.833rem',
base: '1rem',
xl: '1.200rem',
'2xl': '1.440rem',
'3xl': '1.728rem',
'4xl': '2.074rem',
'5xl': '2.489rem',
},
fontFamily: {
heading: 'Poppins',
body: 'Poppins',
},
fontWeight: {
normal: '400',
bold: '700',
},
animation: {
blob: "blob 7s infinite",
},
keyframes: {
blob: {
"0%": {
transform: "translate(0px, 0px) scale(1)",
},
"33%": {
transform: "translate(30px, -50px) scale(1.1)",
},
"66%": {
transform: "translate(-20px, 20px) scale(0.9)",
},
"100%": {
transform: "tranlate(0px, 0px) scale(1)",
},
},
},
},
},
plugins: [
function ({ addVariant }: any) {
addVariant('notFirstChild', '& > *:not(:first-child)');
}
],
};
export default config;