6ce7a0378e
* Add Cosmic CMS Example * with native .env support, this file isn't needed anymore * FIX use path alias * Add cosmicjs package * Fix alias import in pages/api/preview * Added: react-imgix & lazysizes package * Load lazysizes in layout * Used imgix image with lazyloading * Added avatar imgix optimizations * EDITED: steps to install content, preview * EDITED: demo link * EDITED: Install step * EDITED: preview link steps * Edited: demo link * FIXED: object_slug * Screenshots * Fixed object_slug link * Update README.md * Fix: formatting issue * Updated readme and renamed .env to env.local * Sanity checks * Handle fallback data when expected * Added link to the example in other examples * Updated demo deployment * Added example to docs * minor lint fix * Remove manual download step * use vercel.json Co-authored-by: Tony Spiro <tspiro@tonyspiro.com> Co-authored-by: Luis Alvarez <luis@vercel.com>
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)',
|
|
},
|
|
},
|
|
},
|
|
}
|