From 81124cde7b1838248c41f8fbfce83db9e935e5b4 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 10 May 2022 15:30:28 +1000
Subject: Add multiple header-color thresholds

Also add tips count in info modal
---
 src/App.vue | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src/App.vue')

diff --git a/src/App.vue b/src/App.vue
index 534b2df..caf5aa9 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -64,10 +64,8 @@ const defaultUiOpts = {
 	shadowFocused: '0 0 1px 2px orange',
 	infoIconSz: 18, //px
 	infoIconMargin: 2, //px
-	highTipsVal: 50,
+	tipThresholds: [[1, 'greenyellow'], [100, 'orange'], [1000, 'red']],
 	headerColor: '#fafaf9',
-	headerColor2: 'greenyellow',
-	headerColor3: 'orange',
 	// For leaf tiles
 	leafTilePadding: 4, //px
 	leafHeaderFontSz: 15, //px
-- 
cgit v1.2.3

