-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
76 lines (75 loc) · 2.33 KB
/
Copy pathtailwind.config.ts
File metadata and controls
76 lines (75 loc) · 2.33 KB
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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-montserrat)', 'sans-serif'],
},
colors: {
'action-blue': '#3B66F5',
'soft-background': '#F9F9F9',
'highlight-blue': '#D9EFFF',
'text': '#222222',
},
borderRadius: {
'button': '9999px',
},
// Кастомные брейкпоинты для больших экранов
screens: {
'3xl': '1920px', // Full HD+
'4xl': '2560px', // QHD/2K
'5xl': '3840px', // 4K UHD
'6xl': '5120px', // 5K и сверхбольшие экраны
},
// Максимальные ширины контейнеров
maxWidth: {
'container-default': 'min(90rem, 92vw)',
'container-xl': 'min(100rem, 90vw)',
'container-2xl': 'min(110rem, 85vw)',
'container-3xl': 'min(120rem, 80vw)',
'container-4xl': 'min(140rem, 75vw)',
'container-5xl': 'min(180rem, 70vw)',
'container-6xl': 'min(240rem, 65vw)',
// Фиксированные ширины
'screen-3xl': '1920px',
'screen-4xl': '2560px',
'screen-5xl': '3840px',
'screen-6xl': '5120px',
},
// Дополнительные отступы для больших экранов
spacing: {
'18': '4.5rem',
'22': '5.5rem',
'26': '6.5rem',
'30': '7.5rem',
'34': '8.5rem',
'38': '9.5rem',
'42': '10.5rem',
'44': '11rem',
'72': '18rem',
'80': '20rem',
'88': '22rem',
'96': '24rem',
'104': '26rem',
'112': '28rem',
'120': '30rem',
'128': '32rem',
},
// Размеры шрифтов для больших экранов
fontSize: {
'5xl': ['3rem', { lineHeight: '1.2' }], // 48px
'6xl': ['3.75rem', { lineHeight: '1.1' }], // 60px
'7xl': ['4.5rem', { lineHeight: '1.1' }], // 72px
'8xl': ['6rem', { lineHeight: '1' }], // 96px
'9xl': ['8rem', { lineHeight: '1' }], // 128px
},
},
},
plugins: [],
};
export default config;