Skip to content

Commit

Permalink
Update modal styles (stashapp#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteStash authored and feederbox826 committed Nov 15, 2023
1 parent c4d6681 commit cf04fb4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
3 changes: 2 additions & 1 deletion frontend/src/pages/edits/Edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ const EditComponent: FC = () => {
<Modal
message="Are you sure you want to cancel this edit?"
callback={handleCancel}
acceptTerm="Cancel edit"
acceptTerm="Yes, cancel edit"
cancelTerm="Cancel"
/>
);

Expand Down
19 changes: 15 additions & 4 deletions frontend/src/styles/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,22 @@ hr {
}

.modal {
color: $dark-text;
color: $text-color;

.btn-close {
background-color: $text-color;
}

.modal-body,
.modal-footer {
background-color: rgb(235 241 245);
&-header,
&-body,
&-footer {
background-color: #30404d;
border-color: transparent;
color: $text-color;
}

&-content {
background-color: transparent;
}
}

Expand Down

0 comments on commit cf04fb4

Please sign in to comment.