-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
36 lines (35 loc) · 998 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
/** @type import('tailwindcss').TailwindConfig */
const conf = {
mode: 'jit',
content: ['./src/**/*.{js,ts,jsx,tsx}'],
corePlugins: {
preflight: false, // We are using MUI CSS Baseline instead https://mui.com/components/css-baseline/
},
important: true, // Cannot be used atm because MUI spawns dialogs outside #__next
theme: {
container: {
center: true,
padding: '2rem',
screens: {
sm: '100%',
md: '100%',
lg: '1000px',
xl: '1200px',
},
},
extend: {
colors: {
primary: '#6753FF', // Branded pink
secondary: '#FFFFFF', // White
neutral: '#182955', // Dark blue
highlight: '#5EEAD4',
background: '#F5F6F8',
error: '#c62828', // MUI palette.error.dark
warning: '#e65100', // MUI palette.warning.dark
info: '#01579b', // MUI palette.info.dark
success: '#1b5e20', // MUI palette.success.dark
},
},
},
};
module.exports = conf;