-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
38 lines (38 loc) · 909 Bytes
/
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
'courier': ['"Courier Prime"', 'monospace'],
},
animation: {
bounce: 'bounce 1s infinite',
twinkle: 'twinkle 1.5s ease-in-out infinite',
},
},
},
plugins: [
function({ addBase }) {
addBase({
'@font-face': [
{
fontFamily: 'Courier Prime',
src: 'url("../public/CourierPrime-Regular.ttf") format("truetype")',
fontWeight: 'normal',
fontStyle: 'normal',
},
{
fontFamily: 'Courier Prime',
src: 'url("../public/CourierPrime-Bold.ttf") format("truetype")',
fontWeight: 'bold',
fontStyle: 'normal',
}
],
});
}
],
}