-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
75 lines (74 loc) · 2.54 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
/** @type {import('tailwindcss').Config} */
const isProduction = process.env.NODE_ENV === 'production'
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
backgroundImage: {
grid: isProduction ? "url('/assets/grid.svg')" : "url('/assets/grid.svg')",
oil: isProduction ? "url('/assets/topography.svg')" : "url('/assets/topography.svg')",
},
colors: {
base: {
1: `rgb(var(--base-1) / <alpha-value>)`,
2: `rgb(var(--base-2) / <alpha-value>)`,
3: `rgb(var(--base-3) / <alpha-value>)`,
4: `rgb(var(--base-4) / <alpha-value>)`,
5: `rgb(var(--base-5) / <alpha-value>)`,
6: `rgb(var(--base-6) / <alpha-value>)`,
7: `rgb(var(--base-7) / <alpha-value>)`,
8: `rgb(var(--base-8) / <alpha-value>)`,
9: `rgb(var(--base-9) / <alpha-value>)`,
10: `rgb(var(--base-10) / <alpha-value>)`,
11: `rgb(var(--base-11) / <alpha-value>)`,
12: `rgb(var(--base-12) / <alpha-value>)`,
},
neutral: {
1: `rgb(var(--neutral-1) / <alpha-value>)`,
2: `rgb(var(--neutral-2) / <alpha-value>)`,
3: `rgb(var(--neutral-3) / <alpha-value>)`,
4: `rgb(var(--neutral-4) / <alpha-value>)`,
5: `rgb(var(--neutral-5) / <alpha-value>)`,
6: `rgb(var(--neutral-6) / <alpha-value>)`,
7: `rgb(var(--neutral-7) / <alpha-value>)`,
8: `rgb(var(--neutral-8) / <alpha-value>)`,
9: `rgb(var(--neutral-9) / <alpha-value>)`,
10: `rgb(var(--neutral-10) / <alpha-value>)`,
11: `rgb(var(--neutral-11) / <alpha-value>)`,
12: `rgb(var(--neutral-12) / <alpha-value>)`,
},
},
keyframes: {
ascend: {
'0%, 100%': {
border: '2px rgb(var(--base-10)) solid',
boxShadow: '0px 0px 0px rgb(var(--base-12))',
},
'100%': {
border: '2px rgb(var(--base-8)) solid',
boxShadow: '0px 0px 10px rgb(var(--base-10))',
},
},
showup: {
'0%, 100%': {
transform: 'translateY(50px)',
opacity: 0,
},
'100%': {
transform: 'translateY(0px)',
opacity: 1,
},
},
},
animation: {
ascend: 'ascend 0.25s ease-in forwards',
showup: 'showup 0.66s ease forwards',
},
},
},
plugins: [],
}