Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to overwrite settings from a third party icon set? #231

Closed
buddhaCode opened this issue Mar 19, 2024 · 0 comments
Closed

How to overwrite settings from a third party icon set? #231

buddhaCode opened this issue Mar 19, 2024 · 0 comments
Labels

Comments

@buddhaCode
Copy link
Contributor

Library version

1.6.0

Laravel version

10.48.2

PHP version

8.3.3

Description

Is it possible to override or the specify the config of a third party icon package? I would like to set a custom "stroke-width" attribute for every icon of a particular set. I don't like to repeat myself and set the attribute on every @svg() call.

I tried re-declaring the set in the config/blade-icons.php. But this throws an exception, because the set is already defined. I could also re-add the set under a different name. But this seems to be a bit verbose and redundant.

Best, Arne

Steps to reproduce

none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant