-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
72 lines (71 loc) · 1.71 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
import type { Config } from 'tailwindcss'
import defaultTheme from 'tailwindcss/defaultTheme'
const config: Config = {
content: ['./app/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
extend: {
fontSize: {
'2xl': [
'clamp(3rem, 2.6488rem + 1.4298vw, 4rem)',
{
lineHeight: '1.4',
fontWeight: defaultTheme.fontWeight.extrabold
}
],
xl: [
'clamp(2.5rem, 2.3244rem + 0.7149vw, 3rem)',
{
lineHeight: '1.4',
fontWeight: defaultTheme.fontWeight.extrabold
}
],
lg: [
'clamp(1.5rem, 1.2366rem + 1.0724vw, 2.25rem)',
{
lineHeight: '1.4',
fontWeight: defaultTheme.fontWeight.bold
}
],
base: [
'clamp(1rem, 0.8244rem + 0.7149vw, 1.5rem)',
{
lineHeight: '1.4',
fontWeight: defaultTheme.fontWeight.normal
}
],
sm: [
'clamp(0.875rem, 0.7433rem + 0.5362vw, 1.25rem)',
{
lineHeight: '1.5',
fontWeight: defaultTheme.fontWeight.normal
}
]
},
colors: {
transparent: 'transparent',
black: 'var(--cs-black)',
white: 'var(--cs-white)',
primary: 'var(--cs-green)',
current: 'inherit'
},
fontFamily: {
sans: ['Open Sans', ...defaultTheme.fontFamily.sans]
},
aspectRatio: {
portrait: '9 / 16'
},
spacing: {
68: '17rem',
84: '21rem',
88: '22rem',
100: '25rem',
screen: '100svw',
}
}
},
corePlugins: {
container: false
},
plugins: []
}
export default config