Skip to content

Commit

Permalink
fix: opaque background
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed May 31, 2022
1 parent 1add049 commit 0a68f84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/components/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ onMounted(() => {
line-height: 1.2;
overflow: hidden;
transition: background 0.2s;
&.is-opaque {
background: rgb(var(--theme-background));
}
&.is-vibrancy {
background: transparent;
}
Expand All @@ -178,5 +175,8 @@ onMounted(() => {
flex-direction: column;
width: 0;
background: rgb(var(--theme-background) / var(--theme-opacity));
.app.is-opaque & {
background: rgb(var(--theme-background));
}
}
</style>

0 comments on commit 0a68f84

Please sign in to comment.