-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
121 lines (119 loc) · 4.6 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./src/layers/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
screens: {
minimum: '375px',
tablet: '640px',
desktop: '1280px',
maximum: '1920px',
},
extend: {
colors: {
primary: {
50: '#F2F4FF',
100: '#E6E9FF',
200: '#C9D1FF',
300: '#ACB9FF',
400: '#8EA1FF',
500: '#7F9FFF',
600: '#708EFF',
700: '#5F7AFF',
800: '#4E66FF',
900: '#3D52FF',
},
secondary: {
50: '#F2F2F2',
100: '#E6E6E6',
200: '#CCCCCC',
300: '#B3B3B3',
400: '#999999',
500: '#171717',
600: '#0F0F0F',
700: '#080808',
800: '#050505',
900: '#030303',
},
},
fontSize: {
display1: ['6.5rem', { lineHeight: '7rem', letterSpacing: '-2%' }],
display2: ['5.5rem', { lineHeight: '6rem', letterSpacing: '-2%' }],
display3: ['4.75rem', { lineHeight: '5.5rem', letterSpacing: '-2%' }],
heading1: ['4rem', { lineHeight: '4.5rem', letterSpacing: '-1%' }],
heading2: ['3.25rem', { lineHeight: '4rem', letterSpacing: '-1%' }],
heading3: ['2.75rem', { lineHeight: '3.5rem', letterSpacing: '-1%' }],
heading4: ['2rem', { lineHeight: '2.5rem', letterSpacing: '-1%' }],
heading5: ['1.625rem', { lineHeight: '2.5rem', letterSpacing: '-1%' }],
heading6: ['1.25rem', { lineHeight: '2rem', letterSpacing: '-1%' }],
body1: ['1.125rem', { lineHeight: '1.75rem' }],
body2: ['1rem', { lineHeight: '1.5rem' }],
body3: ['0.875rem', { lineHeight: '1.5rem' }],
caption1: ['0.75rem', { lineHeight: '1rem' }],
caption2: ['0.625rem', { lineHeight: '1rem' }],
},
borderWidth: {
'12': '12px',
'16': '16px',
},
width: {
'100': '25rem',
'120': '30rem',
'160': '40rem',
'200': '50rem',
},
keyframes: {
'automatic-infinite-carousel': {
from: { left: '0' },
to: { left: '-100%' },
},
},
animation: {
'automatic-infinite-carousel':
'automatic-infinite-carousel 60s linear infinite',
},
typography: ({ theme }: any) => ({
primary: {
css: {
'--tw-prose-body': theme('colors.primary[50]'),
'--tw-prose-headings': theme('colors.primary[50]'),
'--tw-prose-lead': theme('colors.primary[50]'),
'--tw-prose-links': theme('colors.primary[600]'),
'--tw-prose-bold': theme('colors.primary[50]'),
'--tw-prose-counters': theme('colors.primary[50]'),
'--tw-prose-bullets': theme('colors.primary[50]'),
'--tw-prose-hr': theme('colors.primary[50]'),
'--tw-prose-quotes': theme('colors.primary[50]'),
'--tw-prose-quote-borders': theme('colors.primary[50]'),
'--tw-prose-captions': theme('colors.primary[50]'),
'--tw-prose-code': theme('colors.primary[50]'),
'--tw-prose-pre-code': theme('colors.secondary[50]'),
'--tw-prose-pre-bg': theme('colors.secondary[700]'),
'--tw-prose-th-borders': theme('colors.primary[50]'),
'--tw-prose-td-borders': theme('colors.primary[50]'),
'--tw-prose-invert-body': theme('colors.primary[50]'),
'--tw-prose-invert-headings': theme('colors.white'),
'--tw-prose-invert-lead': theme('colors.primary[50]'),
'--tw-prose-invert-links': theme('colors.primary[600]'),
'--tw-prose-invert-bold': theme('colors.primary[50]'),
'--tw-prose-invert-counters': theme('colors.primary[50]'),
'--tw-prose-invert-bullets': theme('colors.primary[50]'),
'--tw-prose-invert-hr': theme('colors.primary[50]'),
'--tw-prose-invert-quotes': theme('colors.primary[50]'),
'--tw-prose-invert-quote-borders': theme('colors.primary[50]'),
'--tw-prose-invert-captions': theme('colors.primary[50]'),
'--tw-prose-invert-code': theme('colors.primary[50]'),
'--tw-prose-invert-pre-code': theme('colors.primary[50]'),
'--tw-prose-invert-pre-bg': 'rgb(0 0 0 / 50%)',
'--tw-prose-invert-th-borders': theme('colors.primary[50]'),
'--tw-prose-invert-td-borders': theme('colors.primary[50]'),
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
} satisfies Config;
export default config;