Because Umbraco uses the same ".icon-" classes, all the icons in Umbraco backend are replaced with the Simple Line Icons, which looks pretty awesome but that is a side-effect which we do not want. So we need to keep in mind to use different icon class names for Icons starting with ".icon-"
Adding Simple Line Icons
Hi Mario,
First of all love your package! This is a good example of a good extensible package!
I do have a problem with adding "Simple Line Icons". Likely I am doing something wrong because I am definitely no Regex Expert xD
This is the css: Line Icons CSS
This is what I added to preconfigs.json:
But when adding the package on the iconic datatype it says in the chrome console: "Extracted styles are 0"
Any help would be great! Thanks, Arjan
Hey Arjan,
So glad you like the package :)
You are almost there man, you are missing a space before the curly brace. The full configuration would be:
If you use a minimised version remember to remove that space.
If you don't mind I'll steal this configuration to include it in the next version of the package :P
Because Umbraco uses the same ".icon-" classes, all the icons in Umbraco backend are replaced with the Simple Line Icons, which looks pretty awesome but that is a side-effect which we do not want. So we need to keep in mind to use different icon class names for Icons starting with ".icon-"
Thank you so much! That stupid space was the solution xD
Of course you can use the configuration for the next release!
Keep up the good work! Cheers, Arjan
is working on a reply...