aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-05-10 15:30:28 +1000
committerTerry Truong <terry06890@gmail.com>2022-05-10 15:40:27 +1000
commit81124cde7b1838248c41f8fbfce83db9e935e5b4 (patch)
treeb2467e9042ed90434db6e103f79b8aa57b36eeb0 /src/App.vue
parent2efedbfdfad405c3e76d8bbadec5afcd808991ad (diff)
Add multiple header-color thresholds
Also add tips count in info modal
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue4
1 files changed, 1 insertions, 3 deletions
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