Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a sasson_alter() hook in my subtheme, which does token replacements. It works fine on the main subtheme.scss file, as well as all .scss files that are added with drupal_add_css(). However, all the tokens that are included in any partials/*.scss files are not parsed. Any ideas?
From sasson.info:
version = "7.x-2.8"
core = "7.x"
project = "sasson"
datestamp = "1354358875"
Thanks.
Comments
Comment #1
Maffoo CreditAttribution: Maffoo commentedComment #2
Maffoo CreditAttribution: Maffoo commentedAfter ages of trying to work it out, I found out the issue myself. Changed hook_sasson_alter() to hook_sasson_post_parse_alter().
Comment #3
tsi CreditAttribution: tsi commentedI'm glad you've found your way around, and sorry I couldn't be more helpful.
As cool as this feature is, I am not using it in any of my new projects since moving to the external compiler. all my energy is now on V3.