Skip to content

Commit e50e7f0

Browse files
committed
feat: {N} 2.3.0 plus theme-core support
1 parent 21859c2 commit e50e7f0

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ src/**/*.js
4545
src/**/*.js.map
4646
!src/sw.js
4747
!src/client/app/frameworks/test
48+
nativescript/app/css
4849
nativescript/hooks
4950
nativescript/node_modules
5051
nativescript/platforms

nativescript/app/app.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~/css/core.light.css';
2+
13
.action-bar {
24
background-color: #3280CF;
35
color:white;
@@ -40,10 +42,6 @@ TextField {
4042
margin:0;
4143
}
4244

43-
.container-content {
44-
padding:10;
45-
}
46-
4745
.drawerMenuContent {
4846
margin:10;
4947
}

nativescript/package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
"nativescript": {
66
"id": "com.yourdomain.appname",
77
"tns-ios": {
8-
"version": "2.2.1"
8+
"version": "2.3.0"
99
},
1010
"tns-android": {
11-
"version": "2.2.0"
11+
"version": "2.3.0"
1212
}
1313
},
1414
"scripts": {
1515
"clean": "rm -rf platforms node_modules lib hooks"
1616
},
1717
"dependencies": {
18-
"@angular/core": "2.0.0",
1918
"@angular/common": "2.0.0",
2019
"@angular/compiler": "2.0.0",
20+
"@angular/core": "2.0.0",
2121
"@angular/forms": "2.0.0",
2222
"@angular/http": "2.0.0",
2323
"@angular/platform-browser": "2.0.0",
@@ -32,24 +32,25 @@
3232
"lodash": "^4.15.0",
3333
"nativescript-angular": "next",
3434
"nativescript-ng2-translate": "^1.2.0",
35+
"nativescript-theme-core": "0.0.10",
3536
"ng2-translate": "^2.4.4",
3637
"parse5": "1.4.2",
3738
"punycode": "1.3.2",
3839
"querystring": "0.2.0",
3940
"reflect-metadata": "^0.1.8",
4041
"rxjs": "5.0.0-beta.12",
41-
"tns-core-modules": "^2.2.1",
42+
"tns-core-modules": "^2.3.0",
4243
"url": "0.10.3"
4344
},
4445
"devDependencies": {
4546
"zone.js": "^0.6.21",
46-
"babel-traverse": "6.9.0",
47-
"babel-types": "6.10.0",
48-
"babylon": "6.8.1",
47+
"babel-traverse": "6.12.0",
48+
"babel-types": "6.11.1",
49+
"babylon": "6.8.4",
4950
"filewalker": "0.1.2",
5051
"lazy": "1.0.11",
5152
"nativescript-dev-typescript": "^0.3.2",
5253
"shelljs": "^0.7.0",
5354
"typescript": "^1.8.10"
5455
}
55-
}
56+
}

src/client/app/components/about/about.component.tns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<ActionBar [title]="'ABOUT' | translate" class="action-bar">
22
<NavigationButton [text]="'HOME' | translate"></NavigationButton>
33
</ActionBar>
4-
<StackLayout class="container-content">
4+
<StackLayout class="p-10">
55
<Label text="Angular 2 Seed Advanced is a starter project that implements best practices in coding, building and testing Angular 2 apps. Additionally it adds various enhancements and integrations for large global projects." textWrap="true"></Label>
66

77
<Label text="Features" class="heading"></Label>

src/client/app/components/home/home.component.tns.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<StackLayout class="container-content">
1+
<StackLayout class="p-10">
22
<Label [text]="'LOVE_TECH' | translate" textWrap="true" class="love-tech"></Label>
33
<Label [text]="'SUCCESS_MSG' | translate" textWrap="true"></Label>
44
<Label [text]="'ABOUT_REWARD' | translate" textWrap="true"></Label>
@@ -14,5 +14,5 @@
1414
</template>
1515
</ListView>
1616

17-
<Button (tap)="readAbout()" text="Read all about it"></Button>
17+
<Button (tap)="readAbout()" text="Read all about it" class="text-primary"></Button>
1818
</StackLayout>

0 commit comments

Comments
 (0)