Skip to content

Commit

Permalink
[ACS-5166] use published version of the material icons (#3283)
Browse files Browse the repository at this point in the history
* use published version of the material icons

* remove reference to css

* use outlined icons by default
  • Loading branch information
DenysVuika authored Jun 19, 2023
1 parent 6046ee3 commit 3ea26c2
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 3,354 deletions.
2 changes: 0 additions & 2 deletions app/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
}
],
"styles": [
"app/src/assets/fonts/material-icons/material-icons.css",
"app/src/assets/fonts/OpenSans/OpenSans.css",
"node_modules/cropperjs/dist/cropper.min.css",
"node_modules/pdfjs-dist/web/pdf_viewer.css",
Expand Down Expand Up @@ -245,7 +244,6 @@
"node_modules/moment/min/moment.min.js"
],
"styles": [
"app/src/assets/fonts/material-icons/material-icons.css",
"app/src/assets/fonts/OpenSans/OpenSans.css",
"app/src/styles.scss",
"projects/aca-content/src/lib/ui/application.scss"
Expand Down
7 changes: 6 additions & 1 deletion app/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ import { ShellModule, SHELL_APP_SERVICE, SHELL_AUTH_TOKEN } from '@alfresco/adf-
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
import { APP_ROUTES } from './app.routes';
import { LoginComponent } from './components/login/login.component';
import { MatIconRegistry } from '@angular/material/icon';

registerLocaleData(localeFr);
registerLocaleData(localeDe);
Expand Down Expand Up @@ -132,4 +133,8 @@ registerLocaleData(localeSv);
declarations: [AppComponent],
bootstrap: [AppComponent]
})
export class AppModule {}
export class AppModule {
constructor(matIconRegistry: MatIconRegistry) {
matIconRegistry.setDefaultFontSetClass('material-icons-outlined');
}
}
Binary file not shown.

This file was deleted.

2,373 changes: 0 additions & 2,373 deletions app/src/assets/fonts/material-icons/MaterialIcons-Regular.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 0 additions & 9 deletions app/src/assets/fonts/material-icons/README.md

This file was deleted.

Loading

0 comments on commit 3ea26c2

Please sign in to comment.