-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
126 lines (125 loc) · 4.46 KB
/
tailwind.config.js
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
122
123
124
125
126
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx}'],
darkMode: 'class',
theme: {
fontSize: {
xs: ['0.75rem', { lineHeight: '1rem' }],
sm: ['0.875rem', { lineHeight: '1.5rem' }],
base: ['1rem', { lineHeight: '2rem' }],
lg: ['1.125rem', { lineHeight: '1.75rem' }],
xl: ['1.25rem', { lineHeight: '2rem' }],
'2xl': ['1.5rem', { lineHeight: '2.5rem' }],
'3xl': ['2rem', { lineHeight: '2.5rem' }],
'4xl': ['2.5rem', { lineHeight: '3rem' }],
'5xl': ['3rem', { lineHeight: '3.5rem' }],
'6xl': ['3.75rem', { lineHeight: '1' }],
'7xl': ['4.5rem', { lineHeight: '1' }],
'8xl': ['6rem', { lineHeight: '1' }],
'9xl': ['8rem', { lineHeight: '1' }],
},
extend: {
fontFamily: {
sans: ['Mona Sans', ...defaultTheme.fontFamily.sans],
display: ['Mona Sans', ...defaultTheme.fontFamily.sans],
},
maxWidth: {
'8xl': '88rem',
},
colors: {
emulsifyBlue: {
100: '#E6F5FC',
200: '#CCECFA',
300: '#99D9F4',
400: '#66C5EF',
500: '#33B2E9',
600: '#009FE4',
700: '#007FB6',
800: '#005F89',
900: '#00405B',
1000: '#00202E',
},
gray: {
100: '#EAEBEC',
200: '#D4D7D8',
300: '#A9AFB1',
400: '#7F878B',
500: '#545F64',
600: '#29373D',
700: '#212C31',
800: '#192125',
900: '#101618',
1000: '#080B0C',
},
orange: {
100: '#FFF6E6',
200: '#FFEDCD',
300: '#FFDC9B',
400: '#FFCA69',
500: '#FFB937',
600: '#FFA705',
700: '#CC8604',
800: '#996403',
900: '#664302',
1000: '#332101',
},
violet: {
100: '#F7E9F5',
200: '#EFD3EC',
300: '#DFA8D8',
400: '#CE7CC5',
500: '#BE51B1',
600: '#AE259E',
700: '#8B1E7E',
800: '#68165F',
900: '#460F3F',
1000: '#230720',
},
},
zIndex: {
70: '70',
},
typography: ({ theme }) => ({
emulsify: {
css: {
'--tw-prose-body': theme('colors.gray[800]'),
'--tw-prose-headings': theme('colors.emulsifyBlue[900]'),
'--tw-prose-lead': theme('colors.gray[700]'),
'--tw-prose-links': theme('colors.gray[700]'),
'--tw-prose-bold': theme('colors.gray[900]'),
'--tw-prose-counters': theme('colors.gray[600]'),
'--tw-prose-bullets': theme('colors.gray[400]'),
'--tw-prose-hr': theme('colors.gray[300]'),
'--tw-prose-quotes': theme('colors.gray[900]'),
'--tw-prose-quote-borders': theme('colors.gray[300]'),
'--tw-prose-captions': theme('colors.gray[700]'),
'--tw-prose-code': theme('colors.gray[900]'),
'--tw-prose-pre-code': theme('colors.gray[700]'),
'--tw-prose-pre-bg': theme('colors.gray[900]'),
'--tw-prose-th-borders': theme('colors.gray[300]'),
'--tw-prose-td-borders': theme('colors.gray[200]'),
'--tw-prose-invert-body': theme('colors.gray[200]'),
'--tw-prose-invert-headings': theme('colors.white'),
'--tw-prose-invert-lead': theme('colors.gray[300]'),
'--tw-prose-invert-links': theme('colors.white'),
'--tw-prose-invert-bold': theme('colors.white'),
'--tw-prose-invert-counters': theme('colors.gray[400]'),
'--tw-prose-invert-hr': theme('colors.gray[700]'),
'--tw-prose-invert-quotes': theme('colors.gray[100]'),
'--tw-prose-invert-quote-borders': theme('colors.gray[700]'),
'--tw-prose-invert-captions': theme('colors.gray[400]'),
'--tw-prose-invert-code': theme('colors.white'),
'--tw-prose-invert-pre-code': theme('colors.gray[300]'),
'--tw-prose-invert-pre-bg': 'rgb(0 0 0 / 50%)',
'--tw-prose-invert-th-borders': theme('colors.gray[600]'),
'--tw-prose-invert-td-borders': theme('colors.gray[700]'),
'--tw-prose-invert-bullets': theme('colors.gray[400]'),
},
},
}),
},
},
// eslint-disable-next-line global-require
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')],
}