Skip to content

Commit

Permalink
Include mat typographies in styles.scss which was erroneously removed…
Browse files Browse the repository at this point in the history
… in M3 upgrade (and clean-up M2 commented out code)
  • Loading branch information
wwwillchen committed Feb 16, 2024
1 parent be88f07 commit 1e08bf0
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions mesop/web/src/app/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// https://github.com/angular/components/issues/12133
@import 'normalize';

@include mat.all-component-typographies();
@include mat.core();

$m3-dark-theme: matx.define-theme(
Expand Down Expand Up @@ -59,29 +60,6 @@ body {
list-style: none;
}

// // Light theme
// $light-primary: mat.define-palette(mat.$blue-palette, 800, 200);
// $light-accent: mat.define-palette(mat.$indigo-palette, A200, A100, A400);
// $light-warn: mat.define-palette(mat.$red-palette, 600, 200, 800);

// $light-theme: mat.define-light-theme(
// (
// color: (
// primary: $light-primary,
// accent: $light-accent,
// warn: $light-warn,
// ),
// typography: null,
// density: 0,
// )
// );

// @include mat.all-component-themes($light-theme);

// .mat-drawer-side {
// border: 0 !important;
// }

@media (pointer: fine) {
@supports not (selector(::-webkit-scrollbar)) {
* {
Expand Down

0 comments on commit 1e08bf0

Please sign in to comment.