File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 11/*************************************************************************************
22 * Licensed under the APACHE license
33 *
4- * Version 0.0.1 Nathan@master-technology.com
4+ * Version 0.0.5 Nathan@master-technology.com
55 ************************************************************************************/
66"use strict" ;
77
@@ -16,7 +16,7 @@ if (fs.existsSync('nativescript-theme-core')) {
1616}
1717fs . mkdirSync ( "nativescript-theme-core" ) ;
1818fs . mkdirSync ( "nativescript-theme-core/css" ) ;
19- fs . mkdirSync ( "nativescript-theme-core/scss" ) ;
19+ fs . mkdirSync ( "nativescript-theme-core/theme-core- scss" ) ;
2020fs . mkdirSync ( "nativescript-theme-core/fonts" ) ;
2121fs . mkdirSync ( "nativescript-theme-core/scripts" ) ;
2222
@@ -84,15 +84,15 @@ function copySCSS() {
8484 } ) ;
8585
8686 for ( var i = 0 ; i < sassFiles . length ; i ++ ) {
87- var out = sassFiles [ i ] . replace ( './app/' , './nativescript-theme-core/scss/ ' ) ;
87+ var out = sassFiles [ i ] . replace ( './app/' , './nativescript-theme-core/' ) ;
8888
8989 var paths = sassFiles [ i ] . split ( '/' ) ;
9090 // eliminate the ['.' and 'app']
9191 paths . shift ( ) ;
9292 paths . shift ( ) ;
9393
9494 if ( paths . length > 1 ) {
95- var path = './nativescript-theme-core/scss ' ;
95+ var path = './nativescript-theme-core' ;
9696 for ( var j = 0 ; j < paths . length - 1 ; j ++ ) {
9797 path += '/' + paths [ j ] ;
9898 if ( ! fs . existsSync ( path ) ) {
Original file line number Diff line number Diff line change 11/*************************************************************************************
22 * Licensed under the APACHE license
33 *
4- * Version 0.0.3 Nathan@master-technology.com
4+ * Version 0.0.5 Nathan@master-technology.com
55 ************************************************************************************/
66"use strict" ;
77
@@ -69,7 +69,12 @@ copyFolder(cwd + "fonts", appDir + "fonts");
6969// ------------------------------------------------------
7070
7171if ( hasSCSS ) {
72- copyFolder ( cwd + "scss" , appDir + "scss" ) ;
72+ copyFolder ( cwd + "theme-core-scss" , appDir + "theme-core-scss" ) ;
73+ copyFile ( cwd , appDir , "_bootstrap-map.scss" ) ;
74+ copyFile ( cwd , appDir , "core.dark.android.scss" ) ;
75+ copyFile ( cwd , appDir , "core.dark.ios.scss" ) ;
76+ copyFile ( cwd , appDir , "core.light.android.scss" ) ;
77+ copyFile ( cwd , appDir , "core.light.ios.scss" ) ;
7378}
7479
7580
You can’t perform that action at this time.
0 commit comments