Closed Tregonia closed 7 years ago
I'm not sure if it's possible, but it would be helpful to add the namespace to the @include
in the icons.twig file when the theme is generated with sample components.
(this file: https://github.com/mediacurrent/theme_generator_8/blob/master/generators/app/templates/_src/_sample-components/_icons/icons.twig#L17)
Fixed via #13 Thanks yall!
During integration into Drupal, it was learned that the namespace for the icons macro is not correct with the namespace of the theme.
It is worth noting that the current setting works fine for the KSS styleguide. It is when things integrate into Drupal that this:
{% include 'assets/' ~ name ~ '.svg.twig' with {
must become{% include '@theme_namespace/icons/assets/' ~ name ~ '.svg.twig' with {