Add theme colors (#2008)

These colors have been added in Android recently: https://github.com/openhab/openhab-android/issues/3248

Feature requests for iOS and Basic UI have been created:
* https://github.com/openhab/openhab-ios/discussions/711
* https://github.com/openhab/openhab-webui/issues/1716

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
pull/2018/head
mueller-ma 2023-03-02 16:34:33 +01:00 committed by GitHub
parent cc9bc0fbd6
commit 29e849cd9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -656,6 +656,9 @@ Generally, you can expected that valid HTML colors will be accepted (e.g. `green
The color names above are agreed on between all openHAB UIs and are therefore your safest choice.
Colors defined by a human-readable name may be adjusted for higher contrast, e.g. on a dark theme `black` may be displayed as white, because white has a higher contrast to the dark background compared to black.
For better theming support the Android app also accepts the keywords `primary` and `secondary` as colors.
They will be mapped to the corresponding colors of the UI theme.
### Icons
openHAB allows a set of icons to be assigned to the different states of an Item and therefore to be presented in a Sitemap.