Updated Complete Tailwindcss Classes

This commit is contained in:
2025-08-16 20:48:43 +05:30
parent e1c669ef5d
commit dd8a0cc9dc
234 changed files with 225 additions and 1181960 deletions
-20
View File
@@ -1,20 +0,0 @@
export const getDynamicIcon = async (name: string): Promise<string> => {
let icon = "";
let [prefix, iconName] = name.split(":");
const url = new URL(`../data/iconify/${prefix}.json`, import.meta.url);
try {
// @vite-ignore prevents pre-analysis of the dynamic path
const module: any = await import(/* @vite-ignore */ url.href);
icon = module.icons[iconName].body;
} catch {
await import(`../data/iconify/${prefix}.json`).then(module => {
icon = module.icons[iconName].body;
}).catch(error => {
console.error('Failed to load icon:', error);
});
}
return icon
}