diff --git a/CHANGELOG.md b/CHANGELOG.md index f16aa25..dcd2f11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ + +## [2.0.19 beta](https://github.com/NativeScript/theme/compare/v2.0.18...v2.0.19) (2019-09-12) + +### Features + +* Export CSS variables to .ns-modal too + ## [2.0.18 beta](https://github.com/NativeScript/theme/compare/v2.0.17...v2.0.18) (2019-09-12) diff --git a/README.md b/README.md index 78cfcb9..0b49c23 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ the focus color (the accent) according to it. ## CSS Variables -Since 2.0.17 beta, the Theme now exports all its internal variables to CSS ones in the .ns-root class. +Since 2.0.17 beta, the Theme now exports all its internal variables to CSS ones in the .ns-root and .ns-modal classes. This is also done for Kendo based skins. You can use them to inherit your styles from the Theme. A list of the supported CSS variables follows: diff --git a/package.json b/package.json index cd39a15..e10ba50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-theme-core", - "version": "2.0.18", + "version": "2.0.19", "description": "Telerik NativeScript Core Theme", "author": "Telerik ", "homepage": "https://www.nativescript.org", diff --git a/src/package.json b/src/package.json index ed075f0..83b0e5f 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-theme-core", - "version": "2.0.17", + "version": "2.0.19", "description": "Telerik NativeScript Core Theme", "author": "Telerik ", "main": "index", diff --git a/src/scss/_index.scss b/src/scss/_index.scss index fc7502d..f91b705 100644 --- a/src/scss/_index.scss +++ b/src/scss/_index.scss @@ -14,7 +14,8 @@ // export each map to CSS custom variables -.ns-root { +.ns-root, +.ns-modal { @each $name in map-keys($colors) { --color-#{"" + $name}: #{color($name)}; }