forked from oss-compass/document-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
41 lines (41 loc) · 947 Bytes
/
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
important: false,
content: ['./src/**/*.{jsx,tsx}'],
theme: {
// https://tailwindcss.com/docs/screens#max-width-breakpoints
screens: {
'2xl': { max: '1535px' },
xl: { max: '1279px' },
lg: { max: '1023px' },
md: { max: '767px' },
sm: { max: '639px' },
'>2xl': { min: '1536px' },
'>xl': { min: '1280px' },
'>lg': { min: '1024px' },
'>md': { min: '768px' },
'>sm': { min: '640px' },
},
extend: {
zIndex: {
modal: 1000,
drawer: 500,
mask: 400,
fullscreen: 300,
dropdown: 200,
header: 120,
nav: 100,
menu: 80,
},
colors: {
primary: '#3A5BEF',
mask: 'rgba(0, 0, 0, 0.5)',
},
},
},
plugins: [require('@tailwindcss/line-clamp')],
corePlugins: {
preflight: false,
},
};