FilipLitwora / pywal-discord

🎨 A script that dynamically generates discord theme based on the current wal colorscheme
GNU General Public License v3.0
157 stars 14 forks source link

css not applying to Discord unless renaming variables #2

Closed Jeppefs closed 4 years ago

Jeppefs commented 4 years ago

Hi,

The css generated by this tool does not change Discord (Beautiful Discord). I found out that the generated css does not match the names of the Discord css. For example, --background color will take effects after renaming it to --background-primary. This is problematic, since I have to rename all the css variables every time i apply a new theme.

Is this is intentional? Am I missing something?

abou123 commented 4 years ago

So far, this project has been made to support BetterDiscord and EnhancedDiscord, Beautiful Discord support could certainly be added in, I imagine

blueforesticarus commented 4 years ago

Why would the css be different for beautifuld iscord and better discord, don't both of them just load the css into the electron app?

FilipLitwora commented 4 years ago

I don't get how Beautiful Discord works, if you are more experienced, feel free to contribute

Jeppefs commented 4 years ago

So far, this project has been made to support BetterDiscord and EnhancedDiscord, Beautiful Discord support could certainly be added in, I imagine

That is completely fair. I do not use BetterDiscord since I've heard it has security issues, since it allows for javascripts and Beautiful Discord does not.

FilipLitwora commented 4 years ago

@Jeppefs please try now, I think it should work