-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
55 lines (53 loc) · 1.51 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
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: ["class"],
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: { fg: ["var(--font-fg)"], inter: ["var(--font-inter)"] },
fontWeight: {
medium: "500",
},
fontSize: {
sm: "18px", // 18px
base: "1.375rem", // 22px
xl: "1.375rem", // 22px
"2xl": "2rem", // 32px
},
backgroundImage: {
"gradient-radial-primary-light":
"radial-gradient(ellipse 544px 501px, #8CA5FE, transparent)",
"gradient-radial-primary-light-mobile":
"radial-gradient(ellipse 200px 217px, #8CA5FE, transparent)",
},
colors: {
"primary-dark": "#02010A",
"primary-blue": "#4D62F0",
"primary-blush": "#FCD7FC",
"body-light": "#636768",
"body-dark": "#8F9394",
"body-additional": "#AAB3B6",
"clean-white": "#FFFFFF",
background: "var(--background)",
},
keyframes: {
"spin-slow": {
"0%": { transform: "rotate(0deg)" },
"100%": { transform: "rotate(360deg)" },
},
},
animation: {
"spin-slow": "spin-slow 1s linear infinite",
},
screens: {
"token-header-touchpoint": "1155px", // Width at which the page header touches token icon
},
},
},
plugins: [],
};
export default config;