-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor issues with CSS themes #302
Comments
The problem is, WebCord's injection method is quite uncommon and the way injected CSS is prioritized makes it far from being loaded ideally as in case of BD or Stylus. As WebCord does not mess up with HTML structure (i.e. no I might take a look at this theme, but please take a note I'm aware messing around my code could potentially break another themes, as |
@Anomalocaridid Actually I think something's wrong with the theme itself. Take a look at this part of the code at
|
Thanks a lot! I will make sure to pass on your fix to the theme maintainer. |
Aknowledgements
I have checked that there's no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.
I can confirm that this is not an issue with the Discord website,
but it is a problem specific to the WebCord itself. I have tested
if this bug occurs on Chromium/Chrome or any other Chromium-based
browser that uses unpatched/upstream Chromium engine.
I have tried running the build from the
master
branch and it doesnot have any fixes implemented according to my issue.
My issue describes one of the unstable and/or not fully implemented
features.
I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).
Operating System / Platform
🐧️ Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
20.0.3
Application version
v3.9.1
Bug description
When I try to use a certain CSS theme, a few elements are not styled properly. These include:
To reproduce:
webcord --add-css-theme
to add the themeAdditional context
I use the Sway version of EndeavourOS and I installed Webcord using the webcord-bin AUR package, which uses Webcord's Github release binaries. This issues also affects the webcord AUR package. I was unable to install the webcord-git AUR package because there appears to be some issue with dependency resolution.
Screenshot of Webcord using the theme:
![2022-10-30T14:17:22,274047202-04:00](https://user-images.githubusercontent.com/29845794/198894753-ca2e439f-9ae7-4ce4-81a6-2dd1174f1c87.png)
Screenshot of BetterDiscord using the same theme:
![2022-10-30T14:17:02,302791277-04:00](https://user-images.githubusercontent.com/29845794/198894751-7eea52b2-5fb6-4130-9406-63e4ef7174f4.png)
The text was updated successfully, but these errors were encountered: