Skip to content

Commit 87e42ff

Browse files
committed
feat: support new optional attributes on theme
1 parent aacc65c commit 87e42ff

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

builtin/theme/ascii.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,11 @@ const ASCII_DIVIDER: Divider = [
4646
export const ASCII_THEME: Theme = {
4747
border: ASCII_BORDER,
4848
divider: ASCII_DIVIDER,
49+
spinner: ["-", "\\", "|", "/"],
50+
headSymbol: ">",
51+
failSymbol: "X",
52+
matcherIcon: "m:",
53+
sorterIcon: "s:",
54+
rendererIcon: "r:",
55+
previewerIcon: "p:",
4956
} as const;

builtin/theme/modern.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,8 @@ const DASHED_DIVIDER: Divider = [
5050
export const MODERN_THEME: Theme = {
5151
border: ROUNDED_BORDER,
5252
divider: DASHED_DIVIDER,
53+
matcherIcon: " ",
54+
sorterIcon: " ",
55+
rendererIcon: " ",
56+
previewerIcon: "󰥷 ",
5357
} as const;

0 commit comments

Comments
 (0)