Skip to content

Commit 7041860

Browse files
committed
Move theme-widgets to a different repo
Add as external dependency
1 parent a3e4854 commit 7041860

24 files changed

+91
-540
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NativeScript
22
hooks/
33
node_modules/
4-
platforms/
4+
/platforms/
55

66
# NativeScript Template
77
*.js.map

app/_app-variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// for example '~nativescript-theme-core/scss/dark'.
44
@import '~nativescript-theme-core/styles/scss/blue';
55

6-
@import '~nativescript-theme-core/theme.css';
6+
@import '~nativescript-theme-widgets/theme.css';
77
@import '/assets/css/font-awesome.scss';
88

99
$accent-dark: darken($accent, 20%);

app/action-bar/action-bar.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<ui:ThemeCustomActionBar title="{{ ActionBarTitle }}" xmlns:ui="nativescript-theme-core"
1+
<ui:ThemeCustomActionBar title="{{ ActionBarTitle }}" xmlns:ui="nativescript-theme-widgets"
22
menu="{{ toggleSideDrawer }}" />
33

4-
<!--<ActionBar class="action-bar" loaded="onLoad" xmlns:ui="nativescript-theme-core" >
4+
<!--<ActionBar class="action-bar" loaded="onLoad" xmlns:ui="nativescript-theme-widgets" >
55
&lt;!&ndash;<android:NavigationButton text="go back" icon="~/actionBar/ic_menu_black.png" tap="{{ toggleSideDrawer }}" />&ndash;&gt;
66
<Android>
77
&lt;!&ndash;<NavigationButton text="{{"fa-bars" | fonticon }}" tap="{{ toggleSideDrawer }}" />&ndash;&gt;

app/app-root/app-root.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ http://docs.telerik.com/devtools/nativescript-ui/Controls/NativeScript/SideDrawe
55
-->
66
<nsDrawer:RadSideDrawer id="sideDrawer" ios:class="-ios" android:class="-android"
77
xmlns:nsDrawer="nativescript-ui-sidedrawer"
8-
xmlns:ui="nativescript-theme-core" loaded="onLoaded">
8+
xmlns:ui="nativescript-theme-widgets" loaded="onLoaded">
99
<nsDrawer:RadSideDrawer.drawerTransition>
1010
<nsDrawer:SlideInOnTopTransition/>
1111
</nsDrawer:RadSideDrawer.drawerTransition>

app/pages/modal.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ui:ThemeModalPage xmlns="http://www.nativescript.org/tns.xsd" xmlns:ui="nativescript-theme-core">
1+
<ui:ThemeModalPage xmlns="http://www.nativescript.org/tns.xsd" xmlns:ui="nativescript-theme-widgets">
22
<ui:ThemeCustomActionBar title="{{ title }}">
33
<ActionItem tap="{{ close }}" ios.position="right">
44
<Button text="Close"></Button>

app/pages/root.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Page class="page"
22
loaded="onLoad"
3-
xmlns:ui="nativescript-theme-core"
3+
xmlns:ui="nativescript-theme-widgets"
44
xmlns:actionBar="/action-bar">
55
<actionBar:action-bar ActionBarTitle="NativeScript Themes">
66
<ActionItem tap="{{ openModal }}" ios.position="right">

0 commit comments

Comments
 (0)