_variables.scss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. $rt-namespace: 'Toastify';
  2. $rt-mobile: 'only screen and (max-width : 480px)' !default;
  3. :root {
  4. --toastify-color-light: #fff;
  5. --toastify-color-dark: #121212;
  6. --toastify-color-info: #3498db;
  7. --toastify-color-success: #07bc0c;
  8. --toastify-color-warning: #f1c40f;
  9. --toastify-color-error: #e74c3c;
  10. --toastify-color-transparent: rgba(255, 255, 255, 0.7);
  11. --toastify-icon-color-info: var(--toastify-color-info);
  12. --toastify-icon-color-success: var(--toastify-color-success);
  13. --toastify-icon-color-warning: var(--toastify-color-warning);
  14. --toastify-icon-color-error: var(--toastify-color-error);
  15. --toastify-toast-width: 320px;
  16. --toastify-toast-background: #fff;
  17. --toastify-toast-min-height: 64px;
  18. --toastify-toast-max-height: 800px;
  19. --toastify-font-family: sans-serif;
  20. --toastify-z-index: 9999;
  21. --toastify-text-color-light: #757575;
  22. --toastify-text-color-dark: #fff;
  23. //Used only for colored theme
  24. --toastify-text-color-info: #fff;
  25. --toastify-text-color-success: #fff;
  26. --toastify-text-color-warning: #fff;
  27. --toastify-text-color-error: #fff;
  28. --toastify-spinner-color: #616161;
  29. --toastify-spinner-color-empty-area: #e0e0e0;
  30. // Used when no type is provided
  31. --toastify-color-progress-light: linear-gradient(
  32. to right,
  33. #4cd964,
  34. #5ac8fa,
  35. #007aff,
  36. #34aadc,
  37. #5856d6,
  38. #ff2d55
  39. );
  40. // Used when no type is provided
  41. --toastify-color-progress-dark: #bb86fc;
  42. --toastify-color-progress-info: var(--toastify-color-info);
  43. --toastify-color-progress-success: var(--toastify-color-success);
  44. --toastify-color-progress-warning: var(--toastify-color-warning);
  45. --toastify-color-progress-error: var(--toastify-color-error);
  46. }