diff --git a/scripts/generateChangedIconsCommentMarkup.mts b/scripts/generateChangedIconsCommentMarkup.mts index 20bdb0a4a..e1cc65cb0 100644 --- a/scripts/generateChangedIconsCommentMarkup.mts +++ b/scripts/generateChangedIconsCommentMarkup.mts @@ -134,7 +134,15 @@ const readyToUseCode = changedFiles const commentMarkup = `\ ### Added or changed icons -${changeFiles2pxStrokeImageTags} +${ + changedFiles.length >= 8 + ? `
+Icon X-rays +${changeFilesXRayImageTags} +
+` + : '' +}${changeFiles2pxStrokeImageTags}
Preview cohesion ${cohesionSquaresImageTags}
@@ -157,11 +165,15 @@ ${changeFilesLowDPIImageTags24} ${changeFilesLowDPIImageTags32}

48px (default + retina)

${changeFilesLowDPIImageTags48} -
+${ + changedFiles.length < 8 + ? `
Icon X-rays ${changeFilesXRayImageTags} -
+` + : '' +}
Icon Diffs ${changeFilesDiffImageTags}