TakosThings / Metro-for-Discord

Make your Discord client look like a UWP app.
154 stars 31 forks source link

Squire icons Discord #225

Closed ThatEvilGuy-237 closed 3 years ago

ThatEvilGuy-237 commented 3 years ago

Squire Discord code

(control+shift+i in DC --> comand)

My frend and I mad this code to get a squire discord. (icons and online icon.) It works like 90% correctly but there are weird visual bugs with it. (bug displayed below.) CODE:

(function() {
    var style = document.createElement('style');
    style.type = 'text/css';
    style.id = 'squarify';
    style.innerHTML = 'body * { border-radius:0 !important; } .removedmaskding { display: none !important; }';
    document.getElementsByTagName('head')[0].appendChild(style);

    var masks = document.getElementsByTagName('mask');
    var maskarray = Array.prototype.slice.call(masks);
    maskarray.forEach(function(item) {
        if (!item.classList.contains('removedmaskding')) {
            item.classList.add('removedmaskding');
        }
    });
})();

PHOTO disocord

As you can see there are some issues with it and we can't figure it out.

bug dc

So i ask you guys to help us out to get the SQUIRE DISCORD AND MAKE IT GREAT AGAIN!!!

plis.