Skip to content

Commit 90cedc3

Browse files
committed
Hide fingerprint toggle when simple
1 parent 377e1cd commit 90cedc3

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

features.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "Learning tool",
2+
"title": "ML-Machine",
33
"knnModel": true,
44
"lossGraph": true,
55
"makecode": true,

src/components/features/bottom/BottomPanel.svelte

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,14 @@
9090

9191
<!-- Right part of live-graph -->
9292
<div class="absolute right-0 bottom-0 h-full w-45 flex flex-col justify-between">
93-
<div class="pt-2 pr-2 justify-end flex flex-row gap-2">
94-
<p>Fingerprint:</p>
95-
<Switch
96-
size="sm"
97-
bind:checked={$enableFingerprint}
98-
on:change={e => enableFingerprint.set(e.detail.checked)} />
99-
</div>
100-
10193
{#if isFingerprintEnabled}
94+
<div class="pt-2 pr-2 justify-end flex flex-row gap-2">
95+
<p>Fingerprint:</p>
96+
<Switch
97+
size="sm"
98+
bind:checked={$enableFingerprint}
99+
on:change={e => enableFingerprint.set(e.detail.checked)} />
100+
</div>
102101
<div class="absolute h-full">
103102
<LiveDataFingerprint gestureName="Live" />
104103
</div>

windi.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ export default {
1010
theme: {
1111
extend: {
1212
colors: {
13-
primary: '#3a3a3a',
13+
primary: '#2B5EA7',
1414
primarytext: '#000000',
15-
primaryaccent: '#4a4a4a',
16-
secondary: '#a0a0a0',
15+
primaryaccent: '#8BbEf7',
16+
secondary: '#2CCAC0',
1717
secondarytext: '#FFFFFF',
1818
info: '#98A2B3',
1919
backgrounddark: '#F5F5F5',
2020
backgroundlight: '#ffffff',
2121
infolight: '#93c5fd',
2222
link: '#258aff',
23-
warning: '#ffaaaa',
23+
warning: '#FF7777',
2424
disabled: '#8892A3',
2525
primaryborder: '#E5E7EB',
2626
primaryborderaccent: '#b5b7bB',

0 commit comments

Comments
 (0)