mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-16 14:18:29 +00:00
feat(ci): adds dpi preview for 16, 32 and 48px (#3048)
* feat(ci): adds dpi preview for 18, 32 and 48px * Update DPI preview from 18px to 16px * Consolidate DPI preview sections in markup
This commit is contained in:
@@ -73,11 +73,26 @@ const changeFiles3pxStrokeImageTags = getImageTagsByFiles(
|
||||
() => `${BASE_URL}/stroke-width/3`,
|
||||
).join('');
|
||||
|
||||
const changeFilesLowDPIImageTags = getImageTagsByFiles(
|
||||
const changeFilesLowDPIImageTags16 = getImageTagsByFiles(
|
||||
changedFiles,
|
||||
() => `${BASE_URL}/dpi/16`,
|
||||
).join(' ');
|
||||
|
||||
const changeFilesLowDPIImageTags24 = getImageTagsByFiles(
|
||||
changedFiles,
|
||||
() => `${BASE_URL}/dpi/24`,
|
||||
).join(' ');
|
||||
|
||||
const changeFilesLowDPIImageTags32 = getImageTagsByFiles(
|
||||
changedFiles,
|
||||
() => `${BASE_URL}/dpi/32`,
|
||||
).join(' ');
|
||||
|
||||
const changeFilesLowDPIImageTags48 = getImageTagsByFiles(
|
||||
changedFiles,
|
||||
() => `${BASE_URL}/dpi/48`,
|
||||
).join(' ');
|
||||
|
||||
const changeFilesXRayImageTags = getImageTagsByFiles(
|
||||
changedFiles,
|
||||
(file) => {
|
||||
@@ -126,8 +141,15 @@ ${changeFiles2pxStrokeImageTags}<br/>
|
||||
${changeFiles3pxStrokeImageTags}<br/>
|
||||
</details>
|
||||
<details>
|
||||
<summary>DPI Preview (24px)</summary>
|
||||
${changeFilesLowDPIImageTags}<br/>
|
||||
<summary>DPI Preview</summary>
|
||||
<h4>16px (shadcn/ui)</h4>
|
||||
${changeFilesLowDPIImageTags16}
|
||||
<h4>24px (default)</h4>
|
||||
${changeFilesLowDPIImageTags24}
|
||||
<h4>32px (shadcn/ui + retina)</h4>
|
||||
${changeFilesLowDPIImageTags32}
|
||||
<h4>48px (default + retina)</h4>
|
||||
${changeFilesLowDPIImageTags48}
|
||||
</details>
|
||||
<details>
|
||||
<summary>Icon X-rays</summary>
|
||||
|
||||
Reference in New Issue
Block a user