A flat, system-font tool surface — no animation, no Google Fonts, no atmosphere. Just dark cards in a tight grid.
Used on every interactive visualizer and on the /tutorials/ and /theory/ hubs that index them. The job is to stay out of the way of the math demo it's wrapping.
// Slate uses Consolas for code, periwinkle for keywords const palette = { bg: '#0a0a0f', // flat dark card: '#12121a', accent: '#7c8cf8', // periwinkle };
The minimal token set Slate keeps reusing.
'Segoe UI', system-ui, -apple-system, sans-serif — whatever the OS already has. No web-font fetch.'Consolas', 'Monaco', monospace.
2.2rem 700, letter-spacing: -0.5px, with the same gradient-text trick (white → periwinkle) for one understated flourish. h2s are mono caps in periwinkle, letter-spacing: 1.5px.
border-radius: 8px, padding 16×18px, hairline border lifts to #3a3a55 on hover, surface lifts to #16161f./tutorials/ · /theory/ · every per-visualizer page (/dotproduct/, /cnn/, /attention/, /mlp/, /lstm/, /regression/…).