forked from aburtsev/codelab.ai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
58 lines (57 loc) · 1.46 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
51
52
53
54
55
56
57
58
const path = require('path')
const colors = require('tailwindcss/colors')
// const { breakpoints } = require('./.codelab.js')
/**
* This only works if `tailwind.config.js` & `postcss.config.js` are at the project root
*/
module.exports = {
// mode: 'jit',
// darkMode: 'class',
content: [
path.resolve(process.cwd(), 'apps/landing/**/*.{ts,tsx}'),
path.resolve(process.cwd(), 'apps/builder/**/*.{ts,tsx}'),
path.resolve(process.cwd(), 'apps/websites/**/*.{ts,tsx}'),
path.resolve(process.cwd(), 'libs/**/*.{ts,tsx}'),
],
theme: {
extend: {
colors: {
primary: colors.violet['700'],
},
// colors: ({ theme }) => ({
// primary: theme('colors.violet')
// }),
screens: {
tablet: '0px',
laptop: '768px',
desktop: '1200px',
},
},
fontFamily: {
display: ['Montserrat'],
body: ['Nunito'],
},
screens: {
xs: '0px',
sm: '576px',
// => @media (min-width: 576px) { ... }
md: '768px',
// => @media (min-width: 768px) { ... }
lg: '992px',
// => @media (min-width: 992px) { ... }
xl: '1200px',
// => @media (min-width: 1200px) { ... }
'2xl': '1600px',
// => @media (min-width: 1600px) { ... }
},
container: {
center: true,
},
},
variants: {},
plugins: [],
corePlugins: {
// Reset adds `background:transparent`, which background-color can't override
preflight: false,
},
}