Improve icon name examples (#1037)

* Improve icon name examples

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Update items.md
pull/1041/head
Thomas Dietrich 2019-09-01 15:35:16 +02:00 committed by Jerome Luckenbach
parent 09d1627d39
commit edd53f9ecf
1 changed files with 3 additions and 4 deletions

View File

@ -318,11 +318,10 @@ The following guidelines apply to user-added icon files:
- Only `png` or `svg` file formats may be used
- Icon filenames may include lowercase letters, numbers and underscores (`_`)
- Uppercase letters and special characters are prohibited
- Hyphens (`-`) are reserved for [Dynamic Icons](#dynamic-icons) (see below)
- Hyphens (`-`) are reserved for [Dynamic Icons](#dynamic-icons)
- Example filenames:
- Good: `myswitch.svg`, `power_meter.png`, `error23.svg`
- Bad: `PC-Display.svg`, `power-meter.png`, `tür⇔.svg`
- Good: `myswitch.svg`, `power_meter.png`, `tuer23.svg`
- Bad: `MySwitch.svg`, `power-meter.png`, `tür23.svg`
**Bitmaps or Vector Graphics:**
openHAB can work with either Bitmap (`png`) or Vector (`svg`) icon files.