-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
79 lines (78 loc) · 2.16 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
import type { Config } from 'tailwindcss'
import defaultTheme from 'tailwindcss/defaultTheme'
module.exports = <Partial<Config>>{
theme: {
fontSize: {
'xs': ['0.7rem', { lineHeight: '1rem' }],
'sm': ['0.8rem', { lineHeight: '1.5rem' }],
'base': ['0.925rem', { lineHeight: '1.75rem' }],
'lg': ['1.05rem', { lineHeight: '2rem' }],
'xl': ['1.175rem', { lineHeight: '2rem' }],
'2xl': ['1.3rem', { lineHeight: '2rem' }],
'3xl': ['1.55rem', { lineHeight: '2.5rem' }],
'4xl': ['2.05rem', { lineHeight: '3.5rem' }],
'5xl': ['2.55rem', { lineHeight: '3.5rem' }],
'6xl': ['3.05rem', { lineHeight: '1' }],
'7xl': ['3.755rem', { lineHeight: '1.1' }],
'8xl': ['4.55rem', { lineHeight: '1.125' }],
'9xl': ['6.05rem', { lineHeight: '1' }],
},
extend: {
screens: {
xxs: '360px',
xs: '410px',
s: '468px',
},
backgroundImage: {
'dashboard-gradient': 'url("/img/dashboard-background.png")',
},
borderRadius: {
'4xl': '2rem',
},
colors: {
green: {
550: '#1cb454',
},
},
fontFamily: {
sans: ['e-Ukraine', ...defaultTheme.fontFamily.sans],
display: ['e-Ukraine Head', ...defaultTheme.fontFamily.sans],
mono: ['JetBrains Mono', ...defaultTheme.fontFamily.mono],
system: [...defaultTheme.fontFamily.sans],
},
maxWidth: {
'2xl': '40rem',
},
spacing: {
'0.25': '0.0625rem',
'0.75': '0.1875rem',
'4.5': '1.125rem',
'5.5': '1.375rem',
'6.5': '1.625rem',
'13': '3.25rem',
'13.5': '3.375rem',
},
opacity: {
'3': '0.03',
},
letterSpacing: {
tightest: '-0.075em',
},
transitionProperty: {
height: 'height',
width: 'width',
spacing: 'margin, padding',
border: 'border-radius',
},
animation: {
loader: 'spin 1s steps(8, end) infinite',
wave: 'wave 1s linear',
},
},
},
darkMode: 'class',
future: {
hoverOnlyWhenSupported: true,
},
plugins: [require('@tailwindcss/forms')],
}