6. Block - main rules
● Block is fully independent
● Block can be placed in any place of the page
● Block shouldn't influence its environment, meaning you shouldn't set the
external geometry (margin) or positioning for the block.
● You also shouldn't use CSS tag or ID selectors when using BEM.
13. node ./scripts/create-component.js
? Please enter component name test_example
? What type of component? (Use arrow keys)
❯ Atom
Molecule
Organism
Template
Helper
? Create elements instead default COMPONENT__content? (y/N)
? (QUESTION PLACEHOLDER. NOT WORKING YET)Create record in *.libraries.yml?
(y/N)
? Create twig template? (y/N)
? Enter element name content
? Want to enter another element (just hit enter for YES)? No
20. Done
● Removed sass and its dependencies.
● Moved variables to custom css props.
● Added nested plugin to make css sass like
● Added import plugin
● Added drupal custom plugin breakpoints
● Added test examples of variables/colors/breakpoints/components/nested
Things to do
● Fix linter issues After compiling.
● Rework create component task
● Check watcher and other tasks.
● Test with docker.
● Check sourcemaps generation