diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-08-31 12:18:39 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-08-31 12:45:03 +1000 |
| commit | 8f4b899effcca7316a760b16773ebdc781215591 (patch) | |
| tree | 6417e3424c3cdcccfa79224e30a05063fb7d4fcd /src/lib.ts | |
| parent | 0cd58b3c1a8c5297579ea7a24a14d82ae8fed169 (diff) | |
Improve search suggestions
Don't show multiple suggestions for the same node
Prioritise common-names
Place suggestions from prefix-search before substring-search
Add coloring to search-string matched-part and canonical-name-part
Diffstat (limited to 'src/lib.ts')
| -rw-r--r-- | src/lib.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ export function getDefaultUiOpts(lytOpts: LayoutOptions): UiOptions { let bgColor = '#292524', bgColorLight = '#44403c', bgColorDark = '#1c1917', bgColorLight2 = '#57534e', bgColorDark2 = '#0e0c0b', - bgColorAlt = '#f5f5f4', bgColorAltDark = '#a8a29e'; + bgColorAlt = '#f5f5f4', bgColorAltDark = '#d6d3d1'; let altColor = '#a3e623', altColorDark = '#65a30d'; let accentColor = '#f59e0b'; let scrollGap = getScrollBarWidth(); |
