CapnKitten / Material-Discord

Material design theme for Discord
356 stars 153 forks source link

Add transparent background #200

Closed BLACK4585 closed 8 months ago

BLACK4585 commented 8 months ago

Hey, I really like your theme! The only thing I wish would exist is a transparent, blurry background. I tried to mix the right CSS in from https://github.com/mwittrien/BetterDiscordAddons/tree/master/Themes/BasicBackground and https://github.com/FeoreV/Themes/blob/e07d6bfc3ce663865ae650eb58b5901d8a8d1109/Discord/Release/FVUI.theme.css#L51, especially the MICA Version but I didn't manage to do it. Is this a possible thing?

sorae42 commented 8 months ago

Enable Transparency in BetterDiscord Settings > Window Preferences and make changes to the CSS that it allows passthrough.

BLACK4585 commented 8 months ago

Yes, I'm aware of the first point. But I don't know what needs to be done to enable it. That's why I opened this issue.

CapnKitten commented 8 months ago

The theme is already setup for a fully transparent Discord window. It's just the app background that you need to change to transparent.

:root {
  --app-bg: transparent;
}
BLACK4585 commented 8 months ago

grafik This is the result in Vencord. Is this because of Vencord, an update by discord which broke sth or one of this addons? grafik

sorae42 commented 8 months ago

Try doing this on BetterDiscord and see if it works.