Currently we only add classes for error or warning, this doesn't afford us the flexibility to properly denote ok or info messages.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

timmillwood’s picture

Status: Needs work » Needs review
FileSize
816 bytes

Patch for this.

timmillwood’s picture

Issue summary: View changes
FileSize
31.28 KB

To give an example of the result of this patch.
Example image

timmillwood’s picture

Issue summary: View changes
oriol_e9g’s picture

Status: Needs review » Reviewed & tested by the community

Yeah! Coherence and less code.

timmillwood’s picture

LewisNyman’s picture

Issue tags: +frontend, +CSS

I'm happy with this change, as it doesn't affect the design in the Seven theme and there might be some admin themes that would want to use this class. For example, bootstrap has an info color class.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Templates aren't frozen and this makes sense. Committed b2e29eb and pushed to 8.0.x. Thanks!

  • alexpott committed b2e29eb on 8.0.x
    Issue #2528242 by timmillwood: Add color-*  classes to all rows on the...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.