Skip to content

The design language that makes your AI harness better at design.

JavaScript
1.5 KB
Raw Blame
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Typography — Clean Patterns</title>
  <link href="https://fonts.googleapis.com/css2?family=Newsreader:opsz,[email protected],400;6..72,700&family=Karla:wght@400;500;700&display=swap" rel="stylesheet">
  <style>
    body {
      font-family: 'Karla', system-ui, sans-serif;
      background: #f9fafb;
      padding: 2rem;
      font-size: 16px;
      color: #111827;
    }
    h1 {
      font-family: 'Newsreader', Georgia, serif;
      font-size: 48px;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }
    h2 {
      font-family: 'Newsreader', Georgia, serif;
      font-size: 32px;
      font-weight: 700;
      margin: 2rem 0 0.75rem;
    }
    h3 { font-size: 24px; font-weight: 600; }
    p { font-size: 16px; color: #6b7280; margin-top: 0.25rem; }
    .caption { font-size: 12px; color: #6b7280; }
  </style>
</head>
<body>
  <h1>Good Typography</h1>
  <p>This page uses distinctive fonts, proper pairing, and strong hierarchy.</p>

  <h2>Two Font Families</h2>
  <p>Newsreader (serif) for headings, Karla for body. Clear contrast in both structure and personality, and neither face has been adopted into the current AI-default monoculture.</p>

  <h3>Strong Size Hierarchy</h3>
  <p>Sizes range from 12px to 48px — a 4:1 ratio with clear visual steps.</p>
  <p class="caption">Caption text is clearly distinct from body.</p>
<script src="/js/detect-antipatterns-browser.js"></script>
</body>
</html>