1. Typography: install @tailwindcss/typography and add to plugins so prose classes render correctly in article/about/legal templates. 2. Callout block: fix icon branches to match CalloutBlock.ICON_CHOICES (info/warning/trophy/tip). Previous template branched on error/success which are unreachable; info fell through to else silently. 3. Nav newsletter feedback: remove 'hidden' class from desktop nav data-newsletter-message element. JS sets textContent only; hidden class prevented message from ever being visible. 4. Popular Articles sidebar: add numbered Popular Articles widget to home page sidebar matching wireframe, using latest_articles context with alternating cyan/pink number accents and read_time_mins. Rebuild CSS: typography plugin grows output from 24KB to 47KB. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
35 lines
895 B
JavaScript
35 lines
895 B
JavaScript
module.exports = {
|
|
darkMode: 'class',
|
|
content: [
|
|
"../../templates/**/*.html",
|
|
"../../apps/**/templates/**/*.html",
|
|
],
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Inter', 'sans-serif'],
|
|
display: ['Space Grotesk', 'sans-serif'],
|
|
mono: ['Fira Code', 'monospace'],
|
|
},
|
|
colors: {
|
|
brand: {
|
|
cyan: '#06b6d4',
|
|
cyanGlow: 'rgba(6,182,212,0.4)',
|
|
pink: '#ec4899',
|
|
dark: '#09090b',
|
|
light: '#fafafa',
|
|
surfaceDark: '#18181b',
|
|
surfaceLight: '#ffffff',
|
|
},
|
|
},
|
|
boxShadow: {
|
|
'neon-cyan': '0 0 20px rgba(6, 182, 212, 0.3)',
|
|
'neon-pink': '0 0 20px rgba(236, 72, 153, 0.3)',
|
|
'solid-dark': '6px 6px 0px 0px #09090b',
|
|
'solid-light': '6px 6px 0px 0px #e4e4e7',
|
|
},
|
|
},
|
|
},
|
|
plugins: [require('@tailwindcss/typography')],
|
|
};
|