Skip to content

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

JavaScript
4.9 KB
Raw Blame
{
  "stdout": "[\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-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    \"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/page.html\",\n    \"line\": 0,\n    \"snippet\": \"3.6:1 (need 4.5:1) — text #ff00aa on #ffffff\"\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/page.html\",\n    \"line\": 3,\n    \"snippet\": \"div \\\"Hi\\\" 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/page.html\",\n    \"line\": 0,\n    \"snippet\": \"text color rgb(0, 0, 0) on div \\\"Hi\\\" is outside DESIGN.md colors\",\n    \"advisory\": true,\n    \"ignoreValue\": \"rgb(0, 0, 0)\"\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/page.html\",\n    \"line\": 4,\n    \"snippet\": \"p \\\"Brand\\\" uses inter; not declared in DESIGN.md typography\",\n    \"ignoreValue\": \"inter\"\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/page.html\",\n    \"line\": 6,\n    \"snippet\": \"text color rgb(255, 0, 170) on p \\\"Off palette\\\" is outside DESIGN.md colors\",\n    \"advisory\": true,\n    \"ignoreValue\": \"rgb(255, 0, 170)\"\n  },\n  {\n    \"antipattern\": \"bounce-easing\",\n    \"name\": \"Bounce or elastic easing\",\n    \"description\": \"Bounce and elastic easing feel dated and tacky. Real objects decelerate smoothly — use exponential easing (ease-out-quart/quint/expo) instead.\",\n    \"severity\": \"advisory\",\n    \"category\": \"slop\",\n    \"file\": \"<WS>/src/styles.css\",\n    \"line\": 1,\n    \"snippet\": \"cubic-bezier(0.68, -0.55, 0.265, 1.55)\",\n    \"advisory\": true\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/styles.css\",\n    \"line\": 2,\n    \"snippet\": \"Undocumented color rgba(99, 102, 241, 0.6) is outside DESIGN.md colors\",\n    \"advisory\": true,\n    \"ignoreValue\": \"rgba(99, 102, 241, 0.6)\"\n  }\n]\n",
  "stderr": "",
  "exit": 2,
  "signal": null,
  "files": {}
}