(() => { /* @author Aetherinox @script Discord Theme: Retro Storm (Dark) @about Applies the discord theme "Retro Storm" to your interface. adds a new snippet to chrome dev-tools - launch discord - open dev-tools with CTRL + SHIFT + I - Click `sources` tab - On left side `Pages`, click arrow, select `Snippets` - Right-click in empty box, select `Create new Snippet` - Add code below */ const style = document.createElement( 'style' ); style.textContent = ` .custom-theme-background { --custom-theme-background: linear-gradient( 148.71deg, var( --bg-gradient-retro-storm-1 ) 5.64%, var( --bg-gradient-retro-storm-2 ) 26.38%, var( --bg-gradient-retro-storm-2 ) 49.92%, var( --bg-gradient-retro-storm-1 ) 73.12% ); --custom-theme-primary-color: #3a7ca1; --custom-theme-secondary-color: #3a7ca1; --custom-theme-base-color-amount: 50%; --custom-theme-text-color-amount: 38%; --custom-theme-base-color-light-hsl: 201.1764705882353 100% 90%; --custom-theme-base-color-light: rgb(204, 237, 255); --custom-theme-text-color-light: rgb(0, 82, 128); --custom-theme-base-color-dark-hsl: 203.07692307692307 100% 5.098039215686274%; --custom-theme-base-color-dark: rgb(0, 16, 26); --custom-theme-text-color-dark: rgb(153, 218, 255); } `; document.head.appendChild( style ); /* Add class to HTML tag */ const html = document.documentElement; html.classList.add( 'custom-theme-background' ); /* Make theme persistent using MutationObserver */ new MutationObserver(() => { if ( !html.classList.contains( 'custom-theme-background' ) ) { html.classList.add( 'custom-theme-background' ); } } ).observe( html, { attributes: true, attributeFilter: [ 'class' ] } ); return '✅ Applied Discord Theme: Retro Storm (Dark)'; } )();