Skip to content

Commit c672c9b

Browse files
committed
feat: add extra properties to the theme
1 parent 54fa79e commit c672c9b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

theme.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,34 @@ export type Theme = {
1010
* Characters used for dividers.
1111
*/
1212
divider: Divider;
13+
/**
14+
* Characters used for the spinner.
15+
*/
16+
spinner?: readonly string[];
17+
/**
18+
* Characters used for the head symbol of the input component.
19+
*/
20+
headSymbol?: string;
21+
/**
22+
* Characters used for the fail symbol of the input component.
23+
*/
24+
failSymbol?: string;
25+
/**
26+
* Icon used for the matcher indicator.
27+
*/
28+
matcherIcon?: string;
29+
/**
30+
* Icon used for the sorter indicator.
31+
*/
32+
sorterIcon?: string;
33+
/**
34+
* Icon used for the renderer indicator.
35+
*/
36+
rendererIcon?: string;
37+
/**
38+
* Icon used for the previewer indicator.
39+
*/
40+
previewerIcon?: string;
1341
};
1442

1543
/**

0 commit comments

Comments
 (0)