Missing declarations

  • Full report name: Missing declarations
  • Status: ERROR
  • Summary: one ore more CSS declarations are missing from a component,
  • How to fix: Add the missing style declarations

A component is missing one or more CSS declarations compared to the pattern library. The declarations do not just have a wrong or unexpected value, or an unexpected wrong priority, but are entirely missing - the browser is forced to use the initial values for the properties in the declarations. You can fix this error by adding the missing style declarations.

Note that the missing declarations may not be visually apparent on the component element in question. The effects of a missing line-height or overflow declaration only become visible in specific circumstances, such as multi-line text or really long words. You should still fix the errors to be sure that no future changes in line count or word length (e.g. due to localization) will break your component

Join our Slack Community

Any question not answered yet? You want to get the latest information on Warhol and discuss new features? Join our Slack Community.