flaming-icons
Version:
Complete icon library with tree-shaking support for Vue and Vuetify
30 lines (28 loc) • 1.47 kB
JavaScript
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=`
@font-face {
font-family: 'flaming-icons';
src: url('data:font/woff2;base64,') format('woff2');
font-weight: normal;
font-style: normal;
font-display: block;
}
.flaming-icon {
font-family: 'flaming-icons';
font-style: normal;
font-weight: 400;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: 'liga';
}
`,o={home:'.flaming-icon-home:before { content: "\\e000"; }',search:'.flaming-icon-search:before { content: "\\e001"; }',settings:'.flaming-icon-settings:before { content: "\\e002"; }',edit:'.flaming-icon-edit:before { content: "\\e003"; }',delete:'.flaming-icon-delete:before { content: "\\e004"; }',"user-profile":'.flaming-icon-user-profile:before { content: "\\e005"; }'};function l(n){const e=n.map(f=>o[f]).filter(Boolean).join(`
`);return t+`
`+e}function c(){return t+`
`+Object.values(o).join(`
`)}function i(n){if(typeof document>"u")return;const e=document.createElement("style");e.textContent=n,document.head.appendChild(e)}function a(n){const e=l(n);i(e)}function r(){const n=c();i(n)}exports.CSS_BASE=t;exports.CSS_ICONS=o;exports.getAllCSS=c;exports.getIconCSS=l;exports.injectCSS=i;exports.loadAllCSS=r;exports.loadIconCSS=a;