forked from flybywiresim/installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
50 lines (48 loc) · 1.32 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
'use strict';
const reactComponentsSafeList = require('@flybywiresim/react-components/build/usedCSSClasses.json');
module.exports = {
purge: {
options: { safelist: [...reactComponentsSafeList] },
content: [
'./src/**/*.html',
'./src/**/*.jsx',
'./src/**/*.tsx',
],
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
height: {
'450px': '450px',
},
width: {
'520px': '520px',
'700px': '700px',
},
colors: {
navy: {
'lightest': '#273347',
'lighter': '#222c3d',
},
red: {
'DEFAULT': '#FC3A3A',
'dark': '#F70404',
'darker': '#E40303',
'darkest': "#D10303",
},
},
boxShadow: {
'inner-sm': 'inset 0 1px 2px 0 rgba(0, 0, 0, 0.05)'
},
animation: {
'spin-reverse': 'spin 1s linear infinite reverse',
},
},
},
variants: {
extend: {
backgroundColor: ['first']
}
},
plugins: [require('@flybywiresim/tailwind-config')],
};