Skip to content

Commit

Permalink
fix(dark): buttons outline
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Nov 14, 2019
1 parent b74bd54 commit 631237c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions dark/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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 <[email protected]> (https://limonte.github.io)",
"contributors": [
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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==

[email protected]:
version "1.0.1"
Expand Down

0 comments on commit 631237c

Please sign in to comment.