flaming-icons
Version:
Complete icon library with tree-shaking support for Vue and Vuetify
42 lines (34 loc) • 1.37 kB
TypeScript
/**
* CSS/Font version of flaming-icons
* Provides icon fonts and CSS classes for smaller bundles
*/
export declare const CSS_BASE = "\n@font-face {\n font-family: 'flaming-icons';\n src: url('data:font/woff2;base64,') format('woff2');\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n\n.flaming-icon {\n font-family: 'flaming-icons';\n font-style: normal;\n font-weight: 400;\n line-height: 1;\n text-transform: none;\n letter-spacing: normal;\n word-wrap: normal;\n white-space: nowrap;\n direction: ltr;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n font-feature-settings: 'liga';\n}\n";
export declare const CSS_ICONS: {
home: string;
search: string;
settings: string;
edit: string;
delete: string;
'user-profile': string;
};
/**
* Get all CSS
*/
export declare function getAllCSS(): string;
/**
* Get CSS for specific icons
*/
export declare function getIconCSS(iconNames: string[]): string;
/**
* Inject CSS into document head
*/
export declare function injectCSS(css: string): void;
/**
* Load all icon CSS
*/
export declare function loadAllCSS(): void;
/**
* Load CSS for specific icons
*/
export declare function loadIconCSS(iconNames: string[]): void;
export { }