Skip to content

Commit

Permalink
Merge pull request #222 from nextcloud/bugfix/noid/dark-mode-close-bu…
Browse files Browse the repository at this point in the history
…tton

Add dark mode close button
  • Loading branch information
ChristophWurst authored Oct 20, 2020
2 parents c0096ea + 9d7fadd commit 82b0998
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions styles/close-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion styles/toast.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

// using a different class than server
// remember to import this scss file into your app
.toastify.dialogs {
Expand Down Expand Up @@ -100,3 +100,15 @@
border-left: 3px solid var(--color-success);
}
}

/* dark theme overrides */
.theme--dark {
.toastify.dialogs {
.toast-close {
/* close icon style */
&.toast-close {
background-image: url('./close-dark.svg');
}
}
}
}

0 comments on commit 82b0998

Please sign in to comment.