-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
89 lines (84 loc) · 2.09 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
import defaultTheme from 'tailwindcss/defaultTheme'
const sansFonts = [
'Inter',
'system-ui',
'ui-sans-serif',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Ubuntu',
'Cantarell',
'Noto Sans',
'Oxygen Sans',
'Arial',
'sans-serif',
...defaultTheme.fontFamily.sans,
] as const
const serifFonts = [
'Montserrat',
'ui-serif',
'-apple-system-ui-serif',
'Georgia',
'Times',
'Times New Roman',
'DejaVu Serif',
'serif',
...defaultTheme.fontFamily.serif,
] as const
const displayFonts = [
'Righteous',
'San Francisco Display',
...serifFonts,
] as const
const monoFonts = [
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Consolas',
'Ubuntu Mono',
'DejaVu Sans Mono',
'Liberation Mono',
'monospace',
...defaultTheme.fontFamily.mono,
] as const
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
screens: {
'2xs': '448px',
xs: '528px',
'3xl': '1840px',
'4xl': '2208px',
},
animation: {
loading: 'loading 2s linear infinite',
},
keyframes: {
loading: {
'0%, 100%': { 'background-color': 'rgb(82, 82, 82, 1)' },
'50%': { 'background-color': 'rgb(82, 82, 82, 0.5)' },
},
},
fontFamily: {
sans: sansFonts,
serif: serifFonts,
display: displayFonts,
mono: monoFonts,
},
transitionProperty: {
'layout-transform': 'margin, padding, transform',
layout: 'height, max-height, border, margin, padding',
height: 'height, max-height, border',
text: 'color, opacity',
},
scale: {
101: '1.01',
},
},
},
plugins: [],
} as const