fix(theme): appearance setting now reaches the overlay + macOS title bar - #1659
Conversation
364a2eb to
4361e7d
Compare
|
Are all of the changes explicitly needed? I believe the ones not related to the overlay are not You can try the build on main to verify this. I would rather not add code, I know it's defensive in a way but I think it might be uncecessary on macOS |
|
Good question, and no, they're not all the same thing. Splitting them: Overlay (needed). The macOS title bar (the bit you're asking about). This one is a widened Where I think you're right to poke at it: on macOS Happy either way though. I can drop those two lines and keep this PR purely about the overlay, then raise the title bar separately with before/after shots so you can judge it on its own merits. Just say which you'd prefer. Separately, I've pushed a small fix: |
|
Ugh I fucking hate reading AI generated text. Why even ask questions, it's hopeless. I just want a HUMAN RESPONSE I'm not asking about the code. I'm asking about before and after testing. I don't want assumptions, I want testing. I want a human to validate. I want to be able to pick up a review with confidence before I even build the PR locally. But I guess I just have to wade through nonsense. I should just shut my mouth and review on my own. This is useless |
The [data-theme] override blocks lived in App.css, which only the settings window loads. RecordingOverlay.css imports styles/theme.css alone, so the overlay never saw them and followed prefers-color-scheme instead. Move the blocks into theme.css, apply the stored theme in the overlay before render, and emit a theme-changed event so it updates live. Widen apply_window_theme from Windows-only to Windows and macOS. The main window is built with default decorations, so on macOS AppKit paints the title bar from NSApp.effectiveAppearance regardless of what the webview does. System clears the override so both follow the OS again.
b4cbe62 to
3446410
Compare
|
@cjpais Thank you CJ and sorry again. I will be more careful the next time I reply to you. |




Before Submitting This PR
Please confirm you have done the following:
Human Written Description
After I added the appearance selector in #1599 and started using it day to day, I noticed the setting only looked half-applied: the recording overlay kept following my OS theme instead of the option I'd picked, and on macOS the window title bar stayed white even with Dark selected. It bothered me that the app didn't move as one, so I traced why the overlay and the native chrome weren't picking up the choice and fixed both so the whole thing stays consistent.
Related Issues/Discussions
Follow-up to #1599 (Light / Dark / System appearance selector).
Community Feedback
Bug fix / follow-up to a merged PR — no separate discussion. This corrects two gaps left by #1599.
Testing
Manual, macOS:
theme-changedevent).bun run lint,tsc --noEmit, andcargo fmt --checkall clean. (Rust not compiled locally in this pass.)Screenshots/Videos (if applicable)
AI Assistance
If AI was used: