Tentative pour avoir un custom theme
fonctionnel
This commit is contained in:
@@ -229,14 +229,14 @@ $altTheme: mat.define-light-theme($theme-primary, $theme-accent, $theme-warn);
|
||||
// Specific component overrides, pieces that are not in line with the general theming
|
||||
|
||||
// Handle buttons appropriately, with respect to line-height
|
||||
.mat-raised-button, .mat-stroked-button, .mat-flat-button {
|
||||
.mat-mdc-raised-button, .mat-mdc-outlined-button, .mat-mdc-unelevated-button {
|
||||
padding: 0 1.15em;
|
||||
margin: 0 .65em;
|
||||
min-width: 3em;
|
||||
line-height: 36.4px
|
||||
}
|
||||
|
||||
.mat-standard-chip {
|
||||
.mat-mdc-standard-chip {
|
||||
padding: .5em .85em;
|
||||
min-height: 2.5em;
|
||||
}
|
||||
|
||||
@@ -213,25 +213,25 @@ $altTheme: mat.define-dark-theme($theme-primary, $theme-accent, $theme-warn);
|
||||
// Specific component overrides, pieces that are not in line with the general theming
|
||||
|
||||
// Handle buttons appropriately, with respect to line-height
|
||||
.mat-raised-button,
|
||||
.mat-stroked-button,
|
||||
.mat-flat-button {
|
||||
.mat-mdc-raised-button,
|
||||
.mat-mdc-outlined-button,
|
||||
.mat-mdc-unelevated-button {
|
||||
padding: 0 1.15em;
|
||||
margin: 0 .65em;
|
||||
min-width: 3em;
|
||||
line-height: 36.4px
|
||||
}
|
||||
|
||||
.mat-standard-chip {
|
||||
.mat-mdc-standard-chip {
|
||||
padding: .5em .85em;
|
||||
min-height: 2.5em;
|
||||
}
|
||||
|
||||
.mat-form-field {
|
||||
.mat-mdc-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mat-dialog-container {
|
||||
.mat-mdc-dialog-container {
|
||||
margin: 0px !important;
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user