Icingaweb2: Theme solarized-dark on 2.7.0 has contrast issues / ambiguous controls

Created on 1 Aug 2019  路  11Comments  路  Source: Icinga/icingaweb2

Describe the bug

After updating Icinga Web 2 to 2.7.0 via CentOS repos, I noticed couple issues with the choice of colours causing some issues with either text being invisible or control elements having ambiguous states due to their colours.

To Reproduce

  1. Update Icinga Web 2 to version 2.7.0
  2. Browse to the login page (first issue)
  3. Login and open any service with at least warning state, click acknowledge (first issue, textareas)
  4. On the same page, further down on the form (second issue).
  5. Navigate to Configuration -> Application (first issue, dropdowns)
  6. On the same page, after the options (nitpick on the button colours)

Expected behavior

Text should be clearly visible on the appropriate elements and the controls should not be ambiguous if they are toggled or not.

Screenshots

First one is visible on the login page (the username field has helloworld written in it):
image
This is also present on textareas (the textarea has Hello world! written in it):
image
And on dropdowns:
image

The second issue relates to the toggles: which ones are enabled and which are disabled?
image

As a last nitpick, the primary/secondary colours for the buttons could use some love:
image

Your Environment

  • Icinga Web 2 version and modules (System - About): 2.7.0
  • Web browser used: Google Chrome v75.0.3770.142 (64-bit)
  • Icinga 2 version used (icinga2 --version): r2.10.5-1
  • PHP version used (php --version): 7.0.27
  • Server operating system and version: CentOS Linux release 7.6.1810 (Core)

Additional context

SELinux is not enabled on the server.

areui bug

All 11 comments

Hi, thanks for the report!

We seem to have overlooked our own themes. :roll_eyes:

@theFeu Please have a look at all the built-in themes and fix them if they show the same issue.

@theFeu Can you please adjust the colours of the form like the following? This way it's more consistent with the dark color style.

Artboard

@flourish86 I used the same background colour as in the sidebar now, because I felt like the blue-ish colour you chose doesn't work too well with the dropdown-triangles for the selects.
The contrast is less crisp, but I think it still fits the theme :)

Edit:
The checkboxes were hard to see with the dark background, so I did make it a little lighter, as you suggested

image

Both of these are a big improvement over the current one. Could the toggle colouring be inverted so the state is not ambiguous (dim when off, bright when on)?

@Diftraku It's still a work in progress, I will update it over the course of the day :)

Added love to toggles, input backgrounds and buttons!

image

Also adapted the sidebar colours in the last commit - if there is anything I overlooked, please do tell!
@Diftraku: There is no such thing as being too nitpicky, appreciate the help in spotting inconsistencies! :)

image

The editor controls also need to be adjusted. Could you take care of it as well, @theFeu?

Screenshot 2019-08-05 at 11 25 42

While I see this, please remember that our form styles are now encapsulated in two main classes: icinga-form (layout), icinga-controls (style)

Because the editor shouldn't require any special styles, instead it should apply to the general form style. (Since it has class icinga-controls applied to it)

@nilmerg
Made it apply to icinga-form and controls now, that ok?

Maybe, though without a PR I don't look at the code :wink:

Was this page helpful?
0 / 5 - 0 ratings