-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
44 lines (43 loc) · 1.5 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
'background': "var(--background)",
'primary': "var(--primary)"
},
fontFamily: {
'ppmori-extralight': ['var(--font-ppmori-extralight)', 'sans-serif'],
'ppmori-extralight-italic': ['var(--font-ppmori-extralight-italic)', 'sans-serif'],
'ppmori-regular': ['var(--font-ppmori-regular)', 'sans-serif'],
'ppmori-regular-italic': ['var(--font-ppmori-regular-italic)', 'sans-serif'],
'ppmori-semi-bold': ['var(--font-ppmori-semi-bold)', 'sans-serif'],
'ppmori-semi-bold-italic': ['var(--font-ppmori-semi-bold-italic)', 'sans-serif'],
},
keyframes: {
"marquee-left": {
from: { transform: "translateX(0)" },
to: { transform: "translateX(calc(-100% - var(--gap)))" },
},
"marquee-up": {
from: { transform: "translateY(0)" },
to: { transform: "translateY(calc(-100% - var(--gap)))" },
},
},
animation: {
"marquee-left": "marquee-left var(--duration, 40s) linear infinite",
"marquee-up": "marquee-up var(--duration, 40s) linear infinite",
},
},
},
plugins: [
// eslint-disable-next-line @typescript-eslint/no-require-imports
require("tailwindcss-animate"),
],
};
export default config;