Skip to content

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

JavaScript
2.2 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\": \"<WS>/src/inline.html\",\n    \"line\": 0,\n    \"snippet\": \"3.6:1 (need 4.5:1) — text #ff00aa on #ffffff\"\n  },\n  {\n    \"antipattern\": \"design-system-color\",\n    \"name\": \"Color outside DESIGN.md\",\n    \"description\": \"A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\",\n    \"severity\": \"advisory\",\n    \"category\": \"quality\",\n    \"file\": \"<WS>/src/inline.html\",\n    \"line\": 5,\n    \"snippet\": \"text color rgb(255, 0, 170) on p \\\"faint text\\\" is outside DESIGN.md colors\",\n    \"advisory\": true,\n    \"ignoreValue\": \"rgb(255, 0, 170)\"\n  },\n  {\n    \"antipattern\": \"design-system-font\",\n    \"name\": \"Font outside DESIGN.md\",\n    \"description\": \"A font is used that is not declared in DESIGN.md typography. Use the documented type system or update DESIGN.md if this is an intentional brand addition.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<WS>/src/inline.html\",\n    \"line\": 6,\n    \"snippet\": \"p \\\"x\\\" uses verdana; not declared in DESIGN.md typography\",\n    \"ignoreValue\": \"verdana\"\n  },\n  {\n    \"antipattern\": \"design-system-color\",\n    \"name\": \"Color outside DESIGN.md\",\n    \"description\": \"A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\",\n    \"severity\": \"advisory\",\n    \"category\": \"quality\",\n    \"file\": \"<WS>/src/inline.html\",\n    \"line\": 0,\n    \"snippet\": \"text color rgb(0, 0, 0) on p \\\"x\\\" is outside DESIGN.md colors\",\n    \"advisory\": true,\n    \"ignoreValue\": \"rgb(0, 0, 0)\"\n  }\n]\n",
  "stderr": "",
  "exit": 2,
  "signal": null,
  "files": {}
}