_variables.scss 1.2 KB

1234567891011121314151617181920212223242526272829
  1. @use 'sass:math';
  2. @use 'sass:map';
  3. @use '../../styles/settings';
  4. @use '../../styles/tools';
  5. // VTable
  6. $table-background: rgb(var(--v-theme-surface)) !default;
  7. $table-color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)) !default;
  8. $table-density: ('default': 0, 'comfortable': -2, 'compact': -4) !default;
  9. $table-header-height: 56px !default;
  10. $table-header-font-weight: 500 !default;
  11. $table-header-font-size: tools.map-deep-get(settings.$typography, 'caption', 'size') !default;
  12. $table-font-size: tools.map-deep-get(settings.$typography, 'body-2', 'size') !default;
  13. $table-row-height: 52px !default;
  14. $table-row-font-size: tools.map-deep-get(settings.$typography, 'subtitle-2', 'size') !default;
  15. $table-border-color: rgba(var(--v-border-color), var(--v-border-opacity)) !default;
  16. $table-border: thin solid $table-border-color !default;
  17. $table-hover-color: rgba(var(--v-border-color), var(--v-hover-opacity)) !default;
  18. $table-line-height: 1.5 !default;
  19. $table-column-padding: 0 16px !default;
  20. $table-transition-duration: 0.28s !default;
  21. $table-transition-property: box-shadow, opacity, background, height !default;
  22. $table-transition-timing-function: settings.$standard-easing !default;
  23. // Lists
  24. $table-theme: (
  25. $table-background,
  26. $table-color,
  27. ) !default;