Skip to content

Instantly share code, notes, and snippets.

@Tropix126
Last active September 3, 2021 20:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tropix126/f3b463945d6ae67beddd3e50d33656ee to your computer and use it in GitHub Desktop.
Save Tropix126/f3b463945d6ae67beddd3e50d33656ee to your computer and use it in GitHub Desktop.
redGuilds Fix
//META{"name":"redGuilds","description":"Changes the guilds background to red","author":"Jiiks","version":"1.0"}*//
.guilds-1SWlCJ .scroller-2TZvBN {
background:red;
}
@axyiee
Copy link

axyiee commented Mar 24, 2020

A better way:

:root {
	--server-list-color: red;
}

.scroller-2TZvBN, .da-guilds, .da-expandedFolderBackground {
	background: var(--server-list-color);
}

@Tropix126
Copy link
Author

You don't need to use variables if their is literally only one thing changed lol. Also, combining normalized classes with standard classes will both mess with compatibility and is generally bad practice. Either it works or it doesn't.

@rauenzi
Copy link

rauenzi commented Apr 8, 2020

Also scroller-2TZvBN isn't necessarily exclusive to the guild-list so this would have unintended consequences.

@TheDevMinerTV
Copy link

Prepare for unforeseen consequences if you do this 😉

@3xnn
Copy link

3xnn commented Sep 3, 2021

Decrepitated once again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment