Skip to content

Instantly share code, notes, and snippets.

@alaestor
Last active March 24, 2025 20:01
Show Gist options
  • Select an option

  • Save alaestor/16061249b4c454a5a6ce53fbf28dc272 to your computer and use it in GitHub Desktop.

Select an option

Save alaestor/16061249b4c454a5a6ce53fbf28dc272 to your computer and use it in GitHub Desktop.
CSS theme that hides most of Discord's nonsense
/**
* @name 900 Annoyances
* @author Alaestor Weissman
* @version 0.5.0
* @description Removes junk I don't like
*/
[id = "cash-app-pay-container" ] ,
/* DM pane */
h2:has( [aria-label = "Start An Activity" ] ) ,
h2:has( [aria-label = "Start An Activity" ] ) ~ div,
li:has( [data-list-item-id $= "_nitro" ] ) ,
li:has( [data-list-item-id $= "_shop" ] ) ,
/* top bar */
[aria-label = "Help" ] ,
[aria-label *= "Video Call" ] ,
/* non-servers */
[aria-label = "Servers" ] ~ div,
[class ^= "footer_" ] ,
/* context */
[aria-label = "Edit Image with Apps" ] ,
[class *= "popoverReactionHover" ] ,
[id = "message-apps" ] ,
[id *= "message-add-confetti" ] ,
[id = "message-tts" ] ,
/* call */
[aria-label = "Play Activities here" ] ,
[class ^= "voiceEffectsActionBar_" ] ,
/* chatbox */
[aria-label = "Apps" ] ,
[aria-label = "Send a gift" ] ,
[aria-label = "Select emoji" ] ,
[aria-label = "Open sticker picker" ] ,
[aria-label = "Add Emoji Confetti" ] ,
[class ^= "channelAppLauncher" ] ,
[id = "channel-attach-THREAD" ] ,
/* settings > profiles */
[class ^= "upsellContainer_" ] ,
[class ^= "premium" ] ,
[class *= "nitro" ] ,
[id="profile-customization-tab"] > div:has([role="presentation"]),
/* settings tabs */
[aria-label = "Nitro" ] ,
[aria-label = "Subscriptions" ] ,
[aria-label = "Gift Inventory" ] ,
[aria-label = "Billing" ] ,
[aria-label = "Merch" ] ,
[class ^= "socialLinks" ] ,
/* unstable ... */
[aria-label = "User Settings"] > div:nth-child(21), /* spacer */
[aria-label = "User Settings"] > div:nth-child(22), /* billing */
[aria-label = "User Settings"] > div:nth-child(24), /* server boost */
[aria-label = "User Settings"] > div:nth-child(42), /* spacer */
[aria-label = "User Settings"] > div:nth-child(43), /* what's new */
[aria-label = "User Settings"] > div:nth-child(45) /* hype squad */
{display:none}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment