Skip to content

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

JavaScript
1.6 KB
Raw Blame
{
  "stdout": "[\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/fullpage-screenshot.html\",\n    \"line\": 0,\n    \"snippet\": \"1.7:1 (need 4.5:1) — text #c4c4c4 on #ffffff\"\n  },\n  {\n    \"antipattern\": \"overused-font\",\n    \"name\": \"Overused font\",\n    \"description\": \"Inter, Roboto, Fraunces, Geist, Plus Jakarta Sans, and Space Grotesk are used on so many sites they no longer feel distinctive. Each new wave of AI-generated UIs converges on the same handful of faces. Choose a face that gives your interface personality.\",\n    \"severity\": \"warning\",\n    \"category\": \"slop\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/fullpage-screenshot.html\",\n    \"line\": 0,\n    \"snippet\": \"Primary font: arial\"\n  },\n  {\n    \"antipattern\": \"repeating-stripes-gradient\",\n    \"name\": \"Repeating-gradient stripes\",\n    \"description\": \"Repeating-gradient stripes used as surface decoration are a recurring generated-UI signature. Reach for a deliberate texture or leave the surface plain.\",\n    \"severity\": \"advisory\",\n    \"category\": \"slop\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/fullpage-screenshot.html\",\n    \"line\": 0,\n    \"snippet\": \"repeating-gradient decorative stripes\",\n    \"advisory\": true\n  }\n]\n",
  "stderr": "",
  "exit": 2,
  "signal": null,
  "files": {}
}