Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

fix: fix cookies dialog button contrast #1010

Merged
merged 4 commits into from
Jun 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/app/shared/cookie-popup/_cookie-popup-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
app-cookie-popup {
.popup {
color: if($is-dark-theme,
map.get(map.get(mat.$grey-palette, contrast), 50),
map.get(mat.$dark-theme-foreground-palette, secondary-text)
map.get(mat.$dark-theme-foreground-palette, secondary-text),
map.get(map.get(mat.$grey-palette, contrast), 50)
);
background: if($is-dark-theme, map.get(mat.$grey-palette, 50), #252525);
background: if($is-dark-theme, #252525, map.get(mat.$grey-palette, 50));
}
}
}
3 changes: 1 addition & 2 deletions src/app/shared/cookie-popup/cookie-popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
<a
href="https://policies.google.com/technologies/cookies"
mat-button
color="accent"
target="_blank"
rel="noopener">More details</a>
<button mat-button color="accent" (click)="accept()">Ok, Got it</button>
<button mat-button color="primary" (click)="accept()">Ok, Got it</button>
</div>
</div>