@ng-matero/extensions 20.1.1 → 20.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/_index.scss +0 -1
  2. package/alert/_alert-theme.scss +18 -27
  3. package/alert/_m2-alert.scss +34 -51
  4. package/colorpicker/_colorpicker-theme.scss +23 -30
  5. package/colorpicker/_m2-colorpicker.scss +12 -35
  6. package/column-resize/index.d.ts +0 -1
  7. package/core/index.d.ts +1 -2
  8. package/core/tokens/_m2-utils.scss +17 -100
  9. package/core/tokens/_m3-system.scss +11 -9
  10. package/core/tokens/_token-utils.scss +7 -27
  11. package/datetimepicker/_datetimepicker-theme.scss +23 -47
  12. package/datetimepicker/_m2-datetimepicker.scss +81 -131
  13. package/datetimepicker/_m3-datetimepicker.scss +18 -15
  14. package/datetimepicker/index.d.ts +10 -28
  15. package/drawer/_drawer-theme.scss +17 -26
  16. package/drawer/_m2-drawer.scss +12 -34
  17. package/fesm2022/mtxButton.mjs +13 -2
  18. package/fesm2022/mtxButton.mjs.map +1 -1
  19. package/fesm2022/mtxColumnResize.mjs +1 -1
  20. package/fesm2022/mtxColumnResize.mjs.map +1 -1
  21. package/fesm2022/mtxCore.mjs.map +1 -1
  22. package/fesm2022/mtxDatetimepicker.mjs +4 -4
  23. package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
  24. package/fesm2022/mtxTooltip.mjs.map +1 -1
  25. package/grid/_grid-theme.scss +17 -26
  26. package/grid/_m2-grid.scss +37 -56
  27. package/loader/_loader-theme.scss +17 -26
  28. package/loader/_m2-loader.scss +9 -32
  29. package/package.json +18 -18
  30. package/popover/_m2-popover.scss +15 -37
  31. package/popover/_popover-theme.scss +16 -24
  32. package/prebuilt-themes/azure-blue.css +1 -1
  33. package/prebuilt-themes/cyan-orange.css +1 -1
  34. package/prebuilt-themes/deeppurple-amber.css +1 -1
  35. package/prebuilt-themes/indigo-pink.css +1 -1
  36. package/prebuilt-themes/magenta-violet.css +1 -1
  37. package/prebuilt-themes/pink-bluegrey.css +1 -1
  38. package/prebuilt-themes/purple-green.css +1 -1
  39. package/prebuilt-themes/rose-red.css +1 -1
  40. package/progress/_m2-progress.scss +29 -44
  41. package/progress/_progress-theme.scss +17 -26
  42. package/select/_m2-select.scss +40 -67
  43. package/select/_m3-select.scss +2 -1
  44. package/select/_select-theme.scss +22 -29
  45. package/split/_m2-split.scss +13 -34
  46. package/split/_split-theme.scss +21 -30
  47. package/tooltip/_m2-tooltip.scss +18 -43
  48. package/tooltip/_tooltip-theme.scss +16 -21
  49. package/tooltip/index.d.ts +2 -2
  50. package/core/tokens/_m2-tokens.scss +0 -71
@@ -1 +1 @@
1
- .mat-button-loading .mdc-button__label,.mat-button-loading .mat-icon{visibility:hidden}.mat-button-loading .mat-mdc-progress-spinner{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}html{--mtx-alert-container-shape: 4px}html{--mtx-alert-outline-color: transparent;--mtx-alert-background-color: #212121;--mtx-alert-text-color: white;--mtx-alert-info-outline-color: transparent;--mtx-alert-info-background-color: #0d47a1;--mtx-alert-info-text-color: white;--mtx-alert-success-outline-color: transparent;--mtx-alert-success-background-color: #1b5e20;--mtx-alert-success-text-color: white;--mtx-alert-warning-outline-color: transparent;--mtx-alert-warning-background-color: #ff6f00;--mtx-alert-warning-text-color: white;--mtx-alert-danger-outline-color: transparent;--mtx-alert-danger-background-color: #b71c1c;--mtx-alert-danger-text-color: white}html{--mtx-colorpicker-toggle-active-state-icon-color: #7b1fa2;--mtx-colorpicker-toggle-icon-color: white}.mtx-colorpicker-toggle-active.mat-accent{--mtx-colorpicker-toggle-active-state-icon-color: #69f0ae}.mtx-colorpicker-toggle-active.mat-warn{--mtx-colorpicker-toggle-active-state-icon-color: #f44336}html{--mtx-datetimepicker-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);--mtx-datetimepicker-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mtx-datetimepicker-container-shape: 4px;--mtx-datetimepicker-container-touch-shape: 4px;--mtx-datetimepicker-selector-container-shape: 4px}html{--mtx-datetimepicker-calendar-header-background-color: #7b1fa2;--mtx-datetimepicker-calendar-date-selected-state-text-color: white;--mtx-datetimepicker-calendar-date-selected-state-background-color: #7b1fa2;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: rgba(123, 31, 162, 0.4);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: white;--mtx-datetimepicker-calendar-date-focus-state-background-color: rgba(123, 31, 162, 0.3);--mtx-datetimepicker-calendar-date-hover-state-background-color: rgba(123, 31, 162, 0.3);--mtx-datetimepicker-clock-hand-background-color: #7b1fa2;--mtx-datetimepicker-clock-cell-selected-state-background-color: #7b1fa2;--mtx-datetimepicker-time-input-active-state-text-color: #7b1fa2;--mtx-datetimepicker-time-input-active-state-background-color: rgba(123, 31, 162, 0.2);--mtx-datetimepicker-time-input-focus-state-outline-color: #7b1fa2;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: rgba(123, 31, 162, 0.6);--mtx-datetimepicker-time-ampm-selected-state-background-color: rgba(123, 31, 162, 0.2);--mtx-datetimepicker-toggle-active-state-icon-color: #7b1fa2;--mtx-datetimepicker-toggle-icon-color: white;--mtx-datetimepicker-calendar-body-label-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-body-week-number-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-header-text-color: white;--mtx-datetimepicker-calendar-header-divider-color: transparent;--mtx-datetimepicker-calendar-table-header-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-date-today-outline-color: rgba(255, 255, 255, 0.5);--mtx-datetimepicker-calendar-date-text-color: white;--mtx-datetimepicker-calendar-date-outline-color: transparent;--mtx-datetimepicker-calendar-date-disabled-state-text-color: rgba(255, 255, 255, 0.5);--mtx-datetimepicker-container-background-color: #424242;--mtx-datetimepicker-container-text-color: white;--mtx-datetimepicker-clock-dial-background-color: rgba(255, 255, 255, 0.12);--mtx-datetimepicker-clock-cell-text-color: white;--mtx-datetimepicker-clock-cell-hover-state-background-color: rgba(255, 255, 255, 0.04);--mtx-datetimepicker-clock-cell-disabled-state-text-color: rgba(255, 255, 255, 0.5);--mtx-datetimepicker-time-input-text-color: white;--mtx-datetimepicker-time-input-background-color: rgba(255, 255, 255, 0.12);--mtx-datetimepicker-time-input-focus-state-background-color: #303030;--mtx-datetimepicker-time-input-warn-state-outline-color: #f44336;--mtx-datetimepicker-time-ampm-text-color: rgba(255, 255, 255, 0.75);--mtx-datetimepicker-time-ampm-outline-color: rgba(255, 255, 255, 0.5);--mtx-datetimepicker-time-ampm-selected-state-text-color: white}.mtx-datetimepicker-content.mat-accent{--mtx-datetimepicker-calendar-header-background-color: #69f0ae;--mtx-datetimepicker-calendar-date-selected-state-text-color: rgba(0, 0, 0, 0.87);--mtx-datetimepicker-calendar-date-selected-state-background-color: #69f0ae;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: rgba(105, 240, 174, 0.4);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: rgba(0, 0, 0, 0.87);--mtx-datetimepicker-calendar-date-focus-state-background-color: rgba(105, 240, 174, 0.3);--mtx-datetimepicker-calendar-date-hover-state-background-color: rgba(105, 240, 174, 0.3);--mtx-datetimepicker-clock-hand-background-color: #69f0ae;--mtx-datetimepicker-clock-cell-selected-state-background-color: #69f0ae;--mtx-datetimepicker-time-input-active-state-text-color: #69f0ae;--mtx-datetimepicker-time-input-active-state-background-color: rgba(105, 240, 174, 0.2);--mtx-datetimepicker-time-input-focus-state-outline-color: #69f0ae;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: rgba(105, 240, 174, 0.6);--mtx-datetimepicker-time-ampm-selected-state-background-color: rgba(105, 240, 174, 0.2)}.mtx-datetimepicker-content.mat-warn{--mtx-datetimepicker-calendar-header-background-color: #f44336;--mtx-datetimepicker-calendar-date-selected-state-text-color: white;--mtx-datetimepicker-calendar-date-selected-state-background-color: #f44336;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, 0.4);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: white;--mtx-datetimepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, 0.3);--mtx-datetimepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, 0.3);--mtx-datetimepicker-clock-hand-background-color: #f44336;--mtx-datetimepicker-clock-cell-selected-state-background-color: #f44336;--mtx-datetimepicker-time-input-active-state-text-color: #f44336;--mtx-datetimepicker-time-input-active-state-background-color: rgba(244, 67, 54, 0.2);--mtx-datetimepicker-time-input-focus-state-outline-color: #f44336;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: rgba(244, 67, 54, 0.6);--mtx-datetimepicker-time-ampm-selected-state-background-color: rgba(244, 67, 54, 0.2)}.mtx-datetimepicker-toggle-active.mat-accent{--mtx-datetimepicker-toggle-active-state-icon-color: #69f0ae}.mtx-datetimepicker-toggle-active.mat-warn{--mtx-datetimepicker-toggle-active-state-icon-color: #f44336}html{--mtx-datetimepicker-calendar-text-font: Roboto, sans-serif;--mtx-datetimepicker-calendar-text-size: 13px;--mtx-datetimepicker-calendar-body-label-text-size: 14px;--mtx-datetimepicker-calendar-body-label-text-weight: 500;--mtx-datetimepicker-calendar-period-button-text-size: 14px;--mtx-datetimepicker-calendar-period-button-text-weight: 500;--mtx-datetimepicker-calendar-table-header-text-size: 11px;--mtx-datetimepicker-calendar-table-header-text-weight: 400;--mtx-datetimepicker-clock-text-size: 14px}html{--mtx-drawer-container-shape: 0;--mtx-drawer-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)}html{--mtx-drawer-container-background-color: #424242;--mtx-drawer-container-text-color: white}html{--mtx-grid-container-shape: 0;--mtx-grid-table-cell-min-width: 80px}html{--mtx-grid-outline-color: rgba(255, 255, 255, 0.2);--mtx-grid-column-menu-text-color: white;--mtx-grid-column-menu-divider-color: rgba(255, 255, 255, 0.12);--mtx-grid-table-footer-background-color: #212121;--mtx-grid-table-row-striped-background-color: #3a3a3a;--mtx-grid-table-row-hover-background-color: #2a2a2a;--mtx-grid-table-row-selected-background-color: #2a2a2a;--mtx-grid-table-row-selected-hover-background-color: #1a1a1a;--mtx-grid-table-cell-selected-outline-color: #69f0ae;--mtx-grid-resizable-handle-active-background-color: #7b1fa2;--mtx-grid-resizable-handle-hover-background-color: #7b1fa2;--mtx-grid-resizable-handle-disabled-background-color: rgba(255, 255, 255, 0.12)}html{--mtx-grid-row-expand-button-size: 48px}html{--mtx-loader-backdrop-background-color: rgba(48, 48, 48, 0.75)}html{--mtx-popover-container-shape: 4px;--mtx-popover-base-elevation-level: 8}html{--mtx-popover-outline-color: rgba(255, 255, 255, 0.12);--mtx-popover-background-color: #424242;--mtx-popover-text-color: white}html{--mtx-progress-container-shape: 4px}html{--mtx-progress-track-color: rgba(255, 255, 255, 0.04);--mtx-progress-indicator-color: rgba(255, 255, 255, 0.12);--mtx-progress-text-color: white;--mtx-progress-info-indicator-color: #0d47a1;--mtx-progress-info-text-color: white;--mtx-progress-success-indicator-color: #1b5e20;--mtx-progress-success-text-color: white;--mtx-progress-warning-indicator-color: #e65100;--mtx-progress-warning-text-color: white;--mtx-progress-danger-indicator-color: #b71c1c;--mtx-progress-danger-text-color: white}html{--mtx-progress-text-size: 12px}html{--mtx-select-container-shape: 4px;--mtx-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}html{--mtx-select-option-selected-state-text-color: #7b1fa2;--mtx-select-container-text-color: white;--mtx-select-placeholder-text-color: rgba(255, 255, 255, 0.5);--mtx-select-disabled-text-color: rgba(255, 255, 255, 0.5);--mtx-select-multiple-value-background-color: #616161;--mtx-select-multiple-value-outline-color: rgba(255, 255, 255, 0.12);--mtx-select-multiple-value-disabled-outline-color: rgba(255, 255, 255, 0.06);--mtx-select-multiple-value-icon-hover-background-color: rgba(255, 255, 255, 0.12);--mtx-select-clear-icon-color: rgba(255, 255, 255, 0.7);--mtx-select-clear-icon-hover-color: #f44336;--mtx-select-enabled-arrow-color: rgba(255, 255, 255, 0.7);--mtx-select-disabled-arrow-color: rgba(255, 255, 255, 0.5);--mtx-select-invalid-arrow-color: #f44336;--mtx-select-panel-background-color: #424242;--mtx-select-panel-divider-color: rgba(255, 255, 255, 0.12);--mtx-select-optgroup-label-text-color: rgba(255, 255, 255, 0.7);--mtx-select-option-label-text-color: white;--mtx-select-option-selected-state-background-color: rgba(255, 255, 255, 0.04);--mtx-select-option-hover-state-background-color: rgba(255, 255, 255, 0.04);--mtx-select-option-disabled-state-text-color: rgba(255, 255, 255, 0.5)}.ng-dropdown-panel.mat-accent{--mtx-select-option-selected-state-text-color: #69f0ae}.ng-dropdown-panel.mat-warn{--mtx-select-option-selected-state-text-color: #f44336}html{--mtx-split-gutter-hover-state-background-color: #7b1fa2;--mtx-split-gutter-background-color: rgba(255, 255, 255, 0.12)}.mtx-split>.mtx-split-gutter.mat-accent:hover{--mtx-split-gutter-hover-state-background-color: #69f0ae}.mtx-split>.mtx-split-gutter.mat-warn:hover{--mtx-split-gutter-hover-state-background-color: #f44336}html{--mtx-tooltip-container-shape: 4px;--mtx-tooltip-supporting-text-line-height: 16px}html{--mtx-tooltip-container-color: #616161;--mtx-tooltip-supporting-text-color: #fff}html{--mtx-tooltip-supporting-text-font: Roboto, sans-serif;--mtx-tooltip-supporting-text-size: 12px;--mtx-tooltip-supporting-text-weight: 400;--mtx-tooltip-supporting-text-tracking: 0.0333333333em}
1
+ .mat-button-loading .mdc-button__label,.mat-button-loading .mat-icon{visibility:hidden}.mat-button-loading .mat-mdc-progress-spinner{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}html{--mtx-alert-container-shape: 4px}html{--mtx-alert-outline-color: transparent;--mtx-alert-background-color: #212121;--mtx-alert-text-color: white;--mtx-alert-info-outline-color: transparent;--mtx-alert-info-background-color: #0d47a1;--mtx-alert-info-text-color: white;--mtx-alert-success-outline-color: transparent;--mtx-alert-success-background-color: #1b5e20;--mtx-alert-success-text-color: white;--mtx-alert-warning-outline-color: transparent;--mtx-alert-warning-background-color: #ff6f00;--mtx-alert-warning-text-color: white;--mtx-alert-danger-outline-color: transparent;--mtx-alert-danger-background-color: #b71c1c;--mtx-alert-danger-text-color: white}html{--mtx-colorpicker-toggle-active-state-icon-color: #7b1fa2;--mtx-colorpicker-toggle-icon-color: rgba(255, 255, 255, 0.7)}.mtx-colorpicker-toggle-active.mat-accent{--mtx-colorpicker-toggle-active-state-icon-color: #69f0ae;--mtx-colorpicker-toggle-icon-color: rgba(255, 255, 255, 0.7)}.mtx-colorpicker-toggle-active.mat-warn{--mtx-colorpicker-toggle-active-state-icon-color: #f44336;--mtx-colorpicker-toggle-icon-color: rgba(255, 255, 255, 0.7)}html{--mtx-datetimepicker-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);--mtx-datetimepicker-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mtx-datetimepicker-container-shape: 4px;--mtx-datetimepicker-container-touch-shape: 4px;--mtx-datetimepicker-selector-container-shape: 4px}html{--mtx-datetimepicker-calendar-date-selected-state-text-color: white;--mtx-datetimepicker-calendar-date-selected-state-background-color: #7b1fa2;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #7b1fa2 38%, transparent);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: white;--mtx-datetimepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #7b1fa2 12%, transparent);--mtx-datetimepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #7b1fa2 12%, transparent);--mtx-datetimepicker-toggle-active-state-icon-color: #7b1fa2;--mtx-datetimepicker-toggle-icon-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-body-label-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-header-divider-color: transparent;--mtx-datetimepicker-calendar-header-text-color: white;--mtx-datetimepicker-calendar-body-week-number-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-header-background-color: #7b1fa2;--mtx-datetimepicker-calendar-table-header-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-date-today-outline-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-date-text-color: white;--mtx-datetimepicker-calendar-date-outline-color: transparent;--mtx-datetimepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mtx-datetimepicker-container-background-color: #424242;--mtx-datetimepicker-container-text-color: white;--mtx-datetimepicker-clock-dial-background-color: rgba(255, 255, 255, 0.12);--mtx-datetimepicker-clock-cell-text-color: white;--mtx-datetimepicker-clock-cell-hover-state-background-color: color-mix(in srgb, white 4%, transparent);--mtx-datetimepicker-clock-cell-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mtx-datetimepicker-clock-cell-selected-state-background-color: #7b1fa2;--mtx-datetimepicker-clock-hand-background-color: #7b1fa2;--mtx-datetimepicker-time-input-active-state-text-color: #7b1fa2;--mtx-datetimepicker-time-input-active-state-background-color: color-mix(in srgb, #7b1fa2 20%, transparent);--mtx-datetimepicker-time-input-focus-state-outline-color: #7b1fa2;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: color-mix(in srgb, #7b1fa2 60%, transparent);--mtx-datetimepicker-time-input-text-color: white;--mtx-datetimepicker-time-input-background-color: rgba(255, 255, 255, 0.12);--mtx-datetimepicker-time-input-warn-state-outline-color: #f44336;--mtx-datetimepicker-time-ampm-text-color: color-mix(in srgb, white 75%, transparent);--mtx-datetimepicker-time-ampm-outline-color: color-mix(in srgb, white 38%, transparent);--mtx-datetimepicker-time-ampm-selected-state-text-color: white;--mtx-datetimepicker-time-ampm-selected-state-background-color: color-mix(in srgb, #7b1fa2 20%, transparent)}.mtx-datetimepicker-content.mat-accent,.mtx-datetimepicker-toggle-active.mat-accent{--mtx-datetimepicker-calendar-date-selected-state-text-color: rgba(0, 0, 0, 0.87);--mtx-datetimepicker-calendar-date-selected-state-background-color: #69f0ae;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #69f0ae 38%, transparent);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: rgba(0, 0, 0, 0.87);--mtx-datetimepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #69f0ae 12%, transparent);--mtx-datetimepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #69f0ae 12%, transparent);--mtx-datetimepicker-toggle-active-state-icon-color: #69f0ae;--mtx-datetimepicker-toggle-icon-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-body-label-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-header-divider-color: transparent;--mtx-datetimepicker-calendar-header-text-color: white;--mtx-datetimepicker-calendar-body-week-number-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-header-background-color: #69f0ae;--mtx-datetimepicker-calendar-table-header-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-date-today-outline-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-date-text-color: white;--mtx-datetimepicker-calendar-date-outline-color: transparent;--mtx-datetimepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mtx-datetimepicker-container-background-color: #424242;--mtx-datetimepicker-container-text-color: white;--mtx-datetimepicker-clock-dial-background-color: rgba(255, 255, 255, 0.12);--mtx-datetimepicker-clock-cell-text-color: white;--mtx-datetimepicker-clock-cell-hover-state-background-color: color-mix(in srgb, white 4%, transparent);--mtx-datetimepicker-clock-cell-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mtx-datetimepicker-clock-cell-selected-state-background-color: #69f0ae;--mtx-datetimepicker-clock-hand-background-color: #69f0ae;--mtx-datetimepicker-time-input-active-state-text-color: #69f0ae;--mtx-datetimepicker-time-input-active-state-background-color: color-mix(in srgb, #69f0ae 20%, transparent);--mtx-datetimepicker-time-input-focus-state-outline-color: #69f0ae;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: color-mix(in srgb, #69f0ae 60%, transparent);--mtx-datetimepicker-time-input-text-color: white;--mtx-datetimepicker-time-input-background-color: rgba(255, 255, 255, 0.12);--mtx-datetimepicker-time-input-warn-state-outline-color: #f44336;--mtx-datetimepicker-time-ampm-text-color: color-mix(in srgb, white 75%, transparent);--mtx-datetimepicker-time-ampm-outline-color: color-mix(in srgb, white 38%, transparent);--mtx-datetimepicker-time-ampm-selected-state-text-color: white;--mtx-datetimepicker-time-ampm-selected-state-background-color: color-mix(in srgb, #69f0ae 20%, transparent)}.mtx-datetimepicker-content.mat-warn,.mtx-datetimepicker-toggle-active.mat-warn{--mtx-datetimepicker-calendar-date-selected-state-text-color: white;--mtx-datetimepicker-calendar-date-selected-state-background-color: #f44336;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: color-mix(in srgb, #f44336 38%, transparent);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: white;--mtx-datetimepicker-calendar-date-focus-state-background-color: color-mix(in srgb, #f44336 12%, transparent);--mtx-datetimepicker-calendar-date-hover-state-background-color: color-mix(in srgb, #f44336 12%, transparent);--mtx-datetimepicker-toggle-active-state-icon-color: #f44336;--mtx-datetimepicker-toggle-icon-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-body-label-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-header-divider-color: transparent;--mtx-datetimepicker-calendar-header-text-color: white;--mtx-datetimepicker-calendar-body-week-number-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-header-background-color: #f44336;--mtx-datetimepicker-calendar-table-header-text-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-date-today-outline-color: rgba(255, 255, 255, 0.7);--mtx-datetimepicker-calendar-date-text-color: white;--mtx-datetimepicker-calendar-date-outline-color: transparent;--mtx-datetimepicker-calendar-date-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mtx-datetimepicker-container-background-color: #424242;--mtx-datetimepicker-container-text-color: white;--mtx-datetimepicker-clock-dial-background-color: rgba(255, 255, 255, 0.12);--mtx-datetimepicker-clock-cell-text-color: white;--mtx-datetimepicker-clock-cell-hover-state-background-color: color-mix(in srgb, white 4%, transparent);--mtx-datetimepicker-clock-cell-disabled-state-text-color: color-mix(in srgb, white 38%, transparent);--mtx-datetimepicker-clock-cell-selected-state-background-color: #f44336;--mtx-datetimepicker-clock-hand-background-color: #f44336;--mtx-datetimepicker-time-input-active-state-text-color: #f44336;--mtx-datetimepicker-time-input-active-state-background-color: color-mix(in srgb, #f44336 20%, transparent);--mtx-datetimepicker-time-input-focus-state-outline-color: #f44336;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: color-mix(in srgb, #f44336 60%, transparent);--mtx-datetimepicker-time-input-text-color: white;--mtx-datetimepicker-time-input-background-color: rgba(255, 255, 255, 0.12);--mtx-datetimepicker-time-input-warn-state-outline-color: #f44336;--mtx-datetimepicker-time-ampm-text-color: color-mix(in srgb, white 75%, transparent);--mtx-datetimepicker-time-ampm-outline-color: color-mix(in srgb, white 38%, transparent);--mtx-datetimepicker-time-ampm-selected-state-text-color: white;--mtx-datetimepicker-time-ampm-selected-state-background-color: color-mix(in srgb, #f44336 20%, transparent)}html{--mtx-datetimepicker-calendar-text-font: Roboto, sans-serif;--mtx-datetimepicker-calendar-text-size: 13px;--mtx-datetimepicker-calendar-body-label-text-size: 14px;--mtx-datetimepicker-calendar-body-label-text-weight: 500;--mtx-datetimepicker-calendar-period-button-text-size: 14px;--mtx-datetimepicker-calendar-period-button-text-weight: 500;--mtx-datetimepicker-calendar-table-header-text-size: 11px;--mtx-datetimepicker-calendar-table-header-text-weight: 400;--mtx-datetimepicker-clock-text-size: 14px}html{--mtx-drawer-container-shape: 0;--mtx-drawer-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)}html{--mtx-drawer-container-background-color: #424242;--mtx-drawer-container-text-color: white}html{--mtx-grid-container-shape: 0;--mtx-grid-table-cell-min-width: 80px}html{--mtx-grid-outline-color: color-mix(in srgb, white 20%, transparent);--mtx-grid-column-menu-text-color: white;--mtx-grid-column-menu-divider-color: rgba(255, 255, 255, 0.12);--mtx-grid-table-footer-background-color: #424242;--mtx-grid-table-row-striped-background-color: #3a3a3a;--mtx-grid-table-row-hover-background-color: #2a2a2a;--mtx-grid-table-row-selected-background-color: #2a2a2a;--mtx-grid-table-row-selected-hover-background-color: #1a1a1a;--mtx-grid-table-cell-selected-outline-color: #69f0ae;--mtx-grid-resizable-handle-active-background-color: #7b1fa2;--mtx-grid-resizable-handle-hover-background-color: #7b1fa2;--mtx-grid-resizable-handle-disabled-background-color: rgba(255, 255, 255, 0.12)}html{--mtx-grid-row-expand-button-size: 48px}html{--mtx-loader-backdrop-background-color: color-mix(in srgb, #424242 75%, transparent)}html{--mtx-popover-container-shape: 4px;--mtx-popover-base-elevation-level: 8}html{--mtx-popover-outline-color: rgba(255, 255, 255, 0.12);--mtx-popover-background-color: #424242;--mtx-popover-text-color: white}html{--mtx-progress-container-shape: 4px}html{--mtx-progress-track-color: color-mix(in srgb, white 4%, transparent);--mtx-progress-indicator-color: rgba(255, 255, 255, 0.12);--mtx-progress-text-color: white;--mtx-progress-info-indicator-color: #0d47a1;--mtx-progress-info-text-color: white;--mtx-progress-success-indicator-color: #1b5e20;--mtx-progress-success-text-color: white;--mtx-progress-warning-indicator-color: #e65100;--mtx-progress-warning-text-color: white;--mtx-progress-danger-indicator-color: #b71c1c;--mtx-progress-danger-text-color: white}html{--mtx-progress-text-size: 12px}html{--mtx-select-container-shape: 4px;--mtx-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}html{--mtx-select-container-text-color: white;--mtx-select-placeholder-text-color: color-mix(in srgb, white 38%, transparent);--mtx-select-disabled-text-color: color-mix(in srgb, white 38%, transparent);--mtx-select-multiple-value-background-color: rgba(255, 255, 255, 0.12);--mtx-select-multiple-value-outline-color: rgba(255, 255, 255, 0.12);--mtx-select-multiple-value-disabled-outline-color: color-mix(in srgb, rgba(255, 255, 255, 0.12) 38%, transparent);--mtx-select-multiple-value-icon-hover-background-color: rgba(255, 255, 255, 0.12);--mtx-select-clear-icon-color: rgba(255, 255, 255, 0.7);--mtx-select-clear-icon-hover-color: #f44336;--mtx-select-enabled-arrow-color: rgba(255, 255, 255, 0.7);--mtx-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mtx-select-invalid-arrow-color: #f44336;--mtx-select-panel-background-color: #424242;--mtx-select-panel-divider-color: rgba(255, 255, 255, 0.12);--mtx-select-optgroup-label-text-color: rgba(255, 255, 255, 0.7);--mtx-select-option-label-text-color: white;--mtx-select-option-selected-state-text-color: #7b1fa2;--mtx-select-option-selected-state-background-color: color-mix(in srgb, white 4%, transparent);--mtx-select-option-hover-state-background-color: color-mix(in srgb, white 4%, transparent);--mtx-select-option-disabled-state-text-color: color-mix(in srgb, white 38%, transparent)}.ng-dropdown-panel.mat-accent{--mtx-select-container-text-color: white;--mtx-select-placeholder-text-color: color-mix(in srgb, white 38%, transparent);--mtx-select-disabled-text-color: color-mix(in srgb, white 38%, transparent);--mtx-select-multiple-value-background-color: rgba(255, 255, 255, 0.12);--mtx-select-multiple-value-outline-color: rgba(255, 255, 255, 0.12);--mtx-select-multiple-value-disabled-outline-color: color-mix(in srgb, rgba(255, 255, 255, 0.12) 38%, transparent);--mtx-select-multiple-value-icon-hover-background-color: rgba(255, 255, 255, 0.12);--mtx-select-clear-icon-color: rgba(255, 255, 255, 0.7);--mtx-select-clear-icon-hover-color: #f44336;--mtx-select-enabled-arrow-color: rgba(255, 255, 255, 0.7);--mtx-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mtx-select-invalid-arrow-color: #f44336;--mtx-select-panel-background-color: #424242;--mtx-select-panel-divider-color: rgba(255, 255, 255, 0.12);--mtx-select-optgroup-label-text-color: rgba(255, 255, 255, 0.7);--mtx-select-option-label-text-color: white;--mtx-select-option-selected-state-text-color: #69f0ae;--mtx-select-option-selected-state-background-color: color-mix(in srgb, white 4%, transparent);--mtx-select-option-hover-state-background-color: color-mix(in srgb, white 4%, transparent);--mtx-select-option-disabled-state-text-color: color-mix(in srgb, white 38%, transparent)}.ng-dropdown-panel.mat-warn{--mtx-select-container-text-color: white;--mtx-select-placeholder-text-color: color-mix(in srgb, white 38%, transparent);--mtx-select-disabled-text-color: color-mix(in srgb, white 38%, transparent);--mtx-select-multiple-value-background-color: rgba(255, 255, 255, 0.12);--mtx-select-multiple-value-outline-color: rgba(255, 255, 255, 0.12);--mtx-select-multiple-value-disabled-outline-color: color-mix(in srgb, rgba(255, 255, 255, 0.12) 38%, transparent);--mtx-select-multiple-value-icon-hover-background-color: rgba(255, 255, 255, 0.12);--mtx-select-clear-icon-color: rgba(255, 255, 255, 0.7);--mtx-select-clear-icon-hover-color: #f44336;--mtx-select-enabled-arrow-color: rgba(255, 255, 255, 0.7);--mtx-select-disabled-arrow-color: color-mix(in srgb, white 38%, transparent);--mtx-select-invalid-arrow-color: #f44336;--mtx-select-panel-background-color: #424242;--mtx-select-panel-divider-color: rgba(255, 255, 255, 0.12);--mtx-select-optgroup-label-text-color: rgba(255, 255, 255, 0.7);--mtx-select-option-label-text-color: white;--mtx-select-option-selected-state-text-color: #f44336;--mtx-select-option-selected-state-background-color: color-mix(in srgb, white 4%, transparent);--mtx-select-option-hover-state-background-color: color-mix(in srgb, white 4%, transparent);--mtx-select-option-disabled-state-text-color: color-mix(in srgb, white 38%, transparent)}html{--mtx-split-gutter-background-color: rgba(255, 255, 255, 0.12);--mtx-split-gutter-hover-state-background-color: #7b1fa2}.mtx-split>.mtx-split-gutter.mat-accent:hover{--mtx-split-gutter-background-color: rgba(255, 255, 255, 0.12);--mtx-split-gutter-hover-state-background-color: #69f0ae}.mtx-split>.mtx-split-gutter.mat-warn:hover{--mtx-split-gutter-background-color: rgba(255, 255, 255, 0.12);--mtx-split-gutter-hover-state-background-color: #f44336}html{--mtx-tooltip-container-shape: 4px;--mtx-tooltip-supporting-text-line-height: 16px}html{--mtx-tooltip-container-color: white;--mtx-tooltip-supporting-text-color: rgba(0, 0, 0, 0.87)}html{--mtx-tooltip-supporting-text-font: Roboto, sans-serif;--mtx-tooltip-supporting-text-size: 12px;--mtx-tooltip-supporting-text-weight: 400;--mtx-tooltip-supporting-text-tracking: 0.0333333333em}
@@ -1 +1 @@
1
- html{--mat-sys-background: #fff8f8;--mat-sys-error: #ba1a1a;--mat-sys-error-container: #ffdad6;--mat-sys-inverse-on-surface: #faeeef;--mat-sys-inverse-primary: #ffb1c5;--mat-sys-inverse-surface: #352f30;--mat-sys-on-background: #201a1b;--mat-sys-on-error: #ffffff;--mat-sys-on-error-container: #93000a;--mat-sys-on-primary: #ffffff;--mat-sys-on-primary-container: #8f0045;--mat-sys-on-primary-fixed: #3f001b;--mat-sys-on-primary-fixed-variant: #8f0045;--mat-sys-on-secondary: #ffffff;--mat-sys-on-secondary-container: #5b3f46;--mat-sys-on-secondary-fixed: #2b151b;--mat-sys-on-secondary-fixed-variant: #5b3f46;--mat-sys-on-surface: #201a1b;--mat-sys-on-surface-variant: #514346;--mat-sys-on-tertiary: #ffffff;--mat-sys-on-tertiary-container: #930100;--mat-sys-on-tertiary-fixed: #410000;--mat-sys-on-tertiary-fixed-variant: #930100;--mat-sys-outline: #847376;--mat-sys-outline-variant: #d6c2c5;--mat-sys-primary: #ba005c;--mat-sys-primary-container: #ffd9e1;--mat-sys-primary-fixed: #ffd9e1;--mat-sys-primary-fixed-dim: #ffb1c5;--mat-sys-scrim: #000000;--mat-sys-secondary: #74565d;--mat-sys-secondary-container: #ffd9e1;--mat-sys-secondary-fixed: #ffd9e1;--mat-sys-secondary-fixed-dim: #e3bdc5;--mat-sys-shadow: #000000;--mat-sys-surface: #fff8f8;--mat-sys-surface-bright: #fff8f8;--mat-sys-surface-container: #f7ebec;--mat-sys-surface-container-high: #f1e5e6;--mat-sys-surface-container-highest: #ece0e1;--mat-sys-surface-container-low: #fdf1f2;--mat-sys-surface-container-lowest: #ffffff;--mat-sys-surface-dim: #e3d7d8;--mat-sys-surface-tint: #ba005c;--mat-sys-surface-variant: #f3dde1;--mat-sys-tertiary: #c00100;--mat-sys-tertiary-container: #ffdad4;--mat-sys-tertiary-fixed: #ffdad4;--mat-sys-tertiary-fixed-dim: #ffb4a8;--mat-sys-neutral-variant20: #3a2d30;--mat-sys-neutral10: #201a1b}html{--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}html{--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)}html{--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 1px 8px 0px rgba(0, 0, 0, 0.12)}html{--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}html{--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}html{--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}html{--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: 0.031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 0.875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: 0.875rem;--mat-sys-body-medium-tracking: 0.016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 0.75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: 0.75rem;--mat-sys-body-small-tracking: 0.025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto, sans-serif;--mat-sys-display-large-font: Roboto, sans-serif;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -0.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto, sans-serif;--mat-sys-display-medium-font: Roboto, sans-serif;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto, sans-serif;--mat-sys-display-small-font: Roboto, sans-serif;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto, sans-serif;--mat-sys-headline-large-font: Roboto, sans-serif;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto, sans-serif;--mat-sys-headline-medium-font: Roboto, sans-serif;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto, sans-serif;--mat-sys-headline-small-font: Roboto, sans-serif;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 0.875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: 0.875rem;--mat-sys-label-large-tracking: 0.006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 0.75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: 0.75rem;--mat-sys-label-medium-tracking: 0.031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 0.688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: 0.688rem;--mat-sys-label-small-tracking: 0.031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto, sans-serif;--mat-sys-title-large-font: Roboto, sans-serif;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: 0.009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 0.875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: 0.875rem;--mat-sys-title-small-tracking: 0.006rem;--mat-sys-title-small-weight: 500}html{--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px}html{--mat-sys-dragged-state-layer-opacity: 0.16;--mat-sys-focus-state-layer-opacity: 0.12;--mat-sys-hover-state-layer-opacity: 0.08;--mat-sys-pressed-state-layer-opacity: 0.12}
1
+ html{--mat-sys-background: #fff8f8;--mat-sys-error: #ba1a1a;--mat-sys-error-container: #ffdad6;--mat-sys-inverse-on-surface: #faeeef;--mat-sys-inverse-primary: #ffb1c5;--mat-sys-inverse-surface: #352f30;--mat-sys-on-background: #201a1b;--mat-sys-on-error: #ffffff;--mat-sys-on-error-container: #93000a;--mat-sys-on-primary: #ffffff;--mat-sys-on-primary-container: #8f0045;--mat-sys-on-primary-fixed: #3f001b;--mat-sys-on-primary-fixed-variant: #8f0045;--mat-sys-on-secondary: #ffffff;--mat-sys-on-secondary-container: #5b3f46;--mat-sys-on-secondary-fixed: #2b151b;--mat-sys-on-secondary-fixed-variant: #5b3f46;--mat-sys-on-surface: #201a1b;--mat-sys-on-surface-variant: #514346;--mat-sys-on-tertiary: #ffffff;--mat-sys-on-tertiary-container: #930100;--mat-sys-on-tertiary-fixed: #410000;--mat-sys-on-tertiary-fixed-variant: #930100;--mat-sys-outline: #847376;--mat-sys-outline-variant: #d6c2c5;--mat-sys-primary: #ba005c;--mat-sys-primary-container: #ffd9e1;--mat-sys-primary-fixed: #ffd9e1;--mat-sys-primary-fixed-dim: #ffb1c5;--mat-sys-scrim: #000000;--mat-sys-secondary: #74565d;--mat-sys-secondary-container: #ffd9e1;--mat-sys-secondary-fixed: #ffd9e1;--mat-sys-secondary-fixed-dim: #e3bdc5;--mat-sys-shadow: #000000;--mat-sys-surface: #fff8f8;--mat-sys-surface-bright: #fff8f8;--mat-sys-surface-container: #f7ebec;--mat-sys-surface-container-high: #f1e5e6;--mat-sys-surface-container-highest: #ece0e1;--mat-sys-surface-container-low: #fdf1f2;--mat-sys-surface-container-lowest: #ffffff;--mat-sys-surface-dim: #e3d7d8;--mat-sys-surface-tint: #ba005c;--mat-sys-surface-variant: #f3dde1;--mat-sys-tertiary: #c00100;--mat-sys-tertiary-container: #ffdad4;--mat-sys-tertiary-fixed: #ffdad4;--mat-sys-tertiary-fixed-dim: #ffb4a8;--mat-sys-neutral-variant20: #3a2d30;--mat-sys-neutral10: #201a1b;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 1px 8px 0px rgba(0, 0, 0, 0.12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12);--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: 0.031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 0.875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: 0.875rem;--mat-sys-body-medium-tracking: 0.016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 0.75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: 0.75rem;--mat-sys-body-small-tracking: 0.025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto, sans-serif;--mat-sys-display-large-font: Roboto, sans-serif;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -0.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto, sans-serif;--mat-sys-display-medium-font: Roboto, sans-serif;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto, sans-serif;--mat-sys-display-small-font: Roboto, sans-serif;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto, sans-serif;--mat-sys-headline-large-font: Roboto, sans-serif;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto, sans-serif;--mat-sys-headline-medium-font: Roboto, sans-serif;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto, sans-serif;--mat-sys-headline-small-font: Roboto, sans-serif;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 0.875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: 0.875rem;--mat-sys-label-large-tracking: 0.006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 0.75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: 0.75rem;--mat-sys-label-medium-tracking: 0.031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 0.688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: 0.688rem;--mat-sys-label-small-tracking: 0.031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto, sans-serif;--mat-sys-title-large-font: Roboto, sans-serif;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: 0.009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 0.875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: 0.875rem;--mat-sys-title-small-tracking: 0.006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: 0.16;--mat-sys-focus-state-layer-opacity: 0.12;--mat-sys-hover-state-layer-opacity: 0.08;--mat-sys-pressed-state-layer-opacity: 0.12}
@@ -1,53 +1,38 @@
1
1
  @use 'sass:map';
2
+ @use 'sass:meta';
2
3
  @use '@angular/material' as mat;
3
4
  @use '../core/tokens/m2-utils';
5
+ @use '../core/tokens/m3-utils';
4
6
 
5
- // Tokens that can't be configured through Angular Material's current theming API,
6
- // but may be in a future version of the theming API.
7
- @function get-unthemable-tokens() {
8
- @return (
9
- progress-container-shape: 4px,
10
- );
11
- }
7
+ @function get-tokens($theme) {
8
+ $system: m2-utils.get-system($theme);
12
9
 
13
- // Tokens that can be configured through Angular Material's color theming API.
14
- @function get-color-tokens($theme) {
15
- $is-dark: mat.get-theme-type($theme) == dark;
16
-
17
- @return (
18
- progress-track-color: mat.get-theme-color($theme, background, hover),
19
- progress-indicator-color: mat.get-theme-color($theme, foreground, divider),
20
- progress-text-color: mat.get-theme-color($theme, foreground, text),
21
- progress-info-indicator-color: mat.m2-get-color-from-palette(mat.$m2-blue-palette, if($is-dark, 900, 500)),
22
- progress-info-text-color: white,
23
- progress-success-indicator-color: mat.m2-get-color-from-palette(mat.$m2-green-palette, if($is-dark, 900, 500)),
24
- progress-success-text-color: white,
25
- progress-warning-indicator-color: mat.m2-get-color-from-palette(mat.$m2-orange-palette, if($is-dark, 900, 500)),
26
- progress-warning-text-color: white,
27
- progress-danger-indicator-color: mat.m2-get-color-from-palette(mat.$m2-red-palette, if($is-dark, 900, 500)),
28
- progress-danger-text-color: white,
29
- );
30
- }
10
+ $is-dark: false;
11
+ @if meta.type-of($theme) == 'map' {
12
+ $is-dark: mat.get-theme-type($theme) == dark;
13
+ }
31
14
 
32
- // Tokens that can be configured through Angular Material's typography theming API.
33
- @function get-typography-tokens($theme) {
34
15
  @return (
35
- progress-text-size: 12px,
36
- );
37
- }
38
-
39
- // Tokens that can be configured through Angular Material's density theming API.
40
- @function get-density-tokens($theme) {
41
- @return ();
42
- }
43
-
44
- // Combines the tokens generated by the above functions into a single map with placeholder values.
45
- // This is used to create token slots.
46
- @function get-token-slots() {
47
- @return mat.private-deep-merge-all(
48
- get-unthemable-tokens(),
49
- get-color-tokens(m2-utils.$placeholder-color-config),
50
- get-typography-tokens(m2-utils.$placeholder-typography-config),
51
- get-density-tokens(m2-utils.$placeholder-density-config)
16
+ base: (
17
+ progress-container-shape: 4px,
18
+ ),
19
+ color: (
20
+ progress-track-color: m3-utils.color-with-opacity(
21
+ map.get($system, on-surface), map.get($system, hover-state-layer-opacity)),
22
+ progress-indicator-color: map.get($system, outline),
23
+ progress-text-color: map.get($system, on-surface),
24
+ progress-info-indicator-color: mat.m2-get-color-from-palette(mat.$m2-blue-palette, if($is-dark, 900, 500)),
25
+ progress-info-text-color: white,
26
+ progress-success-indicator-color: mat.m2-get-color-from-palette(mat.$m2-green-palette, if($is-dark, 900, 500)),
27
+ progress-success-text-color: white,
28
+ progress-warning-indicator-color: mat.m2-get-color-from-palette(mat.$m2-orange-palette, if($is-dark, 900, 500)),
29
+ progress-warning-text-color: white,
30
+ progress-danger-indicator-color: mat.m2-get-color-from-palette(mat.$m2-red-palette, if($is-dark, 900, 500)),
31
+ progress-danger-text-color: white,
32
+ ),
33
+ typography: (
34
+ progress-text-size: 12px,
35
+ ),
36
+ density: ()
52
37
  );
53
38
  }
@@ -5,47 +5,39 @@
5
5
  @use './m3-progress';
6
6
 
7
7
  @mixin base($theme) {
8
+ $tokens: map.get(m2-progress.get-tokens($theme), base);
8
9
  @if mat.get-theme-version($theme) == 1 {
9
- @include token-utils.create-token-values(map.get(m3-progress.get-tokens($theme), base));
10
- }
11
- @else {
12
- @include mat.private-current-selector-or-root() {
13
- @include token-utils.create-token-values-mixed(m2-progress.get-unthemable-tokens());
14
- }
10
+ $tokens: map.get(m3-progress.get-tokens($theme), base);
15
11
  }
12
+
13
+ @include token-utils.values($tokens);
16
14
  }
17
15
 
18
16
  @mixin color($theme) {
17
+ $tokens: map.get(m2-progress.get-tokens($theme), color);
19
18
  @if mat.get-theme-version($theme) == 1 {
20
- @include token-utils.create-token-values(map.get(m3-progress.get-tokens($theme), color));
21
- }
22
- @else {
23
- @include mat.private-current-selector-or-root() {
24
- @include token-utils.create-token-values(m2-progress.get-color-tokens($theme));
25
- }
19
+ $tokens: map.get(m3-progress.get-tokens($theme), color);
26
20
  }
21
+
22
+ @include token-utils.values($tokens);
27
23
  }
28
24
 
29
25
  @mixin typography($theme) {
26
+ $tokens: map.get(m2-progress.get-tokens($theme), typography);
30
27
  @if mat.get-theme-version($theme) == 1 {
31
- @include token-utils.create-token-values(map.get(m3-progress.get-tokens($theme), typography));
32
- }
33
- @else {
34
- @include mat.private-current-selector-or-root() {
35
- @include token-utils.create-token-values(m2-progress.get-typography-tokens($theme));
36
- }
28
+ $tokens: map.get(m3-progress.get-tokens($theme), typography);
37
29
  }
30
+
31
+ @include token-utils.values($tokens);
38
32
  }
39
33
 
40
34
  @mixin density($theme) {
35
+ $tokens: map.get(m2-progress.get-tokens($theme), density);
41
36
  @if mat.get-theme-version($theme) == 1 {
42
- @include token-utils.create-token-values(map.get(m3-progress.get-tokens($theme), density));
43
- }
44
- @else {
45
- @include mat.private-current-selector-or-root() {
46
- @include token-utils.create-token-values-mixed(m2-progress.get-density-tokens($theme));
47
- }
37
+ $tokens: map.get(m3-progress.get-tokens($theme), density);
48
38
  }
39
+
40
+ @include token-utils.values($tokens);
49
41
  }
50
42
 
51
43
  /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
@@ -68,8 +60,7 @@
68
60
  @include color($theme);
69
61
  @include density($theme);
70
62
  @include typography($theme);
71
- }
72
- @else {
63
+ } @else {
73
64
  @include base($theme);
74
65
  @if mat.theme-has($theme, color) {
75
66
  @include color($theme);
@@ -1,79 +1,52 @@
1
1
  @use 'sass:map';
2
- @use 'sass:math';
3
- @use '@angular/material' as mat;
4
2
  @use '../core/tokens/m2-utils';
3
+ @use '../core/tokens/m3-utils';
5
4
  @use '../core/style/elevation';
6
5
 
7
- // Generates the tokens used to theme the option based on a palette.
8
- @function private-get-color-palette-color-tokens($theme, $palette-name) {
6
+ @function get-tokens($theme) {
9
7
  @return (
10
- select-option-selected-state-text-color: mat.get-theme-color($theme, $palette-name),
11
- );
12
- }
13
-
14
- // Tokens that can't be configured through Angular Material's current theming API,
15
- // but may be in a future version of the theming API.
16
- @function get-unthemable-tokens() {
17
- @return (
18
- select-container-shape: 4px,
19
- select-container-elevation-shadow: elevation.get-box-shadow(8),
8
+ base: (
9
+ select-container-shape: 4px,
10
+ select-container-elevation-shadow: elevation.get-box-shadow(8),
11
+ ),
12
+ color: private-get-color-palette-color-tokens($theme, primary),
13
+ typography: (),
14
+ density: ()
20
15
  );
21
16
  }
22
17
 
23
18
  // Tokens that can be configured through Angular Material's color theming API.
24
- @function get-color-tokens($theme) {
25
- $text-color: mat.get-theme-color($theme, foreground, text);
26
- $hint-text-color: mat.get-theme-color($theme, foreground, hint-text);
27
- $secondary-text-color: mat.get-theme-color($theme, foreground, secondary-text);
28
- $disabled-text-color: mat.get-theme-color($theme, foreground, disabled-text);
29
- $divider-color: mat.get-theme-color($theme, foreground, divider);
30
- $hover-color: mat.get-theme-color($theme, background, hover);
31
- $palette-tokens: private-get-color-palette-color-tokens($theme, primary);
32
-
33
- @return map.merge($palette-tokens, (
34
- select-container-text-color: $text-color,
35
- select-placeholder-text-color: $hint-text-color,
36
- select-disabled-text-color: $hint-text-color,
37
-
38
- select-multiple-value-background-color: mat.get-theme-color($theme, background, unselected-chip),
39
- select-multiple-value-outline-color: $divider-color,
40
- select-multiple-value-disabled-outline-color: mat.get-theme-color($theme, foreground, divider, 0.06),
41
- select-multiple-value-icon-hover-background-color: $divider-color,
42
-
43
- select-clear-icon-color: $secondary-text-color,
44
- select-clear-icon-hover-color: mat.get-theme-color($theme, warn),
45
-
46
- select-enabled-arrow-color: $secondary-text-color,
47
- select-disabled-arrow-color: $disabled-text-color,
48
- select-invalid-arrow-color: mat.get-theme-color($theme, warn),
19
+ @function private-get-color-palette-color-tokens($theme, $color-variant) {
20
+ $system: m2-utils.get-system($theme);
21
+ $system: m3-utils.replace-colors-with-variant($system, primary, $color-variant);
49
22
 
50
- select-panel-background-color: mat.get-theme-color($theme, background, card),
51
- select-panel-divider-color: $divider-color,
52
- select-optgroup-label-text-color: $secondary-text-color,
53
- select-option-label-text-color: $text-color,
54
- select-option-selected-state-background-color: $hover-color,
55
- select-option-hover-state-background-color: $hover-color,
56
- select-option-disabled-state-text-color: $hint-text-color,
57
- ));
58
- }
59
-
60
- // Tokens that can be configured through Angular Material's typography theming API.
61
- @function get-typography-tokens($theme) {
62
- @return ();
63
- }
64
-
65
- // Tokens that can be configured through Angular Material's density theming API.
66
- @function get-density-tokens($theme) {
67
- @return ();
68
- }
69
-
70
- // Combines the tokens generated by the above functions into a single map with placeholder values.
71
- // This is used to create token slots.
72
- @function get-token-slots() {
73
- @return mat.private-deep-merge-all(
74
- get-unthemable-tokens(),
75
- get-color-tokens(m2-utils.$placeholder-color-config),
76
- get-typography-tokens(m2-utils.$placeholder-typography-config),
77
- get-density-tokens(m2-utils.$placeholder-density-config)
23
+ @return (
24
+ select-container-text-color: map.get($system, on-surface),
25
+ select-placeholder-text-color: m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
26
+ select-disabled-text-color: m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
27
+
28
+ select-multiple-value-background-color: map.get($system, outline),
29
+ select-multiple-value-outline-color: map.get($system, outline),
30
+ select-multiple-value-disabled-outline-color: m3-utils.color-with-opacity(map.get($system, outline), 38%),
31
+ select-multiple-value-icon-hover-background-color: map.get($system, outline),
32
+
33
+ select-clear-icon-color: map.get($system, on-surface-variant),
34
+ select-clear-icon-hover-color: map.get($system, error),
35
+
36
+ select-enabled-arrow-color: map.get($system, on-surface-variant),
37
+ select-disabled-arrow-color: m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
38
+ select-invalid-arrow-color: map.get($system, error),
39
+
40
+ select-panel-background-color: map.get($system, surface),
41
+ select-panel-divider-color: map.get($system, outline),
42
+ select-optgroup-label-text-color: map.get($system, on-surface-variant),
43
+ select-option-label-text-color: map.get($system, on-surface),
44
+ select-option-selected-state-text-color: map.get($system, primary),
45
+ select-option-selected-state-background-color: m3-utils.color-with-opacity(
46
+ map.get($system, on-surface), map.get($system, hover-state-layer-opacity)),
47
+ select-option-hover-state-background-color: m3-utils.color-with-opacity(
48
+ map.get($system, on-surface), map.get($system, hover-state-layer-opacity)),
49
+ select-option-disabled-state-text-color: m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
78
50
  );
79
51
  }
52
+
@@ -35,7 +35,8 @@
35
35
  select-option-label-text-color: map.get($system, on-surface),
36
36
  select-option-selected-state-background-color: map.get($system, secondary-container),
37
37
  select-option-selected-state-text-color: map.get($system, on-surface),
38
- select-option-hover-state-background-color: m3-utils.color-with-opacity(map.get($system, on-surface), map.get($system,hover-state-layer-opacity)),
38
+ select-option-hover-state-background-color: m3-utils.color-with-opacity(
39
+ map.get($system, on-surface), map.get($system,hover-state-layer-opacity)),
39
40
  select-option-disabled-state-text-color: m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
40
41
  ),
41
42
  typography: (),
@@ -5,59 +5,53 @@
5
5
  @use './m3-select';
6
6
 
7
7
  @mixin base($theme) {
8
+ $tokens: map.get(m2-select.get-tokens($theme), base);
8
9
  @if mat.get-theme-version($theme) == 1 {
9
- @include token-utils.create-token-values(map.get(m3-select.get-tokens($theme), base));
10
- }
11
- @else {
12
- @include mat.private-current-selector-or-root() {
13
- @include token-utils.create-token-values-mixed(m2-select.get-unthemable-tokens());
14
- }
10
+ $tokens: map.get(m3-select.get-tokens($theme), base);
15
11
  }
12
+
13
+ @include token-utils.values($tokens);
16
14
  }
17
15
 
18
16
  @mixin color($theme, $color-variant: null) {
17
+ $tokens: map.get(m2-select.get-tokens($theme), color);
19
18
  @if mat.get-theme-version($theme) == 1 {
20
- @include token-utils.create-token-values(map.get(m3-select.get-tokens($theme, $color-variant), color));
19
+ $tokens: map.get(m3-select.get-tokens($theme, $color-variant), color);
21
20
  }
22
- @else {
23
- @include mat.private-current-selector-or-root() {
24
- @include token-utils.create-token-values-mixed(m2-select.get-color-tokens($theme));
25
- }
26
21
 
22
+ @include token-utils.values($tokens);
23
+
24
+ @if mat.get-theme-version($theme) != 1 {
27
25
  .ng-dropdown-panel {
28
26
  &.mat-accent {
29
- $accent-tokens: m2-select.private-get-color-palette-color-tokens($theme, accent);
30
- @include token-utils.create-token-values-mixed($accent-tokens);
27
+ $tokens: m2-select.private-get-color-palette-color-tokens($theme, secondary);
28
+ @include token-utils.values($tokens);
31
29
  }
32
30
 
33
31
  &.mat-warn {
34
- $warn-tokens: m2-select.private-get-color-palette-color-tokens($theme, warn);
35
- @include token-utils.create-token-values-mixed($warn-tokens);
32
+ $tokens: m2-select.private-get-color-palette-color-tokens($theme, error);
33
+ @include token-utils.values($tokens);
36
34
  }
37
35
  }
38
36
  }
39
37
  }
40
38
 
41
39
  @mixin typography($theme) {
40
+ $tokens: map.get(m2-select.get-tokens($theme), typography);
42
41
  @if mat.get-theme-version($theme) == 1 {
43
- @include token-utils.create-token-values(map.get(m3-select.get-tokens($theme), typography));
44
- }
45
- @else {
46
- @include mat.private-current-selector-or-root() {
47
- @include token-utils.create-token-values-mixed(m2-select.get-typography-tokens($theme));
48
- }
42
+ $tokens: map.get(m3-select.get-tokens($theme), typography);
49
43
  }
44
+
45
+ @include token-utils.values($tokens);
50
46
  }
51
47
 
52
48
  @mixin density($theme) {
49
+ $tokens: map.get(m2-select.get-tokens($theme), density);
53
50
  @if mat.get-theme-version($theme) == 1 {
54
- @include token-utils.create-token-values(map.get(m3-select.get-tokens($theme), density));
55
- }
56
- @else {
57
- @include mat.private-current-selector-or-root() {
58
- @include token-utils.create-token-values-mixed(m2-select.get-density-tokens($theme));
59
- }
51
+ $tokens: map.get(m3-select.get-tokens($theme), density);
60
52
  }
53
+
54
+ @include token-utils.values($tokens);
61
55
  }
62
56
 
63
57
  /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
@@ -80,8 +74,7 @@
80
74
  @include color($theme, $color-variant);
81
75
  @include density($theme);
82
76
  @include typography($theme);
83
- }
84
- @else {
77
+ } @else {
85
78
  @include base($theme);
86
79
  @if mat.theme-has($theme, color) {
87
80
  @include color($theme);
@@ -3,45 +3,24 @@
3
3
  @use 'sass:meta';
4
4
  @use '@angular/material' as mat;
5
5
  @use '../core/tokens/m2-utils';
6
+ @use '../core/tokens/m3-utils';
6
7
 
7
- @function private-get-color-palette-color-tokens($theme, $palette-name) {
8
+ @function get-tokens($theme) {
8
9
  @return (
9
- split-gutter-hover-state-background-color: mat.get-theme-color($theme, $palette-name, text),
10
+ base: (),
11
+ color: private-get-color-palette-color-tokens($theme, primary),
12
+ typography: (),
13
+ density: ()
10
14
  );
11
15
  }
12
16
 
13
- // Tokens that can't be configured through Angular Material's current theming API,
14
- // but may be in a future version of the theming API.
15
- @function get-unthemable-tokens() {
16
- @return ();
17
- }
18
-
19
17
  // Tokens that can be configured through Angular Material's color theming API.
20
- @function get-color-tokens($theme) {
21
- $gutter-tokens: private-get-color-palette-color-tokens($theme, primary);
22
-
23
- @return mat.private-merge-all($gutter-tokens, (
24
- split-gutter-background-color: mat.get-theme-color($theme, foreground, divider),
25
- ));
26
- }
27
-
28
- // Tokens that can be configured through Angular Material's typography theming API.
29
- @function get-typography-tokens($theme) {
30
- @return ();
31
- }
32
-
33
- // Tokens that can be configured through Angular Material's density theming API.
34
- @function get-density-tokens($theme) {
35
- @return ();
36
- }
18
+ @function private-get-color-palette-color-tokens($theme, $color-variant) {
19
+ $system: m2-utils.get-system($theme);
20
+ $system: m3-utils.replace-colors-with-variant($system, primary, $color-variant);
37
21
 
38
- // Combines the tokens generated by the above functions into a single map with placeholder values.
39
- // This is used to create token slots.
40
- @function get-token-slots() {
41
- @return mat.private-deep-merge-all(
42
- get-unthemable-tokens(),
43
- get-color-tokens(m2-utils.$placeholder-color-config),
44
- get-typography-tokens(m2-utils.$placeholder-typography-config),
45
- get-density-tokens(m2-utils.$placeholder-density-config)
46
- );
22
+ @return (
23
+ split-gutter-background-color: map.get($system, outline),
24
+ split-gutter-hover-state-background-color: map.get($system, primary),
25
+ )
47
26
  }
@@ -5,59 +5,51 @@
5
5
  @use './m3-split';
6
6
 
7
7
  @mixin base($theme) {
8
+ $tokens: map.get(m2-split.get-tokens($theme), base);
8
9
  @if mat.get-theme-version($theme) == 1 {
9
- @include token-utils.create-token-values(map.get(m3-split.get-tokens($theme), base));
10
- }
11
- @else {
12
- @include mat.private-current-selector-or-root() {
13
- @include token-utils.create-token-values-mixed(m2-split.get-unthemable-tokens());
14
- }
10
+ $tokens: map.get(m3-split.get-tokens($theme), base);
15
11
  }
16
12
  }
17
13
 
18
14
  @mixin color($theme, $color-variant: null) {
15
+ $tokens: map.get(m2-split.get-tokens($theme), color);
19
16
  @if mat.get-theme-version($theme) == 1 {
20
- @include token-utils.create-token-values(map.get(m3-split.get-tokens($theme, $color-variant), color));
17
+ $tokens: map.get(m3-split.get-tokens($theme, $color-variant), color);
21
18
  }
22
- @else {
23
- @include mat.private-current-selector-or-root() {
24
- @include token-utils.create-token-values-mixed(m2-split.get-color-tokens($theme));
25
- }
26
19
 
27
- .mtx-split>.mtx-split-gutter {
20
+ @include token-utils.values($tokens);
21
+
22
+ @if mat.get-theme-version($theme) != 1 {
23
+ .mtx-split > .mtx-split-gutter {
28
24
  &.mat-accent:hover {
29
- $accent-tokens: m2-split.private-get-color-palette-color-tokens($theme, accent);
30
- @include token-utils.create-token-values-mixed($accent-tokens);
25
+ $tokens: m2-split.private-get-color-palette-color-tokens($theme, secondary);
26
+ @include token-utils.values($tokens);
31
27
  }
32
28
 
33
29
  &.mat-warn:hover {
34
- $warn-tokens: m2-split.private-get-color-palette-color-tokens($theme, warn);
35
- @include token-utils.create-token-values-mixed($warn-tokens);
30
+ $tokens: m2-split.private-get-color-palette-color-tokens($theme, error);
31
+ @include token-utils.values($tokens);
36
32
  }
37
33
  }
38
34
  }
39
35
  }
40
36
 
41
37
  @mixin typography($theme) {
38
+ $tokens: map.get(m2-split.get-tokens($theme), typography);
42
39
  @if mat.get-theme-version($theme) == 1 {
43
- @include token-utils.create-token-values(map.get(m3-split.get-tokens($theme), typography));
44
- }
45
- @else {
46
- @include mat.private-current-selector-or-root() {
47
- @include token-utils.create-token-values-mixed(m2-split.get-typography-tokens($theme));
48
- }
40
+ $tokens: map.get(m3-split.get-tokens($theme), typography);
49
41
  }
42
+
43
+ @include token-utils.values($tokens);
50
44
  }
51
45
 
52
46
  @mixin density($theme) {
47
+ $tokens: map.get(m2-split.get-tokens($theme), density);
53
48
  @if mat.get-theme-version($theme) == 1 {
54
- @include token-utils.create-token-values(map.get(m3-split.get-tokens($theme), density));
55
- }
56
- @else {
57
- @include mat.private-current-selector-or-root() {
58
- @include token-utils.create-token-values-mixed(m2-split.get-density-tokens($theme));
59
- }
49
+ $tokens: map.get(m3-split.get-tokens($theme), density);
60
50
  }
51
+
52
+ @include token-utils.values($tokens);
61
53
  }
62
54
 
63
55
  /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
@@ -80,8 +72,7 @@
80
72
  @include color($theme, $color-variant);
81
73
  @include density($theme);
82
74
  @include typography($theme);
83
- }
84
- @else {
75
+ } @else {
85
76
  @include base($theme);
86
77
  @if mat.theme-has($theme, color) {
87
78
  @include color($theme);