Skip to content

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

JavaScript
4.2 KB
Raw Blame
{
  "stdout": "[\n  {\n    \"antipattern\": \"gray-on-color\",\n    \"name\": \"Gray text on colored background\",\n    \"description\": \"Gray text looks washed out on colored backgrounds. Use a darker shade of the background color instead, or white/near-white for contrast.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/computed-forms.html\",\n    \"line\": 0,\n    \"snippet\": \"text #6b7280 on bg #2563eb\"\n  },\n  {\n    \"antipattern\": \"low-contrast\",\n    \"name\": \"Low contrast text\",\n    \"description\": \"Text does not meet WCAG AA contrast requirements (4.5:1 for body, 3:1 for large text). Increase the contrast between text and background.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/computed-forms.html\",\n    \"line\": 0,\n    \"snippet\": \"1.1:1 (need 4.5:1) — text #6b7280 on #2563eb\"\n  },\n  {\n    \"antipattern\": \"gray-on-color\",\n    \"name\": \"Gray text on colored background\",\n    \"description\": \"Gray text looks washed out on colored backgrounds. Use a darker shade of the background color instead, or white/near-white for contrast.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/computed-forms.html\",\n    \"line\": 0,\n    \"snippet\": \"text-gray-500 on bg-blue-600\"\n  },\n  {\n    \"antipattern\": \"gray-on-color\",\n    \"name\": \"Gray text on colored background\",\n    \"description\": \"Gray text looks washed out on colored backgrounds. Use a darker shade of the background color instead, or white/near-white for contrast.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/computed-forms.html\",\n    \"line\": 0,\n    \"snippet\": \"text-neutral-0 on bg-red-700\"\n  },\n  {\n    \"antipattern\": \"side-tab\",\n    \"name\": \"Side-tab accent border\",\n    \"description\": \"Thick colored border on one side of a card — the most recognizable tell of AI-generated UIs. Use a subtler accent or remove it entirely.\",\n    \"severity\": \"warning\",\n    \"category\": \"slop\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/computed-forms.html\",\n    \"line\": 0,\n    \"snippet\": \"div.stripe — 4px stripe child (left)\"\n  },\n  {\n    \"antipattern\": \"wide-tracking\",\n    \"name\": \"Wide letter spacing on body text\",\n    \"description\": \"Letter spacing above 0.05em on body text disrupts natural character groupings and slows reading. Reserve wide tracking for short uppercase labels only.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/computed-forms.html\",\n    \"line\": 0,\n    \"snippet\": \"letter-spacing: 0.28em on body text\"\n  },\n  {\n    \"antipattern\": \"numbered-section-labels\",\n    \"name\": \"Tiny numbered section labels\",\n    \"description\": \"Small numeric index labels riding next to section headings, repeated section after section, are AI editorial scaffolding — a page numbering its own chapters instead of earning structure. Let hierarchy, content, and rhythm carry the sequence.\",\n    \"severity\": \"advisory\",\n    \"category\": \"slop\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/computed-forms.html\",\n    \"line\": 0,\n    \"snippet\": \"tiny numbered label \\\"01\\\" beside h2 \\\"First section of the page\\\" (2 on page)\",\n    \"advisory\": true\n  },\n  {\n    \"antipattern\": \"numbered-section-labels\",\n    \"name\": \"Tiny numbered section labels\",\n    \"description\": \"Small numeric index labels riding next to section headings, repeated section after section, are AI editorial scaffolding — a page numbering its own chapters instead of earning structure. Let hierarchy, content, and rhythm carry the sequence.\",\n    \"severity\": \"advisory\",\n    \"category\": \"slop\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/computed-forms.html\",\n    \"line\": 0,\n    \"snippet\": \"tiny numbered label \\\"02\\\" beside h2 \\\"Second section of the page\\\" (2 on page)\",\n    \"advisory\": true\n  }\n]\n",
  "stderr": "",
  "exit": 2,
  "signal": null,
  "files": {}
}