Tentative pour avoir un custom theme

fonctionnel
This commit is contained in:
Sébastien ANDRE
2023-05-03 16:55:48 +02:00
parent 8b5a3f274e
commit fde83c3631
4 changed files with 717 additions and 9433 deletions

View File

@@ -23,7 +23,7 @@
], ],
"styles": [ "styles": [
"src/assets/css/styles-app-loading.scss", "src/assets/css/styles-app-loading.scss",
"src/assets/css/new-theme.scss", "src/assets/css/custom-theme-dark.scss",
"src/assets/css/styles.css" "src/assets/css/styles.css"
], ],
"scripts": [], "scripts": [],
@@ -141,5 +141,8 @@
"@schematics/angular:directive": { "@schematics/angular:directive": {
"prefix": "app" "prefix": "app"
} }
},
"cli": {
"analytics": false
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -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 // Specific component overrides, pieces that are not in line with the general theming
// Handle buttons appropriately, with respect to line-height // 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; padding: 0 1.15em;
margin: 0 .65em; margin: 0 .65em;
min-width: 3em; min-width: 3em;
line-height: 36.4px line-height: 36.4px
} }
.mat-standard-chip { .mat-mdc-standard-chip {
padding: .5em .85em; padding: .5em .85em;
min-height: 2.5em; min-height: 2.5em;
} }

View File

@@ -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 // Specific component overrides, pieces that are not in line with the general theming
// Handle buttons appropriately, with respect to line-height // Handle buttons appropriately, with respect to line-height
.mat-raised-button, .mat-mdc-raised-button,
.mat-stroked-button, .mat-mdc-outlined-button,
.mat-flat-button { .mat-mdc-unelevated-button {
padding: 0 1.15em; padding: 0 1.15em;
margin: 0 .65em; margin: 0 .65em;
min-width: 3em; min-width: 3em;
line-height: 36.4px line-height: 36.4px
} }
.mat-standard-chip { .mat-mdc-standard-chip {
padding: .5em .85em; padding: .5em .85em;
min-height: 2.5em; min-height: 2.5em;
} }
.mat-form-field { .mat-mdc-form-field {
width: 100%; width: 100%;
} }
.mat-dialog-container { .mat-mdc-dialog-container {
margin: 0px !important; margin: 0px !important;
padding: 10px !important; padding: 10px !important;
} }