Skip to content

Commit

Permalink
using theme lara to match original codebase, removing deprecated styl…
Browse files Browse the repository at this point in the history
…e imports
  • Loading branch information
sagely1 committed Jan 23, 2025
1 parent b4778ac commit 771af1e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions apps/agora/app/src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
import { provideHttpClient, withInterceptors } from '@angular/common/http';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { providePrimeNG } from 'primeng/config';
import Aura from '@primeng/themes/aura';
import Lara from '@primeng/themes/lara';
import { BASE_PATH as API_CLIENT_BASE_PATH } from '@sagebionetworks/agora/api-client-angular';
import { BASE_PATH as SYNAPSE_API_CLIENT_BASE_PATH } from '@sagebionetworks/synapse/api-client-angular';
import { configFactory, ConfigService } from '@sagebionetworks/agora/config';
Expand Down Expand Up @@ -53,7 +53,7 @@ export const appConfig: ApplicationConfig = {
provideAnimationsAsync(),
providePrimeNG({
theme: {
preset: Aura,
preset: Lara,
options: {
darkModeSelector: false,
},
Expand Down
3 changes: 1 addition & 2 deletions apps/model-ad/app/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
"styles": [
"apps/model-ad/app/src/styles.scss",
"node_modules/primeicons/primeicons.css",
"node_modules/primeng/resources/themes/lara-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css"
"node_modules/primeng/resources/themes/lara-light-blue/theme.css"
],
"scripts": []
},
Expand Down
6 changes: 1 addition & 5 deletions libs/agora/storybook/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@
"configDir": "libs/agora/storybook/.storybook",
"browserTarget": "agora-storybook:build-storybook",
"compodoc": false,
"styles": [
"apps/agora/app/src/styles.scss",
"node_modules/primeicons/primeicons.css",
"node_modules/primeng/resources/primeng.min.css"
],
"styles": ["apps/agora/app/src/styles.scss", "node_modules/primeicons/primeicons.css"],
"stylePreprocessorOptions": {
"includePaths": ["libs/agora/styles/src/lib", "libs/agora/themes/src/lib"]
}
Expand Down

0 comments on commit 771af1e

Please sign in to comment.