Skip to content

Add automatic dark mode support and fix log window legibility#5

Merged
kc9wwh merged 2 commits into
release/v0.6.1from
dark-mode-support-256448717719057230
Dec 26, 2025
Merged

Add automatic dark mode support and fix log window legibility#5
kc9wwh merged 2 commits into
release/v0.6.1from
dark-mode-support-256448717719057230

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

This change introduces automatic dark mode support by detecting the system theme and applying appropriate color palettes. It refactors the hardcoded styles in init_ui into a dynamic apply_theme method that is triggered on startup and when the system palette changes. Specifically, it fixes the legibility issue in the log context window where text was unreadable in dark mode. It also updates dynamic banner creation to use the correct theme colors and includes minor linting fixes.


PR created automatically by Jules for task 256448717719057230 started by @kc9wwh

- Implement automatic system theme detection (Light/Dark mode)
- Refactor hardcoded stylesheets to dynamic `apply_theme` method
- Fix log context window contrast issues in Dark Mode
- Ensure banners and dynamic widgets respect the current theme
- Add `QEvent` import for palette change detection
- Fix linting issues (bare excepts and f-string usage)
@google-labs-jules
Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

@github-actions
Copy link
Copy Markdown

✅ Test Results

Status: Passed
Coverage: 52%

Test Summary

  • Linting: ✅ flake8 checks completed
  • Unit Tests: ✅ Passed
  • Build Verification: ✅ Passed
  • Signing & Notarization: ⏭️ Only on release (not tested in PRs)

View full workflow run


Last updated: Fri, 26 Dec 2025 19:34:53 GMT

@kc9wwh kc9wwh changed the base branch from main to release/v0.6.1 December 26, 2025 21:07
@kc9wwh kc9wwh marked this pull request as ready for review December 26, 2025 21:14
@kc9wwh kc9wwh merged commit 3618e54 into release/v0.6.1 Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant