System them in macos with ghostty doesn't apply opacity #2658

Closed
opened 2026-02-16 17:36:38 -05:00 by yindo · 37 comments
Owner

Originally created by @osmel-bsport on GitHub (Nov 7, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

First of all thank you for the effort making opencode great. One regression I still see after system theme was shipped for the version 1.* is that it doesn't pick up the opacity at least in Ghostty.

OpenCode version

1.0.39

Steps to reproduce

  1. Open a ghostty terminal with config:
background-opacity = 0.9
background-blur-radius = 10
  1. Enter to opencode
  2. Select system theme

Screenshot and/or share link

Image

Operating System

mac os 26.0.1

Terminal

Ghostty

Originally created by @osmel-bsport on GitHub (Nov 7, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description First of all thank you for the effort making opencode great. One regression I still see after system theme was shipped for the version 1.* is that it doesn't pick up the opacity at least in Ghostty. ### OpenCode version 1.0.39 ### Steps to reproduce 1. Open a ghostty terminal with config: ``` background-opacity = 0.9 background-blur-radius = 10 ``` 3. Enter to opencode 4. Select system theme ### Screenshot and/or share link <img width="1919" height="1054" alt="Image" src="https://github.com/user-attachments/assets/12f92046-bab5-49bb-b77f-9aa60e3be3d8" /> ### Operating System mac os 26.0.1 ### Terminal Ghostty
yindo added the help-wantedopentuibug labels 2026-02-16 17:36:38 -05:00
yindo closed this issue 2026-02-16 17:36:38 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 7, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #1587: Both involve system theme not updating/applying properly and may require restart to work correctly

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 7, 2025): This issue might be a duplicate of existing issues. Please check: - #1587: Both involve system theme not updating/applying properly and may require restart to work correctly Feel free to ignore if none of these address your specific case.
Author
Owner

@seaweeduk commented on GitHub (Nov 7, 2025):

same issue with alacritty on Linux no background transparency, old system theme prior to 1.0 did not have this issue

@seaweeduk commented on GitHub (Nov 7, 2025): same issue with alacritty on Linux no background transparency, old system theme prior to 1.0 did not have this issue
Author
Owner

@FammasMaz commented on GitHub (Nov 7, 2025):

Same issue on ghostty on mac.

@FammasMaz commented on GitHub (Nov 7, 2025): Same issue on ghostty on mac.
Author
Owner

@jensenojs commented on GitHub (Nov 8, 2025):

how can i enable it after this issue fixed ? like @joshmedeski does on wezterm , I haven't seen setting in previous issues or pull requests.

Image
@jensenojs commented on GitHub (Nov 8, 2025): how can i enable it after this issue fixed ? like @joshmedeski does on wezterm , I haven't seen setting in previous issues or pull requests. <img width="977" height="726" alt="Image" src="https://github.com/user-attachments/assets/9af2d5f8-cf89-4121-a9be-0a249f342ca9" />
Author
Owner

@joshmedeski commented on GitHub (Nov 10, 2025):

The system theme was dropped when the opentui version was released, hopefully we can add it back soon.

@joshmedeski commented on GitHub (Nov 10, 2025): The system theme was dropped when the opentui version was released, hopefully we can add it back soon.
Author
Owner

@FammasMaz commented on GitHub (Nov 10, 2025):

Its already added now. Only the opacity is missing.

The system theme was dropped when the opentui version was released, hopefully we can add it back soon.

@FammasMaz commented on GitHub (Nov 10, 2025): Its already added now. Only the opacity is missing. > The system theme was dropped when the opentui version was released, hopefully we can add it back soon.
Author
Owner

@OfficialSerge commented on GitHub (Nov 11, 2025):

w fix, I saw this after fighting with opencode for a hot second. I'm on 1.0.46 and I've set my default theme to be that of my system.

{
  "$schema": "https://opencode.ai/config.json",
  "theme": "system"
}

Apparently this is all you have to do and it should respect the transparency values you've set in ~/.config/ghostty/config

@OfficialSerge commented on GitHub (Nov 11, 2025): w fix, I saw this after fighting with opencode for a hot second. I'm on `1.0.46` and I've set my default theme to be that of my system. ```json { "$schema": "https://opencode.ai/config.json", "theme": "system" } ``` Apparently this is all you have to do and it should respect the transparency values you've set in `~/.config/ghostty/config`
Author
Owner

@thdxr commented on GitHub (Nov 11, 2025):

wait so does it work?

@thdxr commented on GitHub (Nov 11, 2025): wait so does it work?
Author
Owner

@jensenojs commented on GitHub (Nov 11, 2025):

Image

no work in 1.0.58, wezterm

Image Image
@jensenojs commented on GitHub (Nov 11, 2025): <img width="1977" height="1130" alt="Image" src="https://github.com/user-attachments/assets/2d67ac33-1aa3-4874-b09b-6e71d70e3e26" /> no work in 1.0.58, wezterm <img width="1977" height="1130" alt="Image" src="https://github.com/user-attachments/assets/a73a4bab-1665-41a1-a6de-d5fa9f292a70" /> <img width="1044" height="383" alt="Image" src="https://github.com/user-attachments/assets/3bc3dfc8-9379-4145-979e-9ad406ec5573" />
Author
Owner

@khalid-talakshi commented on GitHub (Nov 11, 2025):

On ghostty 1.0.58 and it won't even respect my system theme on ghostty

@khalid-talakshi commented on GitHub (Nov 11, 2025): On ghostty 1.0.58 and it won't even respect my system theme on ghostty
Author
Owner

@Sawangg commented on GitHub (Nov 12, 2025):

Transparency is not working in the "foot" terminal using the following values and opencode's system theme

[colors]
foreground=#cdd6f4
background=#11111b
alpha=0.8

This results in an opaque background in opencode

@Sawangg commented on GitHub (Nov 12, 2025): Transparency is __not__ working in the "foot" terminal using the following values and opencode's system theme ``` [colors] foreground=#cdd6f4 background=#11111b alpha=0.8 ``` This results in an opaque background in opencode
Author
Owner

@jensenojs commented on GitHub (Nov 17, 2025):

@thdxr

https://github.com/sst/opencode/pull/4408#issue-3633037903

This fix looks like it resolved the issue. Please review it when you have time. Thank you for creating such a great product.


Before this PR is merged, you can temporarily use this theme as a substitute. move it to .config/opencode/themes, what it looks like

transparent.json

Image
@jensenojs commented on GitHub (Nov 17, 2025): @thdxr https://github.com/sst/opencode/pull/4408#issue-3633037903 This fix looks like it resolved the issue. Please review it when you have time. Thank you for creating such a great product. ---- Before this PR is merged, you can temporarily use this theme as a substitute. move it to `.config/opencode/themes`, what it looks like [transparent.json](https://github.com/user-attachments/files/23582067/transparent.json) <img width="1311" height="804" alt="Image" src="https://github.com/user-attachments/assets/98c504de-76b1-4b89-b771-f33f5227ca58" />
Author
Owner

@luweiCN commented on GitHub (Nov 18, 2025):

@thdxr

#4408 (comment)

This fix looks like it resolved the issue. Please review it when you have time. Thank you for creating such a great product.

Before this PR is merged, you can temporarily use this theme as a substitute. move it to .config/opencode/themes, what it looks like

transparent.json

Image

Found a new issue, the select item texts color use background color.

Image
@luweiCN commented on GitHub (Nov 18, 2025): > [@thdxr](https://github.com/thdxr) > > [#4408 (comment)](https://github.com/sst/opencode/pull/4408#issue-3633037903) > > This fix looks like it resolved the issue. Please review it when you have time. Thank you for creating such a great product. > > Before this PR is merged, you can temporarily use this theme as a substitute. move it to `.config/opencode/themes`, what it looks like > > [transparent.json](https://github.com/user-attachments/files/23582067/transparent.json) > > <img alt="Image" width="1311" height="804" src="https://private-user-images.githubusercontent.com/56761542/515156819-98c504de-76b1-4b89-b771-f33f5227ca58.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjM0NjcxMTgsIm5iZiI6MTc2MzQ2NjgxOCwicGF0aCI6Ii81Njc2MTU0Mi81MTUxNTY4MTktOThjNTA0ZGUtNzZiMS00Yjg5LWI3NzEtZjMzZjUyMjdjYTU4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTE4VDExNTMzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFiYzhkZDU0Y2RkMzA4NzdkMTVkNGNmNjhmYzliMjExNjExMmQ2MGZmOTI4OGE3YjA4YTM3MDY3M2E1NjVkZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.mFjDZppbYRoNjr76LK28K24YoDsISWxjULtvY_xoovc"> Found a new issue, the select item texts color use background color. <img width="758" height="303" alt="Image" src="https://github.com/user-attachments/assets/668ad509-8839-4bd6-9d88-0d63d914ce40" />
Author
Owner

@jensenojs commented on GitHub (Nov 18, 2025):

@thdxr
#4408 (comment)
This fix looks like it resolved the issue. Please review it when you have time. Thank you for creating such a great product.
Before this PR is merged, you can temporarily use this theme as a substitute. move it to .config/opencode/themes, what it looks like
transparent.json
Image

Found a new issue, the select item texts color use background color.

Image

@luweiCN

@jensenojs commented on GitHub (Nov 18, 2025): > > [@thdxr](https://github.com/thdxr) > > [#4408 (comment)](https://github.com/sst/opencode/pull/4408#issue-3633037903) > > This fix looks like it resolved the issue. Please review it when you have time. Thank you for creating such a great product. > > Before this PR is merged, you can temporarily use this theme as a substitute. move it to `.config/opencode/themes`, what it looks like > > [transparent.json](https://github.com/user-attachments/files/23582067/transparent.json) > > <img alt="Image" width="1311" height="804" src="https://private-user-images.githubusercontent.com/56761542/515156819-98c504de-76b1-4b89-b771-f33f5227ca58.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjM0NjcxMTgsIm5iZiI6MTc2MzQ2NjgxOCwicGF0aCI6Ii81Njc2MTU0Mi81MTUxNTY4MTktOThjNTA0ZGUtNzZiMS00Yjg5LWI3NzEtZjMzZjUyMjdjYTU4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTE4VDExNTMzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFiYzhkZDU0Y2RkMzA4NzdkMTVkNGNmNjhmYzliMjExNjExMmQ2MGZmOTI4OGE3YjA4YTM3MDY3M2E1NjVkZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.mFjDZppbYRoNjr76LK28K24YoDsISWxjULtvY_xoovc"> > > Found a new issue, the select item texts color use background color. > > <img alt="Image" width="758" height="303" src="https://private-user-images.githubusercontent.com/25150291/515705684-668ad509-8839-4bd6-9d88-0d63d914ce40.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjM0NzgwMTksIm5iZiI6MTc2MzQ3NzcxOSwicGF0aCI6Ii8yNTE1MDI5MS81MTU3MDU2ODQtNjY4YWQ1MDktODgzOS00YmQ2LTlkODgtMGQ2M2Q5MTRjZTQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTE4VDE0NTUxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEzNGMxYTVlNTJlN2NmNDgyNGVhN2Y1ZTk2ZTc5NWMxNWMxNTFkYjI0NDg5YWE0ZjJkMDU4YWVkZDVmZTgzODEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oWo0i3fJ_P5JP1hY3iyFqjexNq_Lmn3BGFpskL_OT-g"> - https://github.com/sst/opencode/pull/4408#issuecomment-3547003604 @luweiCN
Author
Owner

@rekram1-node commented on GitHub (Nov 18, 2025):

@luweiCN we fixed this you may just need to upgrade

@rekram1-node commented on GitHub (Nov 18, 2025): @luweiCN we fixed this you may just need to upgrade
Author
Owner

@luweiCN commented on GitHub (Nov 19, 2025):

@luweiCN we fixed this you may just need to upgrade

I just tried, problem is still there.What I found is the selected item text color use background as its color. When I set red as background color, the selected item text color is red too.In this case, I set transparent as background color. Should it be more reasonable to use a new option to set selected item text color, like adding a selectedItemTextColor option?

@luweiCN commented on GitHub (Nov 19, 2025): > [@luweiCN](https://github.com/luweiCN) we fixed this you may just need to upgrade I just tried, problem is still there.What I found is the selected item text color use `background` as its color. When I set red as background color, the selected item text color is red too.In this case, I set transparent as background color. Should it be more reasonable to use a new option to set selected item text color, like adding a `selectedItemTextColor` option?
Author
Owner

@osmel-bsport commented on GitHub (Nov 19, 2025):

The original problem still exist, while the 0.* works perfectly

this is a screenshot using the latest version:

Image
@osmel-bsport commented on GitHub (Nov 19, 2025): The original problem still exist, while the 0.* works perfectly this is a screenshot using the latest version: <img width="1916" height="1069" alt="Image" src="https://github.com/user-attachments/assets/e401a08a-5032-4982-8457-531a55f545ac" />
Author
Owner

@luweiCN commented on GitHub (Nov 19, 2025):

The original problem still exist, while the 0.* works perfectly

this is a screenshot using the latest version:

Image

I guess you did not change the theme config file, you need to set the background in the theme config file to transparent.Or you can use put this file transparent.json in ~/.config/opencode/themes, then start opencode /theme, and select transparent theme.
These internal themes are not transparent theme, so you need to add a custom transparent theme to use this feature

@luweiCN commented on GitHub (Nov 19, 2025): > The original problem still exist, while the 0.* works perfectly > > this is a screenshot using the latest version: > > <img alt="Image" width="1916" height="1069" src="https://private-user-images.githubusercontent.com/224598073/516154443-e401a08a-5032-4982-8457-531a55f545ac.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjM1NDc2NjUsIm5iZiI6MTc2MzU0NzM2NSwicGF0aCI6Ii8yMjQ1OTgwNzMvNTE2MTU0NDQzLWU0MDFhMDhhLTUwMzItNDk4Mi04NDU3LTUzMWE1NWY1NDVhYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUxMTE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MTExOVQxMDE2MDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yYTUwZWM2OTJjZDBkNDBmNjcwZDQ1M2JiZjg5MGI4ODkzZDc1MjYxZjFjZjBiN2NjNzFkOWYyNGEyMTRjNTliJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.2-Nye0RRUUJZZkWWKdlFyS-r5NA3-CLk-p7DOesIkfA"> I guess you did not change the theme config file, you need to set the `background` in the theme config file to `transparent`.Or you can use put this file [transparent.json](https://github.com/user-attachments/files/23582067/transparent.json) in `~/.config/opencode/themes`, then start opencode `/theme`, and select `transparent` theme. These internal themes are not transparent theme, so you need to add a custom transparent theme to use this feature
Author
Owner

@FammasMaz commented on GitHub (Nov 19, 2025):

Same issue...its still opaque for me on ghostty with transparency. I tried the transparent.json linked here but the colors are off and most text is unreadable meaning id have to create a custom theme only for now? it doesnt inherit the default color scheme of my terminal.

Image
@FammasMaz commented on GitHub (Nov 19, 2025): Same issue...its still opaque for me on ghostty with transparency. I tried the transparent.json linked here but the colors are off and most text is unreadable meaning id have to create a custom theme only for now? it doesnt inherit the default color scheme of my terminal. <img width="1104" height="691" alt="Image" src="https://github.com/user-attachments/assets/31a520f6-45a5-4e90-8c85-6213e3bf93fe" />
Author
Owner

@jensenojs commented on GitHub (Nov 20, 2025):

the pr was reverted because of

need to be fixed first

@osmel-bsport @FammasMaz

@jensenojs commented on GitHub (Nov 20, 2025): the pr was reverted because of - https://github.com/sst/opencode/issues/4369 need to be fixed first @osmel-bsport @FammasMaz
Author
Owner

@strk commented on GitHub (Nov 26, 2025):

wouldn't it be simpler for the default "theme" to not use colors at all ?

@strk commented on GitHub (Nov 26, 2025): wouldn't it be simpler for the default "theme" to not use colors at all ?
Author
Owner

@KeentGG commented on GitHub (Dec 3, 2025):

Same issue...its still opaque for me on ghostty with transparency. I tried the transparent.json linked here but the colors are off and most text is unreadable meaning id have to create a custom theme only for now? it doesnt inherit the default color scheme of my terminal.

Image

off topic but can you share the ghostty config to achieve that tabs UI?

@KeentGG commented on GitHub (Dec 3, 2025): > Same issue...its still opaque for me on ghostty with transparency. I tried the transparent.json linked here but the colors are off and most text is unreadable meaning id have to create a custom theme only for now? it doesnt inherit the default color scheme of my terminal. > > <img alt="Image" width="1104" height="691" src="https://private-user-images.githubusercontent.com/26380663/516213735-31a520f6-45a5-4e90-8c85-6213e3bf93fe.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjQ4MTQzNDMsIm5iZiI6MTc2NDgxNDA0MywicGF0aCI6Ii8yNjM4MDY2My81MTYyMTM3MzUtMzFhNTIwZjYtNDVhNS00ZTkwLThjODUtNjIxM2UzYmY5M2ZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjA0VDAyMDcyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzZjg1OTJkNGQxYTM0MzhmYzY5ZTFlNDFhNTM5NjFjYTFiNmJiMmJkZjQ5ZTE3YWRmODcwZWViZjY3YjBhNjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.TSklUUVfZDWyOpD0UWLt6Geu6ZY5XV8oXp1CatkyJUE"> off topic but can you share the ghostty config to achieve that tabs UI?
Author
Owner

@patrick91 commented on GitHub (Dec 4, 2025):

@KeentGG that's the mac os Tahoe tabs :)

@patrick91 commented on GitHub (Dec 4, 2025): @KeentGG that's the mac os Tahoe tabs :)
Author
Owner

@m4kamran commented on GitHub (Dec 5, 2025):

I can't even see the system theme on Ghostly (macOS) Tahoe.

@m4kamran commented on GitHub (Dec 5, 2025): I can't even see the system theme on Ghostly (macOS) Tahoe.
Author
Owner

@joshmedeski commented on GitHub (Dec 5, 2025):

@m4kamran you have to manually type it into your config, it doesn't show up on the list for me either.

@joshmedeski commented on GitHub (Dec 5, 2025): @m4kamran you have to manually type it into your config, it doesn't show up on the list for me either.
Author
Owner

@dylanellington commented on GitHub (Jan 7, 2026):

Iv been lurking on this ticket for awhile since I really want this change. I took a look at it and at least for the background its pretty easy to alter the generateSystem function to default bg to transparent while that leaves all other settings the same. But that is not a valid solution for the long term.

  • We cannot by default set a transparent background for the system.
  • OpenTui cannot reliably detect if a terminal is running a transparent or blurred setting. So we get no values back there to help at runtime for the system styling.
  • We cannot bundle a transparent theme as there are required options that would make it no longer system styled.

If all of those are true, you need a new settings file field for theme overrides that would smoothly allow for small tweaks like this to any system or bundled theme. And to me that is a clean approach to this which I believe Zed ide does as well.

I hope that at least we can spark more conversation here in this ticket and come to a decision on the right direction for a solution to this problem.

@dylanellington commented on GitHub (Jan 7, 2026): Iv been lurking on this ticket for awhile since I really want this change. I took a look at it and at least for the background its pretty easy to alter the generateSystem function to default bg to transparent while that leaves all other settings the same. But that is not a valid solution for the long term. - We cannot by default set a transparent background for the system. - OpenTui cannot reliably detect if a terminal is running a transparent or blurred setting. So we get no values back there to help at runtime for the system styling. - We cannot bundle a transparent theme as there are required options that would make it no longer system styled. If all of those are true, you need a new settings file field for theme overrides that would smoothly allow for small tweaks like this to any system or bundled theme. And to me that is a clean approach to this which I believe Zed ide does as well. I hope that at least we can spark more conversation here in this ticket and come to a decision on the right direction for a solution to this problem.
Author
Owner

@KeentGG commented on GitHub (Jan 7, 2026):

@KeentGG that's the mac os Tahoe tabs :)

oh thanks, i forgot i had it also but im using tmux instead of native tabs

@KeentGG commented on GitHub (Jan 7, 2026): > [@KeentGG](https://github.com/KeentGG) that's the mac os Tahoe tabs :) oh thanks, i forgot i had it also but im using tmux instead of native tabs
Author
Owner

@danaimone commented on GitHub (Jan 11, 2026):

Following as I'm also seeing this issue using Ghostty 1.2.3 on Tahoe 26.0 despite trying the system theme.

Image
@danaimone commented on GitHub (Jan 11, 2026): Following as I'm also seeing this issue using Ghostty 1.2.3 on Tahoe 26.0 despite trying the system theme. <img width="3520" height="2392" alt="Image" src="https://github.com/user-attachments/assets/02bea193-f639-4763-b13c-b93d3132c168" />
Author
Owner

@wybert commented on GitHub (Jan 13, 2026):

Not working with Warp terminal in Macos, I am using opencode v 1.1.15 and Warp v0.2026.01.07.08.13.stable_01

@wybert commented on GitHub (Jan 13, 2026): Not working with Warp terminal in Macos, I am using opencode v 1.1.15 and Warp v0.2026.01.07.08.13.stable_01
Author
Owner

@dylanellington commented on GitHub (Jan 14, 2026):

Iv been lurking on this ticket for awhile since I really want this change. I took a look at it and at least for the background its pretty easy to alter the generateSystem function to default bg to transparent while that leaves all other settings the same. But that is not a valid solution for the long term.

* We cannot by default set a transparent background for the system.

* OpenTui cannot reliably detect if a terminal is running a transparent or blurred setting. So we get no values back there to help at runtime for the system styling.

* We cannot bundle a transparent theme as there are required options that would make it no longer system styled.

If all of those are true, you need a new settings file field for theme overrides that would smoothly allow for small tweaks like this to any system or bundled theme. And to me that is a clean approach to this which I believe Zed ide does as well.

I hope that at least we can spark more conversation here in this ticket and come to a decision on the right direction for a solution to this problem.

@rekram1-node When you get time can you review my thoughts here so we can confirm whether or not we need a more detailed design and review to be in place to enhance theming as a whole in Opencode?

@dylanellington commented on GitHub (Jan 14, 2026): > Iv been lurking on this ticket for awhile since I really want this change. I took a look at it and at least for the background its pretty easy to alter the generateSystem function to default bg to transparent while that leaves all other settings the same. But that is not a valid solution for the long term. > > * We cannot by default set a transparent background for the system. > > * OpenTui cannot reliably detect if a terminal is running a transparent or blurred setting. So we get no values back there to help at runtime for the system styling. > > * We cannot bundle a transparent theme as there are required options that would make it no longer system styled. > > > If all of those are true, you need a new settings file field for theme overrides that would smoothly allow for small tweaks like this to any system or bundled theme. And to me that is a clean approach to this which I believe Zed ide does as well. > > I hope that at least we can spark more conversation here in this ticket and come to a decision on the right direction for a solution to this problem. @rekram1-node When you get time can you review my thoughts here so we can confirm whether or not we need a more detailed design and review to be in place to enhance theming as a whole in Opencode?
Author
Owner

@immortalt commented on GitHub (Jan 15, 2026):

Same issue on ghostty on mac.

@immortalt commented on GitHub (Jan 15, 2026): Same issue on ghostty on mac.
Author
Owner

@tusxxx commented on GitHub (Jan 25, 2026):

same
ghostty
macos

@tusxxx commented on GitHub (Jan 25, 2026): same ghostty macos
Author
Owner

@zhiyuanzhai commented on GitHub (Jan 30, 2026):

Same situation for iTerm2.app of macOS.

@zhiyuanzhai commented on GitHub (Jan 30, 2026): Same situation for iTerm2.app of macOS.
Author
Owner

@rodrigo-picanco commented on GitHub (Jan 30, 2026):

For anyone who might benefit from it, the lucent-orng has transparent set as background color.

Not a fix, but does the trick for me.

https://github.com/user-attachments/assets/f0badefa-325c-4502-ad04-2a6e30bdc0d6

I'm on 1.1.46, macOS Tahoe 26.2 and Ghostty 1.2.3

@rodrigo-picanco commented on GitHub (Jan 30, 2026): For anyone who might benefit from it, the `lucent-orng` has transparent set as background color. Not a fix, but does the trick for me. https://github.com/user-attachments/assets/f0badefa-325c-4502-ad04-2a6e30bdc0d6 I'm on 1.1.46, macOS Tahoe 26.2 and Ghostty 1.2.3
Author
Owner

@R44VC0RP commented on GitHub (Jan 30, 2026):

Why lucent-orng works but system doesn't:

lucent-orng sets background: transparent AND defines selectedListItemText with solid contrasting colors. The system theme can't do this—PR #4408 tried adding transparency but broke text contrast on selected items (#4369), so it was reverted.

Workarounds:

  1. Use lucent-orng theme
  2. Create a custom theme: copy lucent-orng.json to ~/.config/opencode/themes/, modify colors while keeping background: transparent and selectedListItemText defined

A proper fix needs a theme override system or a system-transparent variant.

@R44VC0RP commented on GitHub (Jan 30, 2026): **Why `lucent-orng` works but `system` doesn't:** `lucent-orng` sets `background: transparent` AND defines `selectedListItemText` with solid contrasting colors. The `system` theme can't do this—PR #4408 tried adding transparency but broke text contrast on selected items (#4369), so it was reverted. **Workarounds:** 1. Use `lucent-orng` theme 2. Create a custom theme: copy `lucent-orng.json` to `~/.config/opencode/themes/`, modify colors while keeping `background: transparent` and `selectedListItemText` defined A proper fix needs a theme override system or a `system-transparent` variant.
Author
Owner

@seaweeduk commented on GitHub (Jan 30, 2026):

A system-transparent variant would be nice. I just want the existing system theme with the old transparent background I had before opentui

@seaweeduk commented on GitHub (Jan 30, 2026): A system-transparent variant would be nice. I just want the existing system theme with the old transparent background I had before opentui
Author
Owner

@pablopunk commented on GitHub (Feb 2, 2026):

I didn't mention it here cause the PR is linked automatically but I've fixed this on https://github.com/anomalyco/opencode/pull/8467 (at least it did work for me locally using Ghostty)

@pablopunk commented on GitHub (Feb 2, 2026): I didn't mention it here cause the PR is linked automatically but I've fixed this on https://github.com/anomalyco/opencode/pull/8467 (at least it did work for me locally using Ghostty)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2658