forked from giscus/giscus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
30 lines (30 loc) · 882 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
module.exports = {
mode: 'jit',
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}', './styles/*.css'],
darkMode: 'class',
theme: {
extend: {
screens: {
// To use device width instead of min-width.
// Might be useful because min-width will take the iframe's width instead.
dsm: { raw: '(min-device-width: 640px)' },
dmd: { raw: '(min-device-width: 768px)' },
dlg: { raw: '(min-device-width: 1024px)' },
dxl: { raw: '(min-device-width: 1280px)' },
d2xl: { raw: '(min-device-width: 1536px)' },
},
fontFamily: {
sans: [
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'Helvetica',
'Arial',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
],
},
},
},
};