_sweetalert2.scss 815 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. // Plugin: SweetAlert2
  3. //
  4. // Icon Colors
  5. .swal2-icon {
  6. &.swal2-info {
  7. border-color: ligthen($info, 20%);
  8. color: $info;
  9. }
  10. &.swal2-warning {
  11. border-color: ligthen($warning, 20%);
  12. color: $warning;
  13. }
  14. &.swal2-error {
  15. border-color: ligthen($danger, 20%);
  16. color: $danger;
  17. }
  18. &.swal2-question {
  19. border-color: ligthen($secondary, 20%);
  20. color: $secondary;
  21. }
  22. &.swal2-success {
  23. border-color: ligthen($success, 20%);
  24. color: $success;
  25. .swal2-success-ring {
  26. border-color: ligthen($success, 20%);
  27. }
  28. [class^='swal2-success-line'] {
  29. background-color: $success;
  30. }
  31. }
  32. }
  33. @include dark-mode () {
  34. .swal2-popup {
  35. background-color: $dark;
  36. color: $gray-200;
  37. .swal2-content,
  38. .swal2-title {
  39. color: $gray-200;
  40. }
  41. }
  42. }