We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
titleColors
1 parent ee6ebec commit 262b8a2Copy full SHA for 262b8a2
.changeset/tired-trams-play.md
@@ -0,0 +1,5 @@
1
+---
2
+"@gud/cli-menu": patch
3
4
+
5
+Improved `titleColors` type.
packages/cli-menu/src/menu.ts
@@ -12,7 +12,7 @@ export interface MenuOptions {
12
* @default
13
* ['#2EFFAF', '#0FC2C2']
14
*/
15
- titleColors?: `#${string}`[];
+ titleColors?: [`#${string}`, `#${string}`];
16
17
/**
18
* The message to show when prompting the user to select a command.
0 commit comments