Skip to content

Commit

Permalink
feat: use white color for peek highlight default
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmu committed Mar 26, 2023
1 parent af9a20b commit bec3d88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ This extension contributes the following settings:
* `endFolderDisplayDepth`: The folder depth to display in the results after '...'.
* `enableGotoNativeSearch`: If true, then swap to native vscode search if the custom suffix is entered using the current query.
* `gotoNativeSearchSuffix`: If the query ends with this suffix, then swap to the native search with the query applied.
* `peekBorderColor`: Change the peek color ('white', '#FFF' '#FFFFFFF', 'RGB(255,255,255)','RGB(255, 255, 255. 0.5) )
* `peekBorderColor`: Change the peek color ('white', '#FFF' '#FFFFFFF', 'rgb(255,255,255)','rgba(255, 255, 255. 0.5) )
* `peekBorderWidth`: Change the peek border width (px)
* `peekBorderStyle`: Change the peek border style (solid, dashed, inset, double, groove, outset, ridge)
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
},
"periscope.peekBorderColor": {
"type": "string",
"default": "rgb(0,255,246)",
"description": "Change the peek color ('white', '#FFF' '#FFFFFFF', 'RGB(255,255,255)','RGB(255, 255, 255. 0.5) )"
"default": "rgb(255,255,255)",
"description": "Change the peek color ('white', '#FFF' '#FFFFFFF', 'rgb(255,255,255)','rgba(255, 255, 255. 0.5) )"
},
"periscope.peekBorderWidth": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function getConfig() {
),
gotoNativeSearchSuffix:
vsConfig.get<string>('gotoNativeSearchSuffix', '>>') || '>>',
peekBorderColor: vsConfig.get<string>('peekBorderColor', 'rgb(0,255,246)'),
peekBorderColor: vsConfig.get<string>('peekBorderColor', 'rgb(255,255,255)'),
peekBorderWidth: vsConfig.get<string>('peekBorderWidth', '2px'),
peekBorderStyle: vsConfig.get<string>('peekBorderStyle', 'solid'),
} as const satisfies { [key in ConfigItems]: any };
Expand Down

0 comments on commit bec3d88

Please sign in to comment.