Better sliders!

Add marks and value indication. (Fixes #146)
This commit is contained in:
uwap 2020-10-19 06:24:04 +02:00
parent 0f08e9f1ee
commit a44eea520a
5 changed files with 14 additions and 6 deletions

View file

@ -493,6 +493,11 @@ const config: Config = {
min: 0,
max: 255,
text: "Helligkeit",
marks: [
{ value: 1, label: "Dunkel" },
{ value: 120, label: "Medium" },
{ value: 254, label: "Hell" }
],
icon: svg(icons.mdiBrightness7),
topic: "livingroombrightness"
},