Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Old colors are not applied in certain cases (overrided by Discord) #84

Open
Kiki79250CoC opened this issue Aug 28, 2022 · 1 comment
Open

Comments

@Kiki79250CoC
Copy link

I know it's ""semi-abandoned"", but I post this anyway, as the fix seems to be pretty simple to deploy if the dev wants to fix it one day.


As the title says, the old colors are not applied because they're overrided by another Discord color set.

Buttons with old color (Firefox) and new ones:
image

View of the values when "Leave server" button text is selected in devtool:
image

The only workaround I see for the moment is to use that awful "!important" marker on the incrimined lines.

For the "Invite" button, I'm not sure if this is because i'm familiarized with the "new" color without remarking it, so maybe this issue is not valid for the "Blurple" colors set.

@Kiki79250CoC Kiki79250CoC changed the title Old colors are not applied in cerain cases (overrided by Discord) Old colors are not applied in certain cases (overrided by Discord) Aug 28, 2022
@Kiki79250CoC
Copy link
Author

Kiki79250CoC commented Aug 28, 2022

The workaround:

.theme-dark, .theme-light {
  /* Revert new green to old color */
  --info-positive-foreground: var(--old-green);
  --status-positive-background: var(--old-green);
  --text-positive: var(--old-green);

  /* Revert new red to old color */
  --text-danger: var(--old-red);
  --info-danger-foreground: var(--old-red);
  --status-danger-background: var(--old-red);
}
.colorDanger-3n-KnP.focused-3qFvc8 {
    background-color: var(--old-red);
    color: #ffffff;
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant