(() => { /* @author Aetherinox @script Discord Theme: Forest (Dark) @about Applies the discord theme "Forest" 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( 162.27deg, var( --bg-gradient-forest-1 ) 11.2%, var( --bg-gradient-forest-2 ) 29.93%, var( --bg-gradient-forest-3 ) 48.64%, var( --bg-gradient-forest-4 ) 67.85%, var( --bg-gradient-forest-5 ) 83.54% ); --custom-theme-primary-color: #142215; --custom-theme-secondary-color: #a98e4b; --custom-theme-base-color-amount: 50%; --custom-theme-text-color-amount: 38%; --custom-theme-base-color-light-hsl: 42.35294117647058 100% 90%; --custom-theme-base-color-light: rgb(255, 240, 204); --custom-theme-text-color-light: rgb(0, 77, 6); --custom-theme-base-color-dark-hsl: 124.61538461538463 100% 5.098039215686274%; --custom-theme-base-color-dark: rgb(0, 26, 2); --custom-theme-text-color-dark: rgb(255, 248, 229); } `; 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: Forest (Dark)'; } )();