angular/devtools/styles.scss
AleksanderBodurri 78afe889fd refactor(devtools): migrate material legacy components to mdc (#51590)
Removes all legacy angular material imports and moves devtools over to mdc.

PR Close #51590
2023-08-31 17:31:42 +00:00

60 lines
1.1 KiB
SCSS

@use 'sass:map';
@use 'external/npm/node_modules/@angular/material/index' as mat;
@include mat.all-component-typographies();
@include mat.core();
html,
body {
padding: 0;
margin: 0;
}
// Light theme
$light-primary: mat.define-palette(mat.$grey-palette, 700, 200);
$light-accent: mat.define-palette(mat.$blue-palette, 800);
$light-theme: mat.define-light-theme($light-primary, $light-accent);
// Dark theme
$dark-primary: mat.define-palette(mat.$blue-grey-palette, 50);
$dark-accent: mat.define-palette(mat.$blue-palette, 200);
$dark-theme: map.deep-merge(
mat.define-dark-theme($dark-primary, $dark-accent),
(
'color': (
'background': (
background: #202124,
card: #202124,
),
'foreground': (
text: #bcc5ce,
),
),
'background': (
background: #202124,
card: #202124,
),
'foreground': (
'text': #bcc5ce,
),
)
);
.light-theme {
@include mat.all-component-themes($light-theme);
}
.dark-theme {
background: #202124;
@include mat.all-component-themes($dark-theme);
}
ng-devtools {
.mdc-card {
padding: 4px;
}
}
.mat-mdc-menu-content {
padding: 0 !important;
}