docs(packages/lucide-static): update docs for better clarity (#3225)

* docs(packages/lucide-static): update docs for better clarity

* docs(packages/lucide-static): fix node.js heading level
This commit is contained in:
Karsa
2025-06-24 13:18:07 +02:00
committed by GitHub
parent 87a67cc314
commit a87ac013f7
2 changed files with 115 additions and 69 deletions

View File

@@ -1,5 +1,4 @@
import { bundledLanguages, type ThemeRegistration } from 'shikiji';
import { getHighlighter } from 'shikiji';
import { bundledLanguages, getHighlighter, type ThemeRegistration } from 'shikiji';
type CodeExampleType = {
title: string;
@@ -102,13 +101,8 @@ import { LucideAngularModule, $PascalCase } from 'lucide-angular';
},
{
language: 'html',
title: 'Icon Font',
code: `<style>
@import ('~lucide-static/font/Lucide.css');
</style>
<div class="icon-$Name"></div>
`,
title: 'Icon font',
code: `<div class="icon-$Name"></div>`,
},
];
};