Unexpected value


  • Full report name: Unexpected value
  • Status: ERROR
  • Related to: components, component children
  • Summary: CSS properties on the element have wrong values that don't conform to the theme
  • How to fix: replace the wrong values on the affected properties

This error occurs when Warhol encounters a CSS value that is not only different from how the component is implemented in the pattern library, but that it also not allowed by the pattern library's theme. This is like a wrong value, but even more wrong than that!

Note that only different computed values can count as wrong or unexpected values. For Warhol there is no difference between red, #F00, rgb(255, 0, 0), var(--computed-to-red) and so on.

Replace the wrong values on the affected properties to fix this error.

See also #