mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-05 23:31:29 +03:00
Updated styles.scss to match new Angular syntax
Added back ngx-avatars Made required dependency updates
This commit is contained in:
4781
package-lock.json
generated
4781
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
19
package.json
19
package.json
@@ -16,8 +16,8 @@
|
|||||||
"i18n-source": "ng extract-i18n --output-path=src/assets/i18n --out-file=messages.en.xlf"
|
"i18n-source": "ng extract-i18n --output-path=src/assets/i18n --out-file=messages.en.xlf"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "12.3.1",
|
"node": "18.19.0",
|
||||||
"npm": "6.10.3"
|
"npm": "10.2.3"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -43,11 +43,11 @@
|
|||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
"material-icons": "^1.10.8",
|
"material-icons": "^1.10.8",
|
||||||
"nan": "^2.14.1",
|
"nan": "^2.14.1",
|
||||||
|
"ngx-avatars": "^1.6.1",
|
||||||
"ngx-file-drop": "^15.0.0",
|
"ngx-file-drop": "^15.0.0",
|
||||||
"rxjs": "^6.6.3",
|
"rxjs": "^6.6.3",
|
||||||
"rxjs-compat": "^6.6.7",
|
"rxjs-compat": "^6.6.7",
|
||||||
"tslib": "^2.0.0",
|
"tslib": "^2.0.0",
|
||||||
"typescript": "~5.2.2",
|
|
||||||
"xliff-to-json": "^1.0.4",
|
"xliff-to-json": "^1.0.4",
|
||||||
"zone.js": "~0.14.2"
|
"zone.js": "~0.14.2"
|
||||||
},
|
},
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
"ajv": "^7.2.4",
|
"ajv": "^7.2.4",
|
||||||
"codelyzer": "^6.0.0",
|
"codelyzer": "^6.0.0",
|
||||||
"eslint": "^7.32.0",
|
"eslint": "^7.32.0",
|
||||||
"jasmine-core": "~3.6.0",
|
"jasmine-core": "~3.8.0",
|
||||||
"jasmine-spec-reporter": "~5.0.0",
|
"jasmine-spec-reporter": "~5.0.0",
|
||||||
"karma": "~6.4.2",
|
"karma": "~6.4.2",
|
||||||
"karma-chrome-launcher": "~3.1.0",
|
"karma-chrome-launcher": "~3.1.0",
|
||||||
@@ -76,6 +76,13 @@
|
|||||||
"openapi-typescript-codegen": "^0.23.0",
|
"openapi-typescript-codegen": "^0.23.0",
|
||||||
"protractor": "~7.0.0",
|
"protractor": "~7.0.0",
|
||||||
"ts-node": "~3.0.4",
|
"ts-node": "~3.0.4",
|
||||||
"tslint": "~6.1.0"
|
"tslint": "~6.1.0",
|
||||||
|
"typescript": "~5.2.0"
|
||||||
|
},
|
||||||
|
"overrides": {
|
||||||
|
"ngx-avatars": {
|
||||||
|
"@angular/common": "^17.0.0",
|
||||||
|
"@angular/core": "^17.0.0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
/* You can add global styles to this file, and also import other style files */
|
/* You can add global styles to this file, and also import other style files */
|
||||||
|
@use '@angular/material' as mat;
|
||||||
|
|
||||||
@import '~material-icons/iconfont/material-icons.css';
|
@import '~material-icons/iconfont/material-icons.css';
|
||||||
|
|
||||||
@@ -12,7 +13,6 @@
|
|||||||
html, body { height: 100%; }
|
html, body { height: 100%; }
|
||||||
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
|
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
|
||||||
|
|
||||||
@import '@angular/material/theming';
|
|
||||||
// Plus imports for other components in your app.
|
// Plus imports for other components in your app.
|
||||||
|
|
||||||
/*// Typography
|
/*// Typography
|
||||||
@@ -24,22 +24,22 @@ $custom-typography: mat-typography-config(
|
|||||||
@include angular-material-typography($custom-typography);
|
@include angular-material-typography($custom-typography);
|
||||||
*/
|
*/
|
||||||
// Default colors
|
// Default colors
|
||||||
$my-app-primary: mat-palette($mat-light-blue, 700, 100, 800);
|
$my-app-primary: mat.define-palette(mat.$light-blue-palette, 700, 100, 800); // mat-palette($mat-light-blue, 700, 100, 800);
|
||||||
$my-app-accent: mat-palette($mat-blue, 700, 100, 800);
|
$my-app-accent: mat.define-palette(mat.$blue-palette, 700, 100, 800);
|
||||||
$my-app-warn: mat-palette($mat-red, 700, 100, 800);
|
$my-app-warn: mat.define-palette(mat.$red-palette, 700, 100, 800);
|
||||||
|
|
||||||
$my-app-theme: mat-light-theme($my-app-primary, $my-app-accent, $my-app-warn);
|
$my-app-theme: mat.define-light-theme((color: (primary: $my-app-primary, accent: $my-app-accent, warn: $my-app-warn)));
|
||||||
@include angular-material-theme($my-app-theme);
|
@include mat.all-component-themes($my-app-theme);
|
||||||
|
|
||||||
// Dark theme
|
// Dark theme
|
||||||
$dark-primary: mat-palette($mat-light-blue, 700, 100, 800);
|
$dark-primary: mat.define-palette(mat.$light-blue-palette, 700, 100, 800);
|
||||||
$dark-accent: mat-palette($mat-blue);
|
$dark-accent: mat.define-palette(mat.$blue-palette);
|
||||||
$dark-warn: mat-palette($mat-deep-orange);
|
$dark-warn: mat.define-palette(mat.$deep-orange-palette);
|
||||||
|
|
||||||
$dark-theme: mat-dark-theme($dark-primary, $dark-accent, $dark-warn);
|
$dark-theme: mat.define-dark-theme((color: (primary: $dark-primary, accent: $dark-accent, warn: $dark-warn)));
|
||||||
|
|
||||||
.dark-theme {
|
.dark-theme {
|
||||||
@include angular-material-theme($dark-theme);
|
@include mat.all-component-themes($dark-theme);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mat-mdc-outlined-button, .mat-mdc-raised-button, .mat-mdc-flat-button {
|
.mat-mdc-outlined-button, .mat-mdc-raised-button, .mat-mdc-flat-button {
|
||||||
@@ -47,14 +47,14 @@ $dark-theme: mat-dark-theme($dark-primary, $dark-accent, $dark-warn);
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Light theme
|
// Light theme
|
||||||
$light-primary: mat-palette($mat-grey, 200, 500, 300);
|
$light-primary: mat.define-palette(mat.$grey-palette, 200, 500, 300);
|
||||||
$light-accent: mat-palette($mat-brown, 200);
|
$light-accent: mat.define-palette(mat.$brown-palette, 200);
|
||||||
$light-warn: mat-palette($mat-deep-orange, 200);
|
$light-warn: mat.define-palette(mat.$deep-orange-palette, 200);
|
||||||
|
|
||||||
$light-theme: mat-light-theme($light-primary, $light-accent, $light-warn);
|
$light-theme: mat.define-light-theme((color: (primary: $light-primary, accent: $light-accent, warn: $light-warn)));
|
||||||
|
|
||||||
.light-theme {
|
.light-theme {
|
||||||
@include angular-material-theme($light-theme);
|
@include mat.all-component-themes($light-theme);
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-outline {
|
.no-outline {
|
||||||
@@ -65,9 +65,7 @@ $light-theme: mat-light-theme($light-primary, $light-accent, $light-warn);
|
|||||||
// Include the common styles for Angular Material. We include this here so that you only
|
// Include the common styles for Angular Material. We include this here so that you only
|
||||||
// have to load a single css file for Angular Material in your app.
|
// have to load a single css file for Angular Material in your app.
|
||||||
// Be sure that you only ever include this mixin once!
|
// Be sure that you only ever include this mixin once!
|
||||||
@include mat-core();
|
@include mat.core();
|
||||||
|
|
||||||
// @import '../node_modules/@angular/material/theming';
|
|
||||||
|
|
||||||
.centered {
|
.centered {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user