Skip to content

Commit

Permalink
Change modal button colors, closes #80
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Feb 29, 2020
1 parent d27bfcc commit b369aff
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,19 @@ class HacsFrontend extends LitElement {
color: var(--primary-text-color) !important;
}
.swal-button {
background-color: var(--primary-color) !important;
color: var(--primary-text-color) !important;
background-color: transparent !important;
color: var(--mdc-theme-primary, --primary-text-color) !important;
}
.swal-text:first-child {
margin: 16px 0px 0px 8px;
}
.swal-button:focus {
outline: none;
box-shadow: none;
}
.swal-button:hover {
outline: none;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px;
}`;
element.appendChild(style);
}
Expand Down

0 comments on commit b369aff

Please sign in to comment.