Created attachment 130984 [details] Old infobar colors Current infobar has a dark red (maroon) for errors, a orange for warnings, and uses beige as default. That does not comply with the common standards as known from the web. There is also an issue with dark themes that uses a bright color by default for fonts which is awkward for beige backgrounds. See bug 102785. Furthermore, color must not be the only method to convey information and an additional icon is needed. The green color for success is defined but not used.
I agree with you...
Created attachment 130989 [details] The worst patch in the world So attached patch changes the interface somehow to match Heiko's requirement. It doesn't compile, but you get an idea ... someone else can make it build and remove duplicate and unused code (which is absolutely awful) There are now 2 constructors provided: one that sets font, fore- and back-ground colours based solely on InfoBarType and that ~everyone is supposed to be using The other is for classification (sfx2/*/classificationhelper.cxx) which needs its own bigger set of colour
Created attachment 131012 [details] New infobar colors Proposed colors; light blue has issue 102785 (font color on dark system theme), green background for success cannot be shown yet. And the icons left of the labels are missing. Patch is submitted https://gerrit.libreoffice.org/#/c/34029/1
❤️️
Created attachment 131459 [details] Latest layout Icons added (vcl/res/* and cmd/lc_apply for success); InfoBarType is reverted back to info for readonly and CMIS following Samuel's request. The success example is not an actual infobar, not yet.
heiko tietze committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bd8c68c99cce51a3368d8ddfd6e11dccb72d8f49 tdf#105829 Infobar design, tdf#102785 Font issue It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.