Trasparency/opacity should not be a part of the theme. #10223
Replies: 8 comments 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
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.Beta Was this translation helpful? Give feedback.
All reactions