From 6fbc1adacefa9644a209dd408897cd138ae8a962 Mon Sep 17 00:00:00 2001 From: Roberto Redradix Date: Thu, 31 Aug 2023 20:14:31 +0200 Subject: [PATCH] chore(cli): fix whitespace after emoji in logs U+1F5BC FRAME WITH PICTURE requires appending a U+FE0F VARIATION SELECTOR-16 so that its emoji representation is forced. This causes terminal emulators to not reserve space for the next character. A hack consisting in using a U+00A0 NO-BREAK SPACE afterwards works, but copying the output and pasting it elsewhere will cause a double space. Replacing U+1F5BC FRAME WITH PICTURE with another emoji that doesn't have a textual representation like U+1F3A8 ARTIST PALETTE solves this. --- packages/penpot-css-export/src/lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/penpot-css-export/src/lib/index.ts b/packages/penpot-css-export/src/lib/index.ts index c66d61f..3a040ac 100644 --- a/packages/penpot-css-export/src/lib/index.ts +++ b/packages/penpot-css-export/src/lib/index.ts @@ -29,7 +29,7 @@ export async function generateCssFromConfig( fileId: fileConfig.fileId, }) - console.log('🖼️ Processing Penpot file: %s', penpotFile.fileName) + console.log('🎨 Processing Penpot file: %s', penpotFile.fileName) for (const colorsConfig of fileConfig.colors) { const cssClassDefinition: CSSClassDefinition = {