-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
40 lines (39 loc) · 1.16 KB
/
tailwind.config.ts
File metadata and controls
40 lines (39 loc) · 1.16 KB
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
import { colors } from './src/styles/color'
import { fontSize } from './src/styles/fontSize'
import { zIndex } from './src/styles/zIndex'
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/app/**/*.{js,jsx,ts,tsx}',
'./src/components/**/*.{js,jsx,ts,tsx}',
],
presets: [require('nativewind/preset')],
theme: {
extend: {
zIndex,
colors,
fontSize,
fontFamily: {
thin: ['Pretendard-Thin', 'sans-serif'],
extralight: ['Pretendard-ExtraLight', 'sans-serif'],
light: ['Pretendard-Light', 'sans-serif'],
regular: ['Pretendard-Regular', 'sans-serif'],
medium: ['Pretendard-Medium', 'sans-serif'],
semibold: ['Pretendard-SemiBold', 'sans-serif'],
bold: ['Pretendard-Bold', 'sans-serif'],
extrabold: ['Pretendard-ExtraBold', 'sans-serif'],
black: ['Pretendard-Black', 'sans-serif'],
},
keyframes: {
'pulse-strong': {
'0%, 100%': { opacity: 0.75 },
'50%': { opacity: 1 },
},
},
animation: {
'pulse-strong': 'pulse-strong 1.6s ease-in-out infinite',
},
},
},
plugins: [],
}