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

Fix svg icon font with class prefix and suffix #37

Merged

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Sep 20, 2021

Icomoon does in the export set the classprefix also to the icon symbols.defs id="" selectors. So it also need to be there.

Example:

    Sulu\Twig\Extensions\IconExtension:
        arguments:
            $iconSets:
                default:
                    type: 'svg'
                    path: '/static/icomoon-sulu/symbol-defs.svg'
                    className: 'u-icon'
                    classPrefix: 'u-icon-'

@alexander-schranz alexander-schranz changed the title Fix svg icon font with class prefix Fix svg icon font with class prefix and suffix Sep 20, 2021
@luca-rath luca-rath merged commit 65e5200 into sulu:master Sep 20, 2021
@alexander-schranz alexander-schranz deleted the bugfix/svg-icon-font-class-prefix branch September 20, 2021 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants