Adding global styles to your Drupal theme

preview_player
Показать описание
Demo of how to create and add global styles to your Drupal theme so they are available throughout your entire website.
Рекомендации по теме
Комментарии
Автор

Thank you very much, Madeline! You're the best! I really appreciate this series of videos. I've been a Drupal developer since 2011, and now I am developing my base theme from which I will start all my future projects; that's why I ended up here. I just have one question regarding including the init.scss. If you include this file in each component SCSS file, won't there be redundant styles? I mean, each component will have this import, so the final minified CSS file will contain several instances of the same CSS code. Am I right? Or maybe missing something?
As a sysadmin, I also love to focus on performance, and in this new theme, I want only the code that the site is using.
Thank you again, greetings from Argentina!

ramirojoaquin
join shbcf.ru