Skip to content

Fix global colors in cards/boxes when applied in views

Summary

The colors from color palette of the theme is not applied under all occasions in the theme. The issue comes from the fact that some fields' colors are overriden by .view-content *.

Steps to reproduce

  1. Create a CT with a card display
  2. Add it in a view
  3. Apply colors in color palette
  4. Render the view

Possible fixes

Change colors.scss so that the colors will be applied globally for a field, regardless on their wrapper.

Edited by Konstantinos Platis