GooseMod / OpenAsar

Open-source alternative of Discord desktop's app.asar
https://openasar.dev
GNU Affero General Public License v3.0
2.54k stars 67 forks source link

Questions about CSS theming #102

Closed k2helix closed 2 years ago

k2helix commented 2 years ago

Hi, I have a few questions regarding the CSS theming.

Where is CSS stored (path)? Can OpenAsar use a theme that has more than one file?

Thanks in advance

CanadaHonk commented 2 years ago

There isn't a CSS file but it's inside your settings.json (%appdata%\discord\settings.json for Windows, in ~/.config for Linux). You can compile a theme, you probably want to find a .theme.css.

k2helix commented 2 years ago

I see, and how can I compile a .scss theme which has more than one file?

CanadaHonk commented 2 years ago

You can probably look it up for how to do it depending on your system or ask the author if they are free.