diff --git a/lib/core/viewer/components/pdfViewer.component.scss b/lib/core/viewer/components/pdfViewer.component.scss index 66c80ff469..be8e4a9948 100644 --- a/lib/core/viewer/components/pdfViewer.component.scss +++ b/lib/core/viewer/components/pdfViewer.component.scss @@ -1,4 +1,5 @@ @mixin adf-pdf-viewer-theme($theme) { + $background: map-get($theme, background); $foreground: map-get($theme, foreground); .adf-viewer-content-container { @@ -67,7 +68,7 @@ .adf-toolbar .mat-toolbar { max-height: 48px; - background-color: mat-color($primary, default-contrast, 1); + background-color: mat-color($background, card); border-width: 0; border-radius: 2px; box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12); @@ -80,6 +81,8 @@ & > input { border: 1px solid mat-color($foreground, text, 0.07); + background-color: mat-color($background, card); + color: inherit; font-size: 14px; padding: 0; height: 24px;