Fix dark-mode contrast in foreach documentation examples
Merged
CA
32m ago+7+7+0123456789-3-3-0123456789
The foreach documentation uses fixed light backgrounds and black grid borders, leaving the todo text unreadable and number-cell borders difficult to see in dark mode. Use theme colors for the backgrounds, text, and borders so both examples follow the active color mode.
Validation
- Built and inspected the production docs preview in dark mode.
- Existing foreach docgen regression check passes (
test_docgen_double_eval.py -k foreach). - Ruff lint, formatting, and
git diff --checkpass.
Before and after
| Before | After |
|---|---|
Closes ENG-13556.