ModuleBuilder/dist/module/Nord Theme/js

3 lines
2.8 KiB
Text
Raw Normal View History

2021-01-23 14:19:51 +00:00
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,n,e,t,o,a,c){try{var u=r[a](c),s=u.value}catch(i){return void e(i)}u.done?n(s):Promise.resolve(s).then(t,o)}function n(n){return function(){var e=this,t=arguments;return new Promise(function(o,a){var c=n.apply(e,t);function u(n){r(c,o,a,u,s,"next",n)}function s(n){r(c,o,a,u,s,"throw",n)}u(void 0)})}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e="1.0.0",t={gooseModHandlers:{onImport:function(){var r=n(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:(n=window.document.styleSheets[0]).insertRule("html > body.theme-nord {\n --background-primary: #2e3440;\n --background-secondary: #3b4252;\n --background-secondary-alt: #4c566a;\n --background-tertiary: #434c5e;\n\n --channeltextarea-background: #4c566a;\n --background-message-hover: rgba(4, 4, 5, 0.07);\n\n --background-accent: #434c5e;\n --background-floating: #4c566a;\n\n --scrollbar-thin-thumb: #5e81ac;\n --scrollbar-auto-thumb: #5e81ac;\n --scrollbar-auto-scrollbar-color-thumb: #5e81ac;\n\n --scrollbar-auto-track: #4c566a;\n --scrollbar-auto-scrollbar-color-track: #4c566a;\n\n --brand-color: #5e81ac;\n --brand-color-hover: #81a1c1;\n }",n.cssRules.length),document.body.classList.add("theme-nord");case 3:case"end":return r.stop()}},r)}));return function(){return r.apply(this,arguments)}}(),onRemove:function(){var r=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:document.body.classList.remove("theme-nord");case 1:case"end":return r.stop()}},r)}));return function(){return r.apply(this,arguments)}}()}};exports.default=t;
},{}]},{},["index.js"], null);parcelRequire('index.js').default