CapnKitten / Material-Discord

Material design theme for Discord
343 stars 153 forks source link

Theme broken with newer versions of Discord PTB #199

Closed MGThePro closed 5 months ago

MGThePro commented 6 months ago

Hello, unfortunately it seems like Discord broke the theme last night. With the theme enabled it now looks mostly like stock Discord with a few things broken like incorrect message spacing. As an example:

Screenshot_20240229_110651

This is with ptb 269740 with vencord 8ccd731 on linux

TailsFanLOL commented 6 months ago

Literally just wanted to say this (on canary), refreshed the page and this issue appeared 😅

TailsFanLOL commented 6 months ago

Before, @ 2024-02-24 21-53-10 UTC+2

After, @ 2024-02-29 12-06-52 UTC+2

Here's the comparison of before and after. The user bar also appears broken. Hovering over message's text shows their timestamps right on top of the message text (and no, "5 years ago" isn't the timestamp).

My QuickCSS:

@import url(https://capnkitten.github.io/BetterDiscord/Themes/Material-Discord/css/source.css);
@import url(https://capnkitten.github.io/BetterDiscord/Themes/Material-Discord/css/addons/icons/source.css);
@import url(https://capnkitten.github.io/BetterDiscord/Themes/Material-Discord/css/addons/custom-themes/source.css);

:root {
    --accent-hue: 224;
    --accent-saturation: 71%;
    --accent-lightness: 61%;
    --accent-text-color: #fff;
    --accent-button-action: #fff; /*    -   */

    --avatar-radius: 50%; /*    -   */

    --message-radius: 19px;
    --message-padding-top: 8px;
    --message-padding-side: 12px; /*    -   */

    --media-radius: 19px; /*    -   */

    --card-radius: 8px;
    --card-radius-big: 18px; /* -   */

    --popout-radius: 8px;
    --popout-radius-big: 18px;

    --app-font: "Roboto";
    --code-font: "MxPlus IBM VGA 9x16";

}
code {
    font-size: 16px !important;
}
CapnKitten commented 6 months ago

Switch to stable for now. The theme won't be updated for ptb or canary because they have updated class names and doing so would break stable.

TailsFanLOL commented 6 months ago

Снимок экрана в 2024-02-29 15-18-27 Update: this happened now

CapnKitten commented 6 months ago

I'm not going to touch canary or PTB until stable gets the same class names. Just switch over to stable.

MGThePro commented 6 months ago

Weirdly enough it..... works now, kind of?

The theme itself works but the colors are weirdly blue, here's a screenshot: Screenshot_20240305_095753

TailsFanLOL commented 6 months ago

For me it just started working again like 3 days ago but forgot to say here. I don't know what's up with the colors, thought.

CapnKitten commented 5 months ago

It was fixed the day of the discord update. You just needed to restart your discord.