Skip to content

TP-26 — Sync custom window chrome with active theme #121

Description

@ZhuchkaTriplesix

Epic: E
Depends on: TP-17

Source: docs/theme-parser-github-issues.md

Goal

Ensure title bar / window controls follow custom theme background/canvas.

Files

  • lib/main.dart
  • lib/features/main_screen/main_screen.dart
  • any title bar/window button widgets.

Implementation

Find where bitsdojo_window title area and window controls are styled.

Use:

  • QueryaThemeScope.of(context).workbench.canvas
  • QueryaThemeScope.of(context).workbench.surface
  • QueryaThemeScope.of(context).workbench.mutedForeground

Avoid:

  • direct singleton reads inside deep widgets when inherited theme is available;
  • app-wide notify on hover.

Acceptance Criteria

  • Switching theme updates title bar background.
  • Window buttons remain readable.
  • Hover states use theme tokens.

Tests

  • Widget test if title bar is testable.
  • Otherwise manual smoke checklist in PR body:
    • dark;
    • light;
    • custom dark;
    • custom light.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bitsdojoTheme parser epic label: bitsdojofrontendTheme parser epic label: frontendthemeTheming, colors, VS Code themes

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions