)]}'
{
  "commit": "b20573fe8cecfdee987073e95e372c0076b81c2b",
  "tree": "d0cc12b5f2142c27ca2364d35b972112f97ef1bf",
  "parents": [
    "84fb7cc7cba29c54f94164275eff81c717bdc7cf"
  ],
  "author": {
    "name": "Awais Rehman",
    "email": "81323680+awaisdev5765@users.noreply.github.com",
    "time": "Thu Nov 05 22:38:25 2026 +0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Nov 05 09:38:25 2026 -0800"
  },
  "message": "Adjust ANSI colors in logs and console for theme legibility (#10060)\n\n* Adjust ANSI colors in logs and console for theme legibility\n\nANSI colors are fixed terminal colors, so some of them (e.g. ansi-black,\nansi-white, ansi-bright-white) are effectively invisible against the\ncorresponding light or dark themed background (see #6345).\n\ntextSpansFromAnsi now takes an optional background color, which all\nconsole/logging call sites pass as the theme surface. Foreground colors\nwhose contrast ratio against that background is below 3:1 are blended\ntoward black (on a light background) or white (on a dark background) to\nrestore legibility; sufficiently contrasting colors are left untouched.\nBackground ANSI colors are not adjusted since blending into the surface\ndoes not harm legibility.\n\nAdds unit tests for the contrast adjustment behavior.\n\nFixes #6345\n\n* Extract magic numbers in _adjustForContrast into named constants\n\nPer code review feedback and the DevTools style guide.\n\n* Add release note for ANSI color legibility improvements\n\n* Remove unnecessary import from utils.dart\n\n---------\n\nCo-authored-by: awaisdev5765 \u003cawaisdev5765@users.noreply.github.com\u003e\nCo-authored-by: Sam Rawlins \u003csam.rawlins@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ead7f9fa0c4c5d38ecdc2c0f5a62039aff674053",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/lib/src/screens/logging/_message_column.dart",
      "new_id": "23b63b2cad92b6087f24ad6ba442d5889cfb0618",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/lib/src/screens/logging/_message_column.dart"
    },
    {
      "type": "modify",
      "old_id": "7c2f36b922daf2c3a55891937c9633d5e3a04d60",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_instance_display.dart",
      "new_id": "f9fc8edbac8cd0234b37830f2e3b2b5559188fba",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_instance_display.dart"
    },
    {
      "type": "modify",
      "old_id": "53a8adca1f31e71918164a25f9b84cf669ce1058",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/lib/src/shared/console/console.dart",
      "new_id": "0a04528a62c25a85b604086fbff02cd3b9606283",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/lib/src/shared/console/console.dart"
    },
    {
      "type": "modify",
      "old_id": "b8d398b27d65ade434c9ab2ec506170f9496def5",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/lib/src/shared/console/widgets/display_provider.dart",
      "new_id": "ec3932dcf10aaf546ce8c66a45a62c813a9d951d",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/lib/src/shared/console/widgets/display_provider.dart"
    },
    {
      "type": "modify",
      "old_id": "e40cf699791f5f8edd9c888ea971d4d8881db297",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/lib/src/shared/primitives/utils.dart",
      "new_id": "10b90e3ac04771e3f52eda0f06a9b04929926672",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/lib/src/shared/primitives/utils.dart"
    },
    {
      "type": "modify",
      "old_id": "979b0ff2d03dc0f920a920e30bb9467ae63ae368",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md",
      "new_id": "86b2a491380b09ae5fbf216eea61d350bd756efd",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md"
    },
    {
      "type": "modify",
      "old_id": "98581e53e7e784bd87e2e81c9741a820773f94a4",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/test/shared/primitives/utils_test.dart",
      "new_id": "a1ad897899326fe887f81270bfffb88c7e888f11",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/test/shared/primitives/utils_test.dart"
    }
  ]
}
