ModuleBuilder/dist/module/Discord Revamp.js

3 lines
4.3 KiB
JavaScript
Raw Normal View History

parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"index.js":[function(require,module,exports) {
"use strict";function r(r,t,n,e,a,o,i){try{var c=r[o](i),d=c.value}catch(u){return void n(u)}c.done?t(d):Promise.resolve(d).then(e,a)}function t(t){return function(){var n=this,e=arguments;return new Promise(function(a,o){var i=t.apply(n,e);function c(t){r(i,a,o,c,d,"next",t)}function d(t){r(i,a,o,c,d,"throw",t)}c(void 0)})}}var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e={goosemodHandlers:{onImport:function(){var r=t(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:n=document.createElement("style"),document.head.appendChild(n),n.appendChild(document.createTextNode(' /**\n * @name Discord Revamp\n * @description A revamped discord based on discord\'s current website.\n * @author REDACATED#9999\n * @version 1.0.0\n * @authorId 431883840483491850\n * @website https://github.com/LuckFire/Discord-Revamp\n * @source https://raw.githubusercontent.com/LuckFire/Discord-Revamp/master/discordrevamp.theme.css\n */\n@import url("https://raw.githack.com/LuckFire/Discord-Revamp/master/src/source.css");\n@import url("https://raw.githack.com/LuckFire/CSS-Snippets/master/MoreRoundedBorders/borders.css");\n\n.theme-dark, \n.theme-light, \n:root {\n --background-primary: #292841 !important;\n --background-secondary: #242338 !important;\n --background-secondary-alt: #3c3a5e !important;\n --background-tertiary: #1c1b29 !important;\n --background-accent: #413f66 !important;\n --background-floating: #15141e !important;\n --background-modifier-hover: rgba(255,255,255,0.01) !important;\t\n --background-modifier-active: rgba(255,255,255,0.03) !important;\n --background-modifier-selected: rgba(255,255,255,0.04) !important;\t\n --background-modifier-accent: hsla(0,0%,100%,0.06) !important;\n --channeltextarea-background: var(--background-accent) !important;\n --deprecated-card-bg: rgba(0, 0, 0, 0.2) !important;\n --deprecated-card-editable-bg: rgba(0,0,0,0.1) !important;\n --deprecated-text-input-border-disabled: var(--background-tertiary) !important;\n --activity-card-background: var(--background-primary) !important;\n --channels-default: #9f9f9f !important;\n --text-muted: #b6b6b6 !important;\n --text-normal: #fbfbfb !important;\n --interactive-normal: #c8c8c8 !important;\n --interactive-hover: #dcddde !important;\n --interactive-active: #fff !important;\n --interactive-muted: #747474 !important;\n --header-secondary: #c9c9c9 !important;\n --toast-background: var(--background-primary) !important;\n --toast-header: var(--background-tertiary) !important;\n --toast-contents: var(--background-secondary) !important;\n --toast-box-shadow: rgba(0, 0, 0, .2) !important;\n --toast-border: var(--background-tertiary) !important;\n --offline-color: #444444 !important;\n}\n'));case 3:case"end":return r.stop()}},r)}));return function(){return r.apply(this,arguments)}}(),onRemove:function(){var r=t(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:n.remove();case 1:case"end":return r.stop()}},r)}));return function(){return r.apply(this,arguments)}}()}};exports.default=e;
},{}]},{},["index.js"], null);parcelRequire('index.js').default