feat: update Angular Material 13

This commit is contained in:
d.strigo 2023-02-09 20:08:11 +01:00
parent f40e0c463e
commit dcb6b8e646
5 changed files with 12 additions and 7 deletions

View file

@ -27,6 +27,11 @@
"output": "/assets/img/markers" "output": "/assets/img/markers"
} }
], ],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules"
]
},
"styles": [ "styles": [
"node_modules/bootstrap/dist/css/bootstrap.css", "node_modules/bootstrap/dist/css/bootstrap.css",
"node_modules/typeface-exo/index.css", "node_modules/typeface-exo/index.css",

View file

@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@mixin angular-material() { @mixin angular-material() {
@include mat.core(); @include mat.core();

View file

@ -4,8 +4,8 @@
* Licensed under the MIT License. See License.txt in the project root for license information. * Licensed under the MIT License. See License.txt in the project root for license information.
*/ */
@import '~@nebular/theme/styles/core/functions'; @import '@nebular/theme/styles/core/functions';
@import '~@nebular/theme/styles/core/mixins'; @import '@nebular/theme/styles/core/mixins';
$theme: ( $theme: (
color-primary-100: #fff2f7, color-primary-100: #fff2f7,

View file

@ -4,8 +4,8 @@
* Licensed under the MIT License. See License.txt in the project root for license information. * Licensed under the MIT License. See License.txt in the project root for license information.
*/ */
@import '~@nebular/theme/styles/core/functions'; @import '@nebular/theme/styles/core/functions';
@import '~@nebular/theme/styles/core/mixins'; @import '@nebular/theme/styles/core/mixins';
$theme: ( $theme: (
color-primary-100: #e8cbfe, color-primary-100: #e8cbfe,

View file

@ -10,7 +10,7 @@
</div> </div>
<input type="password" nbInput fullWidth placeholder="Password"> <input type="password" nbInput fullWidth placeholder="Password">
<input type="text" nbInput fullWidth shape="rectangle" placeholder="Rectangle border"> <input type="text" nbInput fullWidth shape="rectangle" placeholder="Rectangle border">
<ng-container *ngIf="!(materialTheme$ | async)"> <ng-container *ngIf="(materialTheme$ | async) !== true">
<input type="text" nbInput fullWidth shape="semi-round" placeholder="Semi-round border"> <input type="text" nbInput fullWidth shape="semi-round" placeholder="Semi-round border">
<input type="text" nbInput fullWidth shape="round" placeholder="Rounded border"> <input type="text" nbInput fullWidth shape="round" placeholder="Rounded border">
</ng-container> </ng-container>
@ -91,4 +91,4 @@
<div class="col-lg-12"> <div class="col-lg-12">
<ngx-material-inputs></ngx-material-inputs> <ngx-material-inputs></ngx-material-inputs>
</div> </div>
</div> </div>