Closed craigo1409 closed 9 months ago
Solve this by overriding the $iconsfile
variable with the path to your icon.stack.svg
file, before you import the scss files into yours.
for example
$iconsfile: '/img/icons.stack.svg';
@import '/path/to/base/node_modules/@scottish-government/pattern-library/src/base/_all-base';
HTH
Thank you @DavidChristiansen. That is the intended way to specify your icons path.
Hi,
I'm trying to use this within our NHS application but getting blocked error when accessing icons.stack.svg. This breaks a number of components (DatePicker calendar, Radio Buttons, Checkmarks).
I have tested this on localhost and pushed in our test environment and behaviour is consistent.