Measure Canva logo placeholders and add slot-based logo placement
scripts/logo/measure-placeholders rasterises the Canva PDFs and measures each logo placeholder's ink box and density into slots.generated.ts. The new placement contains the logo in the measured box, shrinks denser logos by up to 30 percent to match visual weight, picks knockout or a white chip on dark surfaces, and passes an identity test per template. A contact sheet compares each placeholder with the Test Vendor logo and three test logos.
This commit is contained in:
+3
-1
@@ -16,7 +16,9 @@
|
||||
"app:build:windows": "tauri build --runner cargo-xwin --target x86_64-pc-windows-msvc --features custom-protocol",
|
||||
"app:build:windows:offline": "tauri build --runner cargo-xwin --target x86_64-pc-windows-msvc --features custom-protocol --config '{\"bundle\":{\"windows\":{\"webviewInstallMode\":{\"type\":\"offlineInstaller\"}}}}'",
|
||||
"fonts:verify": "node scripts/fonts/verify.mjs",
|
||||
"fonts:manifest": "node scripts/fonts/build-manifest.mjs"
|
||||
"fonts:manifest": "node scripts/fonts/build-manifest.mjs",
|
||||
"logo:measure": "node scripts/logo/measure-placeholders.mjs",
|
||||
"logo:sheet": "node scripts/logo/contact-sheet.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@carbon/icons-react": "^11.89.0",
|
||||
|
||||
Reference in New Issue
Block a user