/* ------------------------------------ * Harmony Hues主题 * * @author 星语社长 * @link https://biibii.cn * @update 2024-12-17 14:00:04 * --------------------------------- */ 'use strict'; const svgs = { python: ``, shell: ``, php: ``, html: ``, css: ``, js: ``, vue: ``, mysql: ``, windows: ``, ubuntu: ``, centos: ``, debian: ``, docker: ``, chatgpt: ``, wps: ``, ps: ``, git: ``, vscode: ``, ansible: ``, fanqie: ``, douyin: ``, zhihu: ``, bilibili: ``, jianli: ``, bosszp: ``, zhilianzp: ``, baiducloud: ``, quarkcloud: ``, aliyuncloud: ``, lanzoucloud: ``, "360cloud": ``, weiyuncloud: ``, ctfilecloud: ``, githubcloud: ``, defaultcloud: ``, }; function showSvg() { $("[data-svg]").each(function () { const $this = $(this); const viewBox = $this.attr("data-viewbox"); const svgClass = $this.attr("data-class"); const svgName = $this.attr("data-svg"); const svgHtml = `${svgs[svgName]}`; $this.html(svgHtml); }); } (function () { let svgSymbols = ''; for (const key in svgs) { if (svgs.hasOwnProperty(key) && svgs[key]) { svgSymbols += `${svgs[key]}`; } } const svgIcons = ``; if (!$('svg#svg-icons').length) { $('body').prepend(svgIcons); } })();