I have a card component with a title, image, text, and link. How come all my card variants are inheriting all the values from the default one? Short answer, you don't. It's a feature, not a bug.
What would make for a first-class, enterprise-ready, front-end development team?
Yes, I know, there's more than one way to integrate PatternLab with Drupal. Here's how I create a card component and map it to Drupal.
To the future
or to the past, to a time when thought is free, to the next time when I need to get the value of file field to use as a variable in Drupal 8 with Twig.
I'm sometimes asked for an overview of my general approach to PatternLab. Simple: put everything for each component in the same directory!
Mission: you have 2 fields in a Drupal paragraph bundle, one a node reference field and one a boolean field. Show certain fields in the referenced node depending on the value of the boolean field.
Implementing designs is tricky at the best of times. But you, as a designer, can make life easier.
Stop me if this sounds familiar - "the website is not the same as the designs"!