-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
127 lines (125 loc) · 4.29 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
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
118
119
120
121
122
123
124
125
126
127
import type { Config } from 'tailwindcss'
import { nextui } from '@nextui-org/react'
import svgToDataUri from 'mini-svg-data-uri'
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}'
],
theme: {
extend: {
fontFamily: {
'inter-sans': ['var(--font-inter)'],
'orbitron-sans': ['var(--font-orbitron)']
},
colors: {
'color-background-dark': '#1f1f22',
'color-header-dark': '#1b1b1d',
'color-sidebar-dark': '#242427',
'color-background-2-dark': '#29292d',
'color-border-pink-dark': '#f23c57',
'color-pink-primary-dark': '#f23551',
'color-pink-primary-accent-dark': '#e23770',
'color-background-light': '#fdfdfd',
'color-header-light': '#151515',
'color-sidebar-light': '#f5f5f5',
'color-background-2-light': '#e8e8e8',
'color-border-pink-light': '#e40020',
'color-pink-primary-light': '#ea2845',
'color-pink-primary-accent-light': '#ea2868',
'p-dark': '#ffffffb2',
'p-light': '#00000095',
'nav-link-dark': '#9ca3af',
'nav-link-light': '#4b5563'
},
backgroundImage: {
'grid-white': `url("${svgToDataUri(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="#353535"><path d="M0 .5H31.5V32"/></svg>'
)}")`,
'grid-black': `url("${svgToDataUri(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="#e6e6e6"><path d="M0 .5H31.5V32"/></svg>'
)}")`,
'grid-small-white': `url("${svgToDataUri(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="8" height="8" fill="none" stroke="#353535"><path d="M0 .5H31.5V32"/></svg>'
)}")`,
'grid-small-black': `url("${svgToDataUri(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="8" height="8" fill="none" stroke="#e6e6e6"><path d="M0 .5H31.5V32"/></svg>'
)}")`,
'bg-color-pink-primary-gradient-light': 'linear-gradient(90deg, #ea2845 0%, #ea2868 100%)',
'bg-color-pink-primary-gradient-dark': 'linear-gradient(90deg, #f23551 0%, #e23770 100%)',
'bg-color-hover': 'linear-gradient(90deg, #101010 0%, #151515 100%)'
},
keyframes: {
'animation-title-1': {
'0%': { opacity: '1' },
'16.667%': { opacity: '1' },
'33.333%': { opacity: '0' },
'83.333%': { opacity: '0' },
'94%': { opacity: '1' }
},
'animation-title-2': {
'0%': { opacity: '0' },
'16.667%': { opacity: '0' },
'30%': { opacity: '1' },
'50%': { opacity: '1' },
'66.667%': { opacity: '0' },
'100%': { opacity: '0' }
},
'animation-title-3': {
'0%': { opacity: '0' },
'50%': { opacity: '0' },
'60%': { opacity: '1' },
'83.333%': { opacity: '1' },
'100%': { opacity: '0' }
},
spotlight: {
'0%': {
opacity: '0',
transform: 'translate(-72%, -62%) scale(0.5)'
},
'100%': {
opacity: '1',
transform: 'translate(-50%,-40%) scale(1)'
}
},
shimmer: {
from: {
backgroundPosition: '0 0',
transform: 'translateX(0%)'
},
to: {
backgroundPosition: '-200% 0',
transform: 'translateX(0%)'
}
}
},
animation: {
'color-cycle-1': 'animation-title-1 10s ease-in-out infinite',
'color-cycle-2': 'animation-title-2 10s ease-in-out infinite',
'color-cycle-3': 'animation-title-3 10s ease-in-out infinite',
spotlight: 'spotlight 2s ease .75s 1 forwards',
shimmer: 'shimmer 3s linear infinite'
}
}
},
darkMode: 'class',
plugins: [
nextui({
themes: {
light: {
colors: {
background: '#fdfdfd'
}
},
dark: {
colors: {
background: '#1f1f22'
}
}
}
})
]
}
export default config