Skip to content

Commit

Permalink
Fix bg image addon
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Oct 22, 2023
1 parent e9988d2 commit bbf77d6
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions addon/xp-bg-image.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,26 @@
--xp-bg-addon-lumInternal: var(--xp-bg-addon-luminosity, 100%);
}

.theme-dark, .theme-light {
--background-primary: hsla(0,0%,var(--xp-bg-addon-lumInternal, 0%),var(--xp-bg-addon-opacity, 0.4));
--background-secondary: hsla(0,0%,var(--xp-bg-addon-lumInternal, 0%),var(--xp-bg-addon-opacity, 0.4));
--background-tertiary: hsla(0,0%,var(--xp-bg-addon-lumInternal, 0%),var(--xp-bg-addon-opacity, 0.4));
--channeltextarea-background: hsla(0,0%,var(--xp-bg-addon-lumInternal, 0%),var(--xp-bg-addon-opacity, 0.2));
--home-background: hsla(0,0%,var(--xp-bg-addon-lumInternal, 0%),var(--xp-bg-addon-opacity, 0.4));
--scrollbar-auto-track: hsla(0,0%,var(--xp-bg-addon-lumInternal, 0%),var(--xp-bg-addon-opacity, 0.4));
--scrollbar-auto-thumb: hsla(0,0%,var(--xp-bg-addon-lumInternal, 0%),calc(var(--xp-bg-addon-opacity, 0.4)*2));
.theme-dark,
.theme-light {
--background-primary: hsla(0, 0%, var(--xp-bg-addon-lumInternal, 0%), var(--xp-bg-addon-opacity, 0.4));
--background-secondary: hsla(0, 0%, var(--xp-bg-addon-lumInternal, 0%), var(--xp-bg-addon-opacity, 0.4));
--background-tertiary: hsla(0, 0%, var(--xp-bg-addon-lumInternal, 0%), var(--xp-bg-addon-opacity, 0.4));
--channeltextarea-background: hsla(0, 0%, var(--xp-bg-addon-lumInternal, 0%), var(--xp-bg-addon-opacity, 0.2));
--home-background: hsla(0, 0%, var(--xp-bg-addon-lumInternal, 0%), var(--xp-bg-addon-opacity, 0.4));
--scrollbar-auto-track: hsla(0, 0%, var(--xp-bg-addon-lumInternal, 0%), var(--xp-bg-addon-opacity, 0.4));
--scrollbar-auto-thumb: hsla(0, 0%, var(--xp-bg-addon-lumInternal, 0%), calc(var(--xp-bg-addon-opacity, 0.4) * 2));
}

.container-2cd8Mz,
.pageWrapper-2PwDoS,
.pageWrapper-eg3-6i,
.scroller-RfJjkV,
.applicationStore-2nk7Lo,
.standardSidebarView-E9Pc3j,
.chat-2ZfjoI {
.chat-9g_3Xj {
background: var(--xp-bg-addon-image, url(https://saltssaumure.github.io/xp-discord-theme/img/bliss.avif)) center/cover;
}
}

.form-3qe0Ni::before {
display: none;
}

0 comments on commit bbf77d6

Please sign in to comment.