fix(console): log container and text color for debug page in dark mode#3547
Conversation
|
Hi @bowenliang123, this is your 35th Pull Request. 🙌 Join Developer CommunityThanks so much for your contribution! We'd love to invite you to join the official QwenPaw developer group! You can find the Discord and DingTalk group links under the "Developer Community" section on our docs page: We truly appreciate your enthusiasm—and look forward to your future contributions! 😊 We'll review your PR soon. |
There was a problem hiding this comment.
Pull request overview
Adjusts Console Debug page styling so backend log output and related text remain readable in dark mode.
Changes:
- Move Debug log container border/background styling from inline styles into global CSS with dark-mode overrides.
- Add dark-mode styling for highlighted
<mark>matches inside the log container. - Add Debug path-specific class and dark-mode strong text color override.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
console/src/styles/layout.css |
Adds .debug-log-container styles and dark-mode overrides (container, <mark>, secondary typography, path label). |
console/src/pages/Debug/index.tsx |
Adds class hooks (debug-log-container, debug-log-path) and removes inline border/background for the log container. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@zhaozhuang521 Please help review this pr |

Description
[Describe what this PR does and why]
Related Issue: Fixes #(issue_number) or Relates to #(issue_number)
Security Considerations: [If applicable, e.g. channel auth, env/config handling]
Type of Change
Component(s) Affected
Checklist
pre-commit run --all-fileslocally and it passespytestor as relevant) and they passFor Channel Changes (DingTalk, Feishu, QQ, Console, etc.)
./scripts/check-channels.sh(or./scripts/check-channels.sh --changed) and it passestests/contract/channels/test_<channel>_contract.py(REQUIRED)create_instance()with proper channel initializationtests/contract/channels/__init__.py)tests/unit/channels/test_<channel>.pyfor complex internal logicTesting
[How to test these changes]
Local Verification Evidence
Additional Notes
[Optional: any other context]