forked from flybywiresim/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
46 lines (44 loc) · 1.35 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
'use strict';
const reactComponentsSafeList = require('@flybywiresim/react-components/build/usedCSSClasses.json');
module.exports = {
mode: 'jit',
purge: {
options: { safelist: [...reactComponentsSafeList] },
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./node_modules/@flybywiresim/react-components/build/usedCSSClasses.json',
],
},
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: { sans: ['Nunito Sans'] },
extend: {
height: { 200: '50rem' },
screens: {
'3xl': '1792px',
'4xl': '2048px',
},
spacing: {
128: '32rem',
160: '40rem',
192: '48rem',
224: '56rem',
256: '64rem',
288: '72rem',
320: '80rem',
352: '88rem',
384: '96rem',
},
colors: {
blue: { 'dark-contrast': 'hsl(216,32%,17%)' },
discord: {
DEFAULT: 'hsl(227,58%,65%)',
dark: 'hsl(227,32%,49%)',
},
},
},
},
// eslint-disable-next-line global-require
plugins: [require('@flybywiresim/tailwind-config')],
};