From b26a0d6c6eb2cbfcd06c558392035b25f0b1b909 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Wed, 14 Feb 2024 15:39:47 +0100 Subject: [PATCH] fix: improve init choice design (#2314) Before: Screenshot 2024-02-14 at 15 33 41 After: Screenshot 2024-02-14 at 15 33 09 --- init.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init.ts b/init.ts index 9a28f7ce..841ba561 100644 --- a/init.ts +++ b/init.ts @@ -72,7 +72,7 @@ console.log(); let unresolvedDirectory = Deno.args[0]; if (flags._.length !== 1) { - const userInput = prompt("Project Name", "fresh-project"); + const userInput = prompt("Project Name:", "fresh-project"); if (!userInput) { error(help); } @@ -105,8 +105,9 @@ let useTwind = flags.twind || false; if (flags.tailwind == null && flags.twind == null) { if (confirm("Do you want to use a styling library?")) { console.log(); - console.log("1. Tailwind"); - console.log("2. Twind"); + console.log(`1. ${colors.cyan("tailwindcss")} (recommended)`); + console.log(`2. ${colors.cyan("Twind")}`); + console.log(); switch ( (prompt("Which styling library do you want to use? [1]") || "1").trim() ) {