58c7265ba0
👋🏻 This PR updates the Datocms example: - [x] Next.js 9.4 absolute import and aliases support - [x] Next.js 9.4 native `.env` support - [x] Tailwind 1.4 native PurgeCSS support - [x] Chore: bump other dependencies, like React, Remark, and DateFNS I've tested this PR here: - 💻 https://github.com/gregrickaby/datocms-next-js-blog-demo-2392 - 👀 https://datocms-next-js-blog-demo-2392.now.sh/
33 lines
690 B
JavaScript
33 lines
690 B
JavaScript
module.exports = {
|
|
purge: ['./components/**/*.js', './pages/**/*.js'],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
'accent-1': '#FAFAFA',
|
|
'accent-2': '#EAEAEA',
|
|
'accent-7': '#333',
|
|
success: '#0070f3',
|
|
cyan: '#79FFE1',
|
|
},
|
|
spacing: {
|
|
28: '7rem',
|
|
},
|
|
letterSpacing: {
|
|
tighter: '-.04em',
|
|
},
|
|
lineHeight: {
|
|
tight: 1.2,
|
|
},
|
|
fontSize: {
|
|
'5xl': '2.5rem',
|
|
'6xl': '2.75rem',
|
|
'7xl': '4.5rem',
|
|
'8xl': '6.25rem',
|
|
},
|
|
boxShadow: {
|
|
small: '0 5px 10px rgba(0, 0, 0, 0.12)',
|
|
medium: '0 8px 30px rgba(0, 0, 0, 0.12)',
|
|
},
|
|
},
|
|
},
|
|
}
|