-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
44 lines (42 loc) · 1.02 KB
/
tailwind.config.js
File metadata and controls
44 lines (42 loc) · 1.02 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
41
42
43
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}",],
theme: {
fontFamily: {
sans: [
'Inter',
'-apple-system',
'BlinkMacSystemFont',
'Apple SD Gothic Neo',
'Noto Sans KR',
'system-ui',
'sans-serif',
],
bakbak: ['"Bakbak One"', 'sans-serif'],
},
extend: {
keyframes: {
loop: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-50%)' }, // 절반만큼 이동했을 때 다시 처음으로
},
},
animation: {
'loop-scroll': 'loop 30s linear infinite', // 20초 동안 무한 반복
},
},
},
plugins: [
function({ addUtilities }) {
const newUtilities = {
'.text-stroke-1': {
'-webkit-text-stroke': '1px black',
},
'.text-stroke-2': {
'-webkit-text-stroke': '2px black',
},
}
addUtilities(newUtilities)
}
],
}