Skip to content

Commit

Permalink
[ACA-2069] fix blue slider issue (#854)
Browse files Browse the repository at this point in the history
* [ACA-2069] fix blue slider issue

that appeared after upgrading material to 7.1.0

* [ACA-2069] relocate the style changes
  • Loading branch information
suzanadirla authored and DenysVuika committed Dec 5, 2018
1 parent 23ad419 commit 84b0cd4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
@mixin aca-share-dialog-theme($theme) {
$accent: map-get($theme, accent);

// fixes [ACA-2069]
.mat-slide-toggle.mat-primary.mat-checked:not(.mat-disabled) {
.mat-slide-toggle-thumb {
background-color: mat-color($accent);
}
.mat-slide-toggle-bar {
background-color: mat-color($accent, 0.54);
}
}
}

@mixin adf-share-link-typography {
letter-spacing: -0.4px;
line-height: 2;
Expand Down
2 changes: 2 additions & 0 deletions src/app/ui/custom-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@import '../dialogs/node-versions/node-versions.dialog.theme';
@import '../components/create-menu/create-menu.component.scss';
@import '../components/layout/layout.theme.scss';
@import '../components/shared/content-node-share/content-node-share.dialog.scss';

@import './overrides/adf-toolbar.theme';
@import './overrides/adf-search-filter.theme';
Expand Down Expand Up @@ -95,4 +96,5 @@ $custom-theme: mat-light-theme($custom-theme-primary, $custom-theme-accent);
@include aca-current-user-theme($theme);
@include aca-context-menu-theme($theme);
@include app-create-menu-theme($theme);
@include aca-share-dialog-theme($theme);
}

0 comments on commit 84b0cd4

Please sign in to comment.