From 8f4b899effcca7316a760b16773ebdc781215591 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Wed, 31 Aug 2022 12:18:39 +1000 Subject: 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 --- src/lib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.ts') diff --git a/src/lib.ts b/src/lib.ts index 821a2e1..bee7d6b 100644 --- a/src/lib.ts +++ b/src/lib.ts @@ -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(); -- cgit v1.2.3