Skip to content

Commit

Permalink
feat: tabs: make discarded tab opacity editable (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
valadaptive authored Mar 29, 2024
1 parent 518ac69 commit 857e8dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/styles/themes/proton/sidebar/tab.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 857e8dd

Please sign in to comment.