Added color icon
This commit is contained in:
parent
33ee2e8747
commit
b9f32749b0
3 changed files with 38 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "street_lighting",
|
||||
"maintainer": "Robin van der Linde",
|
||||
"version": "20211018",
|
||||
"version": "20211019",
|
||||
"language": [
|
||||
"en",
|
||||
"nl"
|
||||
|
@ -33,9 +33,35 @@
|
|||
"render": {
|
||||
"en": "Street Lamp",
|
||||
"nl": "Straatlantaarn"
|
||||
}
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "ref~*",
|
||||
"then": {
|
||||
"en": "Street Lamp {ref}",
|
||||
"nl": "Straatlantaarn {ref}"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"icon": "./assets/themes/street_lighting/street_lamp.svg",
|
||||
"iconOverlays": [
|
||||
{
|
||||
"if": "light:colour=white",
|
||||
"then": "circle:white",
|
||||
"badge": true
|
||||
},
|
||||
{
|
||||
"if": "light:colour=orange",
|
||||
"then": "circle:#FFB000",
|
||||
"badge": true
|
||||
},
|
||||
{
|
||||
"if": "light:colour=green",
|
||||
"then": "circle:#55FF55",
|
||||
"badge": true
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
|
|
|
@ -1370,6 +1370,11 @@
|
|||
}
|
||||
},
|
||||
"title": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Street Lamp {ref}"
|
||||
}
|
||||
},
|
||||
"render": "Street Lamp"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1040,6 +1040,11 @@
|
|||
}
|
||||
},
|
||||
"title": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Straatlantaarn {ref}"
|
||||
}
|
||||
},
|
||||
"render": "Straatlantaarn"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue