Giter Site home page Giter Site logo

Comments (5)

DenysVuika avatar DenysVuika commented on June 26, 2024

the work for outlined icons is still in progress #8640
what custom-styles.scss do you refer to?

from alfresco-ng2-components.

romainbrochot avatar romainbrochot commented on June 26, 2024

Sorry I forgot to add we removed MatIcons http resource in index.html and we use npm dependency for material icons and we import it from custom-styles.scss in our projects because of customers not allowing internet access on their servers

from alfresco-ng2-components.

DenysVuika avatar DenysVuika commented on June 26, 2024

We are still sticking to the Material Icons for now, but you might be interested to see how we are going to use outlined icons or custom font sets in ACA: Alfresco/alfresco-content-app#3283

Essentially, you can override the default fontSet like this:

export class AppModule {
  constructor(matIconRegistry: MatIconRegistry) {
    matIconRegistry.setDefaultFontSetClass('material-icons-outlined');
  }
}

from alfresco-ng2-components.

romainbrochot avatar romainbrochot commented on June 26, 2024

Yes that's how we did it. It's just that, in specific ADF components, outlined icons do not display properly if we use something else than mat icons.
We'll stick to Mat icons until your work is finished.
You can close the case.

from alfresco-ng2-components.

DenysVuika avatar DenysVuika commented on June 26, 2024

thanks for confirming. Switching to Material Symbols will be a breaking change in terms of backwards compatibility, but it is possible using outlined icons with Material Icons too. Closing for now and we might get back to that in the future releases if we decide migrating to Symbols

from alfresco-ng2-components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.