Skip to content

Commit 064f71f

Browse files
author
Vladimir Amiorkov
authored
chore: add background color to modal in example (#2034)
* chore: add background color to modal in example * chore: revert the change tothe version of nativescript-dev-webpack in test-app-ng
1 parent d2fc41f commit 064f71f

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
.system-background-color-stack-layout {
3+
background-color: white;
4+
}
5+
6+
.ns-dark .system-background-color-stack-layout {
7+
background-color: gray;
8+
}

e2e/tests-app-ng/app/lazy/lazy.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<StackLayout>
1+
<StackLayout class="system-background-color-stack-layout">
22
<GridLayout rows="auto" columns="auto" [visibility]="isModal ? 'visible' : 'collapsed'">
33
<Button
44
automationText="closeModal"

e2e/tests-app-ng/app/lazy/lazy.component.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { ModalDialogParams } from "nativescript-angular/directives/dialogs";
77
selector: "ns-lazy",
88
moduleId: module.id,
99
templateUrl: "./lazy.component.html",
10+
styleUrls: ["./lazy.component.css"]
1011
})
1112
export class LazyComponent {
1213
public isModal: boolean;

e2e/tests-app-ng/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@angular/platform-browser": "~8.2.0",
2222
"@angular/platform-browser-dynamic": "~8.2.0",
2323
"@angular/router": "~8.2.0",
24-
"nativescript-angular": "file:../../nativescript-angular",
24+
"nativescript-angular": "file:../../nativescript-angular-package",
2525
"nativescript-intl": "~3.0.0",
2626
"nativescript-theme-core": "^1.0.4",
2727
"reflect-metadata": "~0.1.8",

e2e/tests-app-ng/tsconfig.json

+3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@
2424
}
2525
},
2626
"include": [
27+
"../../nativescript-angular-package",
2728
"../../nativescript-angular",
2829
"**/*"
2930
],
3031
"exclude": [
32+
"../../nativescript-angular-package/node_modules",
33+
"../../nativescript-angular-package/**/*.d.ts",
3134
"../../nativescript-angular/node_modules",
3235
"../../nativescript-angular/**/*.d.ts",
3336
"node_modules",

0 commit comments

Comments
 (0)