Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sassdoc-theme-alix

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sassdoc-theme-alix - npm Package Compare versions

Comparing version 0.3.31 to 0.4.0

2

assets/static/js/docs.js

@@ -1,1 +0,1 @@

function getFileName(){var e="https://rawgit.com/ffoodd/a11y.css/master/css/",t="a11y-",n=document.getElementById("language").value||"en",a=document.getElementById("minimum-level").value||"advice",o=".css";return a="advice"!==a?"_"+a:"",e+t+n+a+o}function getBookmarkletContent(){return["javascript:","(function(){",'a11ycss=document.createElement("LINK");','a11ycss.href="'+getFileName()+'";','a11ycss.rel="stylesheet";','a11ycss.media="(min-width: 800px)";',"document.body.appendChild(a11ycss);","})();"].join("")}function activeAnchor(e){var e=e||document.getElementById("toc"),t=e.getElementsByTagName("a");for(i=0;i<t.length;i++)document.location.href.indexOf(t[i].href)>=0&&t[i].classList.add("active-test")}function handleTocClick(e){var t=e.target,n=document.querySelector(".active-test");n&&n.removeAttribute("class"),"a"===t.tagName.toLowerCase()&&t.classList.add("active-test")}function handleFormSubmit(e){e.preventDefault();var t=document.getElementById("bookmarklet--link");t.setAttribute("href",getBookmarkletContent()),t.classList.add("done")}function handleFormChange(){var e=document.getElementById("bookmarklet--link");e.classList.remove("done")}document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("bookmarklet");e&&(e.addEventListener("submit",handleFormSubmit),e.addEventListener("change",handleFormChange));var t=document.getElementById("toc");t&&(t.addEventListener("click",handleTocClick),activeAnchor(t))});
function getFileName(){var e=document.getElementById("language").value||"en",t=document.getElementById("minimum-level").value||"advice";return"https://ffoodd.github.io/a11y.css/css/a11y-"+e+(t="advice"!==t?"_"+t:"")+".css"}function getBookmarkletContent(){return["javascript:","(function(){",'a11ycss=document.createElement("LINK");','a11ycss.href="'+getFileName()+'";','a11ycss.rel="stylesheet";','a11ycss.media="all";',"document.body.appendChild(a11ycss);","})();"].join("")}function activeAnchor(e){var t=(e=e||document.getElementById("toc")).getElementsByTagName("a");for(i=0;i<t.length;i++)0<=document.location.href.indexOf(t[i].href)&&t[i].classList.add("active-test")}function handleTocClick(e){var t=e.target,n=document.querySelector(".active-test");n&&n.removeAttribute("class"),"a"===t.tagName.toLowerCase()&&t.classList.add("active-test")}function handleFormSubmit(e){e.preventDefault();var t=document.getElementById("bookmarklet--link");t.setAttribute("href",getBookmarkletContent()),t.classList.add("done")}function handleFormChange(){document.getElementById("bookmarklet--link").classList.remove("done")}document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("bookmarklet");e&&(e.addEventListener("submit",handleFormSubmit),e.addEventListener("change",handleFormChange));var t=document.getElementById("toc");t&&(t.addEventListener("click",handleTocClick),activeAnchor(t))});

@@ -1,1 +0,1 @@

var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-(\w+)\b/i,t=0,n=_self.Prism={util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):"Array"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e){var t=n.util.type(e);switch(t){case"Object":var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]=n.util.clone(e[r]));return a;case"Array":return e.map&&e.map(function(e){return n.util.clone(e)})}return e}},languages:{extend:function(e,t){var a=n.util.clone(n.languages[e]);for(var r in t)a[r]=t[r];return a},insertBefore:function(e,t,a,r){r=r||n.languages;var s=r[e];if(2==arguments.length){a=arguments[1];for(var i in a)a.hasOwnProperty(i)&&(s[i]=a[i]);return s}var l={};for(var o in s)if(s.hasOwnProperty(o)){if(o==t)for(var i in a)a.hasOwnProperty(i)&&(l[i]=a[i]);l[o]=s[o]}return n.languages.DFS(n.languages,function(t,n){n===r[e]&&t!=e&&(this[t]=l)}),r[e]=l},DFS:function(e,t,a,r){r=r||{};for(var s in e)e.hasOwnProperty(s)&&(t.call(e,s,e[s],a||s),"Object"!==n.util.type(e[s])||r[n.util.objId(e[s])]?"Array"!==n.util.type(e[s])||r[n.util.objId(e[s])]||(r[n.util.objId(e[s])]=!0,n.languages.DFS(e[s],t,s,r)):(r[n.util.objId(e[s])]=!0,n.languages.DFS(e[s],t,null,r)))}},plugins:{},highlightAll:function(e,t){var a={callback:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",a);for(var r,s=a.elements||document.querySelectorAll(a.selector),i=0;r=s[i++];)n.highlightElement(r,e===!0,a.callback)},highlightElement:function(t,a,r){for(var s,i,l=t;l&&!e.test(l.className);)l=l.parentNode;l&&(s=(l.className.match(e)||[,""])[1],i=n.languages[s]),t.className=t.className.replace(e,"").replace(/\s+/g," ")+" language-"+s,l=t.parentNode,/pre/i.test(l.nodeName)&&(l.className=l.className.replace(e,"").replace(/\s+/g," ")+" language-"+s);var o=t.textContent,u={element:t,language:s,grammar:i,code:o};if(!o||!i)return void n.hooks.run("complete",u);if(n.hooks.run("before-highlight",u),a&&_self.Worker){var g=new Worker(n.filename);g.onmessage=function(e){u.highlightedCode=e.data,n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,r&&r.call(u.element),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},g.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=n.highlight(u.code,u.grammar,u.language),n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,r&&r.call(t),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},highlight:function(e,t,r){var s=n.tokenize(e,t);return a.stringify(n.util.encode(s),r)},tokenize:function(e,t){var a=n.Token,r=[e],s=t.rest;if(s){for(var i in s)t[i]=s[i];delete t.rest}e:for(var i in t)if(t.hasOwnProperty(i)&&t[i]){var l=t[i];l="Array"===n.util.type(l)?l:[l];for(var o=0;o<l.length;++o){var u=l[o],g=u.inside,c=!!u.lookbehind,p=!!u.greedy,d=0,f=u.alias;u=u.pattern||u;for(var h=0;h<r.length;h++){var m=r[h];if(r.length>e.length)break e;if(!(m instanceof a)){u.lastIndex=0;var y=u.exec(m),v=1;if(!y&&p&&h!=r.length-1){var b=r[h+1].matchedStr||r[h+1],k=m+b;if(h<r.length-2&&(k+=r[h+2].matchedStr||r[h+2]),u.lastIndex=0,y=u.exec(k),!y)continue;var w=y.index+(c?y[1].length:0);if(w>=m.length)continue;var P=y.index+y[0].length,_=m.length+b.length;if(v=3,_>=P){if(r[h+1].greedy)continue;v=2,k=k.slice(0,_)}m=k}if(y){c&&(d=y[1].length);var w=y.index+d,y=y[0].slice(d),P=w+y.length,S=m.slice(0,w),x=m.slice(P),B=[h,v];S&&B.push(S);var O=new a(i,g?n.tokenize(y,g):y,f,y,p);B.push(O),x&&B.push(x),Array.prototype.splice.apply(r,B)}}}}}return r},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var r,s=0;r=a[s++];)r(t)}}},a=n.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.matchedStr=a||null,this.greedy=!!r};if(a.stringify=function(e,t,r){if("string"==typeof e)return e;if("Array"===n.util.type(e))return e.map(function(n){return a.stringify(n,t,e)}).join("");var s={type:e.type,content:a.stringify(e.content,t,r),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:r};if("comment"==s.type&&(s.attributes.spellcheck="true"),e.alias){var i="Array"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(s.classes,i)}n.hooks.run("wrap",s);var l="";for(var o in s.attributes)l+=(l?" ":"")+o+'="'+(s.attributes[o]||"")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'" '+l+">"+s.content+"</"+s.tag+">"},!_self.document)return _self.addEventListener?(_self.addEventListener("message",function(e){var t=JSON.parse(e.data),a=t.language,r=t.code,s=t.immediateClose;_self.postMessage(n.highlight(r,n.languages[a],a)),s&&_self.close()},!1),_self.Prism):_self.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(n.filename=r.src,document.addEventListener&&!r.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",n.highlightAll)),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\w\W]*?>)[\w\W]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag)),!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/((\$[-_\w]+)|(#\{\$[-_\w]+\}))/i,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s+)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s]+.*)/m,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,delete e.languages.sass.selector,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*)\S(?:,?[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,?[^,\r\n]+)*)*/,lookbehind:!0}})}(Prism),Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\w\W]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)*url(?=\()/i,selector:{pattern:/(?=\S)[^@;\{\}\(\)]?([^@;\{\}\(\)]|&|#\{\$[-_\w]+\})+(?=\s*\{(\}|\s|[^\}]+(:|\{)[^\}]+))/m,inside:{placeholder:/%[-_\w]+/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","property",{variable:/\$[-_\w]+|#\{\$[-_\w]+\}/}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-_\w]+/,alias:"selector"},statement:/\B!(?:default|optional)\b/i,"boolean":/\b(?:true|false)\b/,"null":/\bnull\b/,operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss);
var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var u=/\blang(?:uage)?-(\w+)\b/i,t=0,O=_self.Prism={util:{encode:function(e){return e instanceof l?new l(e.type,O.util.encode(e.content),e.alias):"Array"===O.util.type(e)?e.map(O.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e){switch(O.util.type(e)){case"Object":var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=O.util.clone(e[n]));return t;case"Array":return e.map&&e.map(function(e){return O.util.clone(e)})}return e}},languages:{extend:function(e,t){var n=O.util.clone(O.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(n,e,t,a){var r=(a=a||O.languages)[n];if(2==arguments.length){for(var s in t=e)t.hasOwnProperty(s)&&(r[s]=t[s]);return r}var i={};for(var l in r)if(r.hasOwnProperty(l)){if(l==e)for(var s in t)t.hasOwnProperty(s)&&(i[s]=t[s]);i[l]=r[l]}return O.languages.DFS(O.languages,function(e,t){t===a[n]&&e!=n&&(this[e]=i)}),a[n]=i},DFS:function(e,t,n,a){for(var r in a=a||{},e)e.hasOwnProperty(r)&&(t.call(e,r,e[r],n||r),"Object"!==O.util.type(e[r])||a[O.util.objId(e[r])]?"Array"!==O.util.type(e[r])||a[O.util.objId(e[r])]||(a[O.util.objId(e[r])]=!0,O.languages.DFS(e[r],t,r,a)):(a[O.util.objId(e[r])]=!0,O.languages.DFS(e[r],t,null,a)))}},plugins:{},highlightAll:function(e,t){var n={callback:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};O.hooks.run("before-highlightall",n);for(var a,r=n.elements||document.querySelectorAll(n.selector),s=0;a=r[s++];)O.highlightElement(a,!0===e,n.callback)},highlightElement:function(e,t,n){for(var a,r,s=e;s&&!u.test(s.className);)s=s.parentNode;s&&(a=(s.className.match(u)||[,""])[1],r=O.languages[a]),e.className=e.className.replace(u,"").replace(/\s+/g," ")+" language-"+a,s=e.parentNode,/pre/i.test(s.nodeName)&&(s.className=s.className.replace(u,"").replace(/\s+/g," ")+" language-"+a);var i=e.textContent,l={element:e,language:a,grammar:r,code:i};if(i&&r)if(O.hooks.run("before-highlight",l),t&&_self.Worker){var o=new Worker(O.filename);o.onmessage=function(e){l.highlightedCode=e.data,O.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,n&&n.call(l.element),O.hooks.run("after-highlight",l),O.hooks.run("complete",l)},o.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else l.highlightedCode=O.highlight(l.code,l.grammar,l.language),O.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,n&&n.call(e),O.hooks.run("after-highlight",l),O.hooks.run("complete",l);else O.hooks.run("complete",l)},highlight:function(e,t,n){var a=O.tokenize(e,t);return l.stringify(O.util.encode(a),n)},tokenize:function(e,t){var n=O.Token,a=[e],r=t.rest;if(r){for(var s in r)t[s]=r[s];delete t.rest}e:for(var s in t)if(t.hasOwnProperty(s)&&t[s]){var i=t[s];i="Array"===O.util.type(i)?i:[i];for(var l=0;l<i.length;++l){var o=i[l],u=o.inside,g=!!o.lookbehind,c=!!o.greedy,p=0,d=o.alias;o=o.pattern||o;for(var h=0;h<a.length;h++){var f=a[h];if(a.length>e.length)break e;if(!(f instanceof n)){o.lastIndex=0;var m=1;if(!(P=o.exec(f))&&c&&h!=a.length-1){var y=a[h+1].matchedStr||a[h+1],b=f+y;if(h<a.length-2&&(b+=a[h+2].matchedStr||a[h+2]),o.lastIndex=0,!(P=o.exec(b)))continue;if((w=P.index+(g?P[1].length:0))>=f.length)continue;var v=P.index+P[0].length,k=f.length+y.length;if(m=3,v<=k){if(a[h+1].greedy)continue;m=2,b=b.slice(0,k)}f=b}if(P){g&&(p=P[1].length);v=(w=P.index+p)+(P=P[0].slice(p)).length;var w,P,_=f.slice(0,w),S=f.slice(v),x=[h,m];_&&x.push(_);var B=new n(s,u?O.tokenize(P,u):P,d,P,c);x.push(B),S&&x.push(S),Array.prototype.splice.apply(a,x)}}}}}return a},hooks:{all:{},add:function(e,t){var n=O.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=O.hooks.all[e];if(n&&n.length)for(var a,r=0;a=n[r++];)a(t)}}},l=O.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.matchedStr=a||null,this.greedy=!!r};if(l.stringify=function(t,n,e){if("string"==typeof t)return t;if("Array"===O.util.type(t))return t.map(function(e){return l.stringify(e,n,t)}).join("");var a={type:t.type,content:l.stringify(t.content,n,e),tag:"span",classes:["token",t.type],attributes:{},language:n,parent:e};if("comment"==a.type&&(a.attributes.spellcheck="true"),t.alias){var r="Array"===O.util.type(t.alias)?t.alias:[t.alias];Array.prototype.push.apply(a.classes,r)}O.hooks.run("wrap",a);var s="";for(var i in a.attributes)s+=(s?" ":"")+i+'="'+(a.attributes[i]||"")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'" '+s+">"+a.content+"</"+a.tag+">"},!_self.document)return _self.addEventListener&&_self.addEventListener("message",function(e){var t=JSON.parse(e.data),n=t.language,a=t.code,r=t.immediateClose;_self.postMessage(O.highlight(a,O.languages[n],n)),r&&_self.close()},!1),_self.Prism;var e=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return e&&(O.filename=e.src,document.addEventListener&&!e.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",O.highlightAll)),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\w\W]*?>)[\w\W]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag)),function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/((\$[-_\w]+)|(#\{\$[-_\w]+\}))/i,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s+)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s]+.*)/m,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,delete e.languages.sass.selector,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*)\S(?:,?[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,?[^,\r\n]+)*)*/,lookbehind:!0}})}(Prism),Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\w\W]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)*url(?=\()/i,selector:{pattern:/(?=\S)[^@;\{\}\(\)]?([^@;\{\}\(\)]|&|#\{\$[-_\w]+\})+(?=\s*\{(\}|\s|[^\}]+(:|\{)[^\}]+))/m,inside:{placeholder:/%[-_\w]+/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","property",{variable:/\$[-_\w]+|#\{\$[-_\w]+\}/}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-_\w]+/,alias:"selector"},statement:/\B!(?:default|optional)\b/i,boolean:/\b(?:true|false)\b/,null:/\bnull\b/,operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss);

@@ -69,3 +69,3 @@ {

},
"shortcutIcon": "http://ffoodd.github.io/a11y.css/static/favicon.ico"
"shortcutIcon": "https://ffoodd.github.io/a11y.css/static/favicon.ico"
}

@@ -41,3 +41,3 @@ 'use strict';

// CSS
gulp.task('css', ['sass'], function () {
gulp.task('css', gulp.series('sass', function () {
return gulp.src(destination + '/**/*.css')

@@ -47,3 +47,3 @@ .pipe(plumber({errorHandler: onError}))

.pipe(gulp.dest(destination));
});
}));

@@ -50,0 +50,0 @@ // Watch: build

function getFileName () {
var base = 'https://rawgit.com/ffoodd/a11y.css/master/css/';
var base = 'https://ffoodd.github.io/a11y.css/css/';
var prefix = 'a11y-';

@@ -20,9 +20,9 @@ var lang = document.getElementById('language').value || 'en';

'javascript:',
'(function(){',
'a11ycss=document.createElement("LINK");',
'a11ycss.href="' + getFileName() + '";',
'a11ycss.rel="stylesheet";',
'a11ycss.media="(min-width: 800px)";',
'document.body.appendChild(a11ycss);',
'})();'
'(function(){',
'a11ycss=document.createElement("LINK");',
'a11ycss.href="' + getFileName() + '";',
'a11ycss.rel="stylesheet";',
'a11ycss.media="all";',
'document.body.appendChild(a11ycss);',
'})();'
].join('');

@@ -29,0 +29,0 @@ }

@@ -5,3 +5,3 @@ {

"description": "SassDoc theme for a11y.css",
"version": "0.3.31",
"version": "0.4.0",
"keywords": [

@@ -12,3 +12,3 @@ "sassdoc-theme"

"name": "Gaël Poupard",
"url": "http://www.ffoodd.fr",
"url": "https://www.ffoodd.fr",
"email": "gael@ffoodd.fr"

@@ -25,4 +25,4 @@ },

"dependencies": {
"extend": "^1.0.0",
"nunjucks": "^2.4.1",
"extend": "^3.0.2",
"nunjucks": "^3.1.4",
"sassdoc-extras": "^2.0.0"

@@ -34,11 +34,11 @@ },

"devDependencies": {
"fs-extra": "^0.26.7",
"fs-promise": "^0.5.0",
"gulp": "~3.9.0",
"fs-extra": "^7.0.1",
"fs-promise": "^2.0.3",
"gulp": "^4.0.0",
"gulp-autoprefixer": "latest",
"gulp-plumber": "latest",
"gulp-sass": "^2.2.0",
"gulp-uglify": "^1.5.3",
"gulp-sass": "^4.0.2",
"gulp-uglify": "^3.0.1",
"gulp-util": "latest"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc