diff --git a/lib/core/form/components/widgets/form.scss b/lib/core/form/components/widgets/form.scss index 9ab61dd306f..70692a4726e 100644 --- a/lib/core/form/components/widgets/form.scss +++ b/lib/core/form/components/widgets/form.scss @@ -1,5 +1,3 @@ -@import '~@angular/material/theming'; - @mixin adf-form-theme($theme) { $primary: map-get($theme, primary); $accent: map-get($theme, accent); diff --git a/lib/core/layout/components/header/header.component.scss b/lib/core/layout/components/header/header.component.scss index 5ca2429320f..94470f2fdcd 100644 --- a/lib/core/layout/components/header/header.component.scss +++ b/lib/core/layout/components/header/header.component.scss @@ -1,5 +1,3 @@ -@import '~@angular/material/theming'; - @mixin adf-header-layout-theme($theme) { $primary: map-get($theme, primary); $accent: map-get($theme, accent); diff --git a/lib/core/styles/snackbar.scss b/lib/core/styles/snackbar.scss index 53fdf41c3fd..cc98a1b8e0e 100644 --- a/lib/core/styles/snackbar.scss +++ b/lib/core/styles/snackbar.scss @@ -1,5 +1,3 @@ -@import '~@angular/material/theming'; - @mixin adf-snackbar-theme($theme) { $warn: map-get($theme, warn); $accent: map-get($theme, accent); diff --git a/lib/core/viewer/components/pdf-viewer-password-dialog.scss b/lib/core/viewer/components/pdf-viewer-password-dialog.scss index b6afe8e89c5..a9870fd5623 100644 --- a/lib/core/viewer/components/pdf-viewer-password-dialog.scss +++ b/lib/core/viewer/components/pdf-viewer-password-dialog.scss @@ -1,14 +1,11 @@ -@import '~@angular/material/theming'; - -.adf-fill-remaining-space { - flex: 1 1 auto; -} - -.adf-full-width { - width: 100%; -} - @mixin adf-dialog-theme($theme) { + .adf-fill-remaining-space { + flex: 1 1 auto; + } + + .adf-full-width { + width: 100%; + } $primary: map-get($theme, primary); @@ -19,5 +16,4 @@ .adf-dialog-action-button:enabled { color: mat-color($primary); } - }