From 857e8dda6798e7c9ff5fdfa6faae6876a9970164 Mon Sep 17 00:00:00 2001 From: valadaptive <79560998+valadaptive@users.noreply.github.com> Date: Fri, 29 Mar 2024 01:02:56 -0400 Subject: [PATCH] feat: tabs: make discarded tab opacity editable (#1553) --- src/styles/themes/proton/sidebar/tab.styl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/styles/themes/proton/sidebar/tab.styl b/src/styles/themes/proton/sidebar/tab.styl index 3d9c549d..79a251bb 100644 --- a/src/styles/themes/proton/sidebar/tab.styl +++ b/src/styles/themes/proton/sidebar/tab.styl @@ -19,6 +19,8 @@ --tabs-activated-shadow: var(--active-el-shadow) --tabs-color-layer-opacity: .2 --tabs-activated-color-layer-opacity: .3 + --tabs-discarded-favicon-opacity: .32 + --tabs-discarded-title-opacity: .56 #root[data-density="compact"] --tabs-pinned-height: 28px --tabs-pinned-width: 28px @@ -98,10 +100,10 @@ background-color: var(--frame-bg) &[data-discarded="true"] > .body > .fav - opacity: .32 + opacity: var(--tabs-discarded-favicon-opacity) &[data-discarded="true"] > .body > .t-box &[data-discarded="true"] > .body > .ctx - opacity: .56 + opacity: var(--tabs-discarded-title-opacity) &[data-pin="true"] width: var(--tabs-pinned-width)