-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Trasparency/opacity should not be a part of the theme. #4740
Comments
Since #3067, you can inherit any theme and unset the # ~/.config/helix/themes/dracula_transparent.toml
inherits = "dracula"
"ui.background" = {} I don't like the idea of adding an extra config option for this. |
This is the first thing I ran into with setting up helix because I have tmux changing the background for the active pane. We could add the equivalent of base16_transparent.toml for every theme instead, but at that point why not support global overrides? |
This suggestion does not work for some reason. First the file is only detected if it is not Then the failure is "Invalid theme: 'ui.selection` required". Probably like #2247 OS - OpenBSD 7.2, helix is installed from a repo. These are the standard OS patches from the stock source - https://github.com/openbsd/ports/tree/master/editors/helix/patches
|
Ah yeah, that's a typo, it should be under Theme inheritance is a new feature in 22.12 but you're running on 22.08.1. It looks like OpenBSD ports hasn't updated to 22.12 yet: https://repology.org/project/helix/versions |
Alright, thanks. In that case I will attempt to just copy a theme and edit
it. Thanks.
…On Fri 9 Dec 2022, 17:25 Michael Davis, ***@***.***> wrote:
Ah yeah, that's a typo, it should be under ~/.config/helix/themes. I'll
edit the original post.
Theme inheritance is a new feature in 22.12 but you're running on 22.08.1.
It looks like OpenBSD ports hasn't updated to 22.12 yet:
https://repology.org/project/helix/versions
—
Reply to this email directly, view it on GitHub
<#4740 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKZGIE3O7OPHJKN6WJHULTWMNTRZANCNFSM6AAAAAAR7SS4EU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Is there a way to get the transparency value from the terminal environment and apply it automatically to the background colour of whichever theme is active? |
AFAIK there isn't a cross-terminal way to figure out how the terminal opacity is configured. Even if we could find out, there's no way to tell the terminal how opaque to draw a background color: all colors are solid. The way that transparency works for themes like |
@the-mikedavis overriding a theme is good but it is hard to move between the themes while keeping the overrides. Helix's way of making changing themes so easy is great but cannot be used if the user override things. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
It should be a separate setting that could be applied to any theme, instead of creating transparent version like
base16_transparent
. Otherwise users have to customize every single theme if they want to try it on transparent terminal.The text was updated successfully, but these errors were encountered: