Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit c5e4552

Browse files
committed
fix: add import of .css file into another .css file
After changing `css-loader` with `css2json-loader`, we have an issue that module imports of local css files doesn't work anymore - #1098. As it turns out that we don't have applications that test this scenario, we decided to add such an import in demo JavaScript application.
1 parent b721acb commit c5e4552

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

Diff for: demo/JavaScriptApp/app/app.android.css

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ of writing your own CSS rules. For a full list of class names in the theme
1010
refer to http://docs.nativescript.org/ui/theme.
1111
*/
1212
@import '~nativescript-theme-core/css/core.light.css';
13+
@import 'app.common.css';
1314

1415
ActionBar {
1516
background-color: #7F9;

Diff for: demo/JavaScriptApp/app/app.common.css

Whitespace-only changes.

Diff for: demo/JavaScriptApp/app/app.ios.css

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ of writing your own CSS rules. For a full list of class names in the theme
1010
refer to http://docs.nativescript.org/ui/theme.
1111
*/
1212
@import '~nativescript-theme-core/css/core.light.css';
13+
@import 'app.common.css';
1314

1415
ActionBar {
1516
background-color: #999;

0 commit comments

Comments
 (0)