_variables.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. @use '../../styles/settings';
  2. @use '../../styles/tools';
  3. // VSnackbar
  4. $snackbar-absolute-z-index: 1 !default;
  5. $snackbar-action-margin: 8px !default;
  6. $snackbar-border-radius: settings.$border-radius-root !default;
  7. $snackbar-plain-opacity: .62 !default;
  8. $snackbar-btn-padding: 0 8px !default;
  9. $snackbar-background: rgb(var(--v-theme-surface-variant)) !default;
  10. $snackbar-color: rgb(var(--v-theme-on-surface-variant)) !default;
  11. $snackbar-font-size: tools.map-deep-get(settings.$typography, 'body-2', 'size') !default;
  12. $snackbar-font-weight: tools.map-deep-get(settings.$typography, 'body-2', 'weight') !default;
  13. $snackbar-letter-spacing: tools.map-deep-get(settings.$typography, 'body-2', 'letter-spacing') !default;
  14. $snackbar-line-height: tools.map-deep-get(settings.$typography, 'body-2', 'line-height') !default;
  15. $snackbar-content-padding: 14px 16px !default;
  16. $snackbar-elevation: 6 !default;
  17. $snackbar-multi-line-wrapper-min-height: 68px !default;
  18. $snackbar-transition-scale: .8 !default;
  19. $snackbar-vertical-action-margin-bottom: 8px !default;
  20. $snackbar-wrapper-margin: 8px !default;
  21. $snackbar-wrapper-max-width: 672px !default;
  22. $snackbar-wrapper-min-height: 48px !default;
  23. $snackbar-wrapper-min-width: 344px !default;
  24. $snackbar-wrapper-padding: 0 !default;
  25. $snackbar-z-index: 10000 !default;
  26. // List
  27. $snackbar-variants: (
  28. $snackbar-background,
  29. $snackbar-color,
  30. $snackbar-elevation,
  31. $snackbar-plain-opacity,
  32. 'v-snackbar'
  33. ) !default;