Skip to content

Views' tables do not inherit tables' colors from Appearance

Summary

Initially mentioned by Valerie.

The views' tables do not inherit the tables' colors. The ticket already exists in Everis' Jira but it is marked as "Phase 2". If it is not developed by Everis, we should inherit it.

Steps to reproduce

  1. Create a view rendered as table
  2. Set some table colors in Appearance
  3. Visit the table

Possible fixes

The colors of <table> already exist in colors.scss https://gitlab.cern.ch/web-team/drupal/public/d8/themes/cern/blob/master/sass/color/colors.scss#L596. In order to fix the tables within views, the classes of .view need to be appended in colors.scss too

Edited by Konstantinos Platis
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information