forked from giscus/giscus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
38 lines (37 loc) · 1.08 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
const vanillaRTL = require('tailwindcss-vanilla-rtl');
/** @type {import('tailwindcss/tailwind-config').TailwindConfig} */
module.exports = {
content: ['./pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}'],
important: '#__next',
safelist: ['mb-0', 'py-0'],
darkMode: 'class',
plugins: [vanillaRTL],
corePlugins: {
...vanillaRTL.disabledCorePlugins,
},
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"',
],
},
},
},
};