diff --git a/apps/frontend/src/app/about/features/features.component.scss b/apps/frontend/src/app/about/features/features.component.scss index 93862030..6b1bace9 100644 --- a/apps/frontend/src/app/about/features/features.component.scss +++ b/apps/frontend/src/app/about/features/features.component.scss @@ -6,18 +6,3 @@ font-size: 1.5rem; text-align: center; } - -.p-yes { - color: #28a745; - background-color: #d4edda; -} - -.p-maybe { - color: #ffc107; - background-color: #fff3cd; -} - -.p-no { - color: #dc3545; - background-color: #f8d7da; -} diff --git a/apps/frontend/src/app/core/core.module.ts b/apps/frontend/src/app/core/core.module.ts index 3c12ed0f..43045b2c 100644 --- a/apps/frontend/src/app/core/core.module.ts +++ b/apps/frontend/src/app/core/core.module.ts @@ -2,9 +2,10 @@ import {CommonModule, NgOptimizedImage} from '@angular/common'; import {NgModule} from '@angular/core'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {RouterModule} from '@angular/router'; -import {NgbAlertModule, NgbCollapseModule, NgbTooltipModule} from '@ng-bootstrap/ng-bootstrap'; +import {NgbxDarkmodeModule, THEME_ATTRIBUTE} from '@mean-stream/ngbx'; +import {NgbAlertModule, NgbCollapseModule, NgbDropdownModule, NgbTooltipModule} from '@ng-bootstrap/ng-bootstrap'; -import { CookieBannerComponent } from './cookie-banner/cookie-banner.component'; +import {CookieBannerComponent} from './cookie-banner/cookie-banner.component'; import {LocationLinkComponent} from './location-link/location-link.component'; import {MarkdownComponent} from './markdown/markdown.component'; import {NavbarComponent} from './navbar/navbar.component'; @@ -29,6 +30,8 @@ import {TokenComponent} from './token/token.component'; ReactiveFormsModule, NgbAlertModule, NgOptimizedImage, + NgbDropdownModule, + NgbxDarkmodeModule, ], exports: [ RouterModule, @@ -39,6 +42,12 @@ import {TokenComponent} from './token/token.component'; LocationIconPipe, CookieBannerComponent, ], + providers: [ + { + provide: THEME_ATTRIBUTE, + useValue: 'data-bs-theme', + }, + ], }) export class CoreModule { } diff --git a/apps/frontend/src/app/core/navbar/navbar.component.html b/apps/frontend/src/app/core/navbar/navbar.component.html index 392b0478..76f9b7bd 100644 --- a/apps/frontend/src/app/core/navbar/navbar.component.html +++ b/apps/frontend/src/app/core/navbar/navbar.component.html @@ -1,4 +1,4 @@ -