nativescript-theme-core
Advanced tools
Comparing version 2.0.6 to 2.0.7
{ | ||
"name": "nativescript-theme-core", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "Telerik NativeScript Core Theme", | ||
@@ -5,0 +5,0 @@ "author": "Telerik <support@telerik.com>", |
@@ -26,3 +26,3 @@ # NativeScript Theme: Core V2 | ||
* Theme 2.0 beta **requires some JavaScript to be loaded** which helps with the styling. | ||
* Theme 2.0 replaces node-sass with **dart-sass** which is more up to date feature-wise and doesn't have a native dependency. | ||
* Theme 2.0 replaces node-sass with **sass** which is more up to date feature-wise and doesn't have a native dependency. | ||
@@ -73,2 +73,8 @@ ## Usage | ||
If your root is a frame, you can do this | ||
```html | ||
<Frame class="ns-dark" defaultPage="root"></Frame> | ||
``` | ||
You can also do it from JavaScript like this, for instance: | ||
@@ -82,4 +88,7 @@ | ||
This of course won't remove your previously added classes. | ||
This of course won't remove your previously added classes. Also make sure the root view is already initialized by then. | ||
For **Angular**, if your root is a `page-router-outlet`, you can set the .ns-dark class on it - it will pass it down to the | ||
Frame it renders. | ||
## More Root Classes | ||
@@ -86,0 +95,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
273
400269