-
Notifications
You must be signed in to change notification settings - Fork 960
fix(desktop): restore COLORFGBG env var and mosaic theme for light mode #1235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Kitenite
merged 10 commits into
main
from
kitenite/fix-opencode-theme-light-mode-displaying
Feb 13, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0604cfc
fix(desktop): restore COLORFGBG env var and mosaic theme for light mode
Kitenite e61fd8c
Other fix
Kitenite bf97749
Merge remote-tracking branch 'origin' into kitenite/fix-opencode-them…
Kitenite 2db373d
Use hook based approach
Kitenite 0b8de2c
Fix
Kitenite f62d39a
Deslop
Kitenite f58c16f
Merge remote-tracking branch 'origin' into kitenite/fix-opencode-them…
Kitenite a2d039d
merge main
Kitenite 615ac89
Lint
Kitenite 976193b
chore(desktop): remove broken terminal stream test
Kitenite File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
323 changes: 0 additions & 323 deletions
323
apps/desktop/src/lib/trpc/routers/terminal/terminal.stream.test.ts
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: superset-sh/superset
Length of output: 120
🏁 Script executed:
Repository: superset-sh/superset
Length of output: 280
🏁 Script executed:
Repository: superset-sh/superset
Length of output: 122
🏁 Script executed:
Repository: superset-sh/superset
Length of output: 707
🏁 Script executed:
# Read theme-type.ts to check the function signature and defaults cat -n apps/desktop/src/lib/trpc/routers/terminal/theme-type.tsRepository: superset-sh/superset
Length of output: 1260
🏁 Script executed:
Repository: superset-sh/superset
Length of output: 1419
🏁 Script executed:
Repository: superset-sh/superset
Length of output: 1051
🏁 Script executed:
Repository: superset-sh/superset
Length of output: 2887
🏁 Script executed:
Repository: superset-sh/superset
Length of output: 7746
🏁 Script executed:
Repository: superset-sh/superset
Length of output: 19732
systemPrefersDarkis not passed toresolveTerminalThemeType— "system" theme in the fallback path will always default to dark.When the renderer doesn't send
themeTypeand the persisted theme is"system", the function defaultssystemPrefersDarktotrue, resolving to"dark". While the normal path sendsthemeTypefrom the renderer, the fallback (cold restore or missing themeType) needs to detect the actual OS preference. Use Electron'snativeTheme.shouldUseDarkColorsin the main process:Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents