Overwriting a custom icon font in a project with DB UX is not working as described in the documentation, because the CSS Template is missing one location
.{{prefix}} {
font-family: '{{fontname}}' !important;
font-style:normal;
font-weight: normal;
}
.icon-family-{{fontname}}::before,
[data-icon-family="{{fontname}}"]::before,
[data-icon-family-before="{{fontname}}"]::before{
--db-icon-font-family: '{{fontname}}';
}
The before class has to be the same has the font family class, otherwise it's not working (no icon-family prefix)
Overwriting a custom icon font in a project with DB UX is not working as described in the documentation, because the CSS Template is missing one location
https://github.com/db-ux-design-system/icon-font-tools/blob/main/src/commands/generate-icon-fonts/utils/styles/font-face.css
The before class has to be the same has the font family class, otherwise it's not working (no icon-family prefix)