This repository has been archived by the owner on Dec 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
99 lines (98 loc) · 2.08 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import type { Config } from 'tailwindcss';
export default {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./lib/**/*.{js,ts,jsx,tsx}',
],
theme: {
screens: {
// => @media (min-width: 640px) { ... }
'3xs': '256px',
'2xs': '384px',
xs: '512px',
sm: '640px',
md: '768px',
ml: '896px',
lg: '1024px',
xl: '1280px',
},
scale: {
'-1': '-1', // allows icon flip such as '-scale-y-1'
},
extend: {
fontFamily: {
roboto: ['Roboto', 'RobotoDraft', 'Helvetica', 'Arial', 'sans-serif'],
// classNames="font-roboto"
},
fontSize: {
xxs: [
'11px',
{
lineHeight: '15px',
},
],
smm: [
'13px',
{
lineHeight: '18px',
},
],
},
keyframes: {
glow: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.5' },
},
typing: {
'0%': { width: '0' },
'100%': { width: '100%' },
},
},
animation: {
glow: 'glow 8s ease-in-out infinite',
typing: 'typing 800ms steps(30, end)',
},
opacity: {
65: '0.65',
},
height: {
4.5: '1.125rem',
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
},
maxWidth: {
'5xs': '12rem',
'4xs': '14rem',
'3xs': '16rem',
'2xs': '18rem',
'2lg': '34rem',
},
width: {
4.5: '1.125rem',
},
backdropBlur: {
'4xs': '0.04em',
'3xs': '1px',
'2xs': '2px',
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
require('@headlessui/tailwindcss'),
],
} satisfies Config;