You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We see that the common option is overriding the prefix value.
Template:
// ***
// *** WARNING: This file is automatically generated by the
// *** <design_assets>/web/script/build_sprites.rb script,
// *** anything you change in this file will be overwritten.
// ***
$icon_size_15: 15;
$icon_size_20: 20;
$icon_size_25: 25;
$icon_size_30: 30;
$icon_size_natural: 100;
{{common}}
{{prefix}}
result:
// ***// *** WARNING: This file is automatically generated by the// *** <design_assets>/web/script/build_sprites.rb script,// *** anything you change in this file will be overwritten.// ***$icon_size_15: 15;
$icon_size_20: 20;
$icon_size_25: 25;
$icon_size_30: 30;
$icon_size_natural: 100;
icons
icons
Is this intended behavior? We really need to get a second variable into the template and I would rather not have to write a custom node program to run it.
The text was updated successfully, but these errors were encountered:
I just published the next major release of svg-sprite. It's rewritten from scratch and I'm pretty confident that the bug is gone — could you please check this? I'll close the issue for now, but please feel free to re-open it in case you've still got problems.
We are using custom templates with the command line version the tool to build our spritesheet. When we run the follow command
We see that the common option is overriding the prefix value.
Template:
result:
Is this intended behavior? We really need to get a second variable into the template and I would rather not have to write a custom node program to run it.
The text was updated successfully, but these errors were encountered: