Skip to content

Commit f09b32c

Browse files
committed
feat: iconography
1 parent 833cefa commit f09b32c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

β€Žgitadd-checkbox.tsβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ function renderItem<Value>({
6969
}
7070

7171
const checkbox = item.checked
72-
? ` ${kleur.green("βœ…")} `
73-
: ` ${kleur.grey(figures.checkboxOff)} `;
72+
? ` ${kleur.green("βœ…")}`
73+
: ` ${kleur.grey(figures.checkboxOff)}`;
7474
const color = isActive ? kleur.cyan : (x: string) => x;
7575
const prefix = isActive ? figures.pointer : " ";
76-
return color(`${prefix}${checkbox} ${line}`);
76+
return color(`${prefix}${checkbox} ${line}`);
7777
}
7878

7979
export default createPrompt(

β€Žgitadd.tsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ async function toggleFiles(files: FileStatus[]): Promise<FileStatus[]> {
141141

142142
const response = await checkbox({
143143
message: "Select for staging:",
144+
prefix: "βž•πŸ’ ",
144145
choices,
145146
loop: false,
146147
pageSize: 20,

0 commit comments

Comments
Β (0)