From 631237c0057de9ed6da0dcbbf4632a4d9b361bfd Mon Sep 17 00:00:00 2001 From: Limon Monte Date: Thu, 14 Nov 2019 10:33:23 +0200 Subject: [PATCH] fix(dark): buttons outline --- dark/dark.scss | 6 ++++++ package.json | 4 ++-- yarn.lock | 8 ++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/dark/dark.scss b/dark/dark.scss index b367798..596a20d 100644 --- a/dark/dark.scss +++ b/dark/dark.scss @@ -22,6 +22,12 @@ $swal2-validation-message-color: $swal2-dark-theme-white; // QUEUE $swal2-progress-step-background: lighten($swal2-dark-theme-black, 25%); +// COMMON VARIABLES FOR CONFIRM AND CANCEL BUTTONS +$swal2-button-focus-box-shadow: 0 0 0 2px $swal2-dark-theme-black, 0 0 0 4px lighten($swal2-outline-color, 10%); + +// TOAST +$swal2-toast-button-focus-box-shadow: 0 0 0 2px $swal2-dark-theme-black, 0 0 0 4px lighten($swal2-outline-color, 10%); + @import '~sweetalert2/src/sweetalert2'; // INPUT diff --git a/package.json b/package.json index 80565b2..f3cd5e5 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "homepage": "https://sweetalert2.github.io/", "description": "Themes for SweetAlert2", "peerDependencies": { - "sweetalert2": "^9.1.5" + "sweetalert2": "^9.3.6" }, "devDependencies": { "@sweetalert2/execute": "^1.0.0", @@ -22,7 +22,7 @@ "promise-polyfill": "^8.1.0", "replace-in-file": "^4.0.0", "stylelint": "^11.0.0", - "sweetalert2": "^9.1.5" + "sweetalert2": "^9.3.6" }, "author": "Limon Monte (https://limonte.github.io)", "contributors": [ diff --git a/yarn.lock b/yarn.lock index 9a38fa8..194ebcb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5131,10 +5131,10 @@ svg-tags@^1.0.0: resolved "https://registry.yarnpkg.com/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764" integrity sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q= -sweetalert2@^9.1.5: - version "9.3.4" - resolved "https://registry.yarnpkg.com/sweetalert2/-/sweetalert2-9.3.4.tgz#2fc1fcd8538ea6613cbc80bc49e6d13f1b0150f6" - integrity sha512-nyW+SAZUkiKpbKSDE33J9nF5UQnc7IGC1eDHeW80HkhsggvkmQN0Clq7PHXb1roLkBLJryb2evVLDc9jZmptRQ== +sweetalert2@^9.3.6: + version "9.3.6" + resolved "https://registry.yarnpkg.com/sweetalert2/-/sweetalert2-9.3.6.tgz#116d4bf97358fed26a7515e46b753ba1b17f0d12" + integrity sha512-R0qDbzRWqywBno3GT9xReLRv5B088A+gCKeL23H8Y1BkdFFyLnQN3sk/r8pDvUJ6Xj1+ga5qeqHKUgtKR59Frw== symbol-observable@1.0.1: version "1.0.1"