@nativescript-community/ui-material-core
Advanced tools
Comparing version 5.0.28 to 5.0.29
@@ -6,2 +6,10 @@ # Change Log | ||
## [5.0.29](https://github.com/Akylas/nativescript-material-components/compare/v5.0.28...v5.0.29) (2020-11-03) | ||
**Note:** Version bump only for package @nativescript-community/ui-material-core | ||
## [5.0.28](https://github.com/Akylas/nativescript-material-components/compare/v5.0.27...v5.0.28) (2020-10-28) | ||
@@ -8,0 +16,0 @@ |
@@ -26,3 +26,2 @@ import { Button, Color, ControlStateChangeListener, GestureTypes, TouchAction, Utils, View, backgroundInternalProperty } from '@nativescript/core'; | ||
const color = value instanceof Color ? value : new Color(value); | ||
console.log('setPrimaryColor', color, colorTheme); | ||
colorTheme.primaryColor = color.ios; | ||
@@ -44,6 +43,6 @@ this.appColorScheme.primaryColorVariant = this.appColorScheme.primaryColor.colorWithAlphaComponent(0.24); | ||
setAccentColor(value) { | ||
this.accentColor = value; | ||
this.setSecondaryColor(value); | ||
} | ||
getAccentColor() { | ||
return this.accentColor; | ||
return this.getSecondaryColor(); | ||
} | ||
@@ -50,0 +49,0 @@ setSurfaceColor(value) { |
{ | ||
"name": "@nativescript-community/ui-material-core", | ||
"version": "5.0.28", | ||
"version": "5.0.29", | ||
"description": "Material Core component", | ||
@@ -48,3 +48,3 @@ "main": "./index", | ||
"readmeFilename": "README.md", | ||
"gitHead": "8c8f725bac39ead78206468fd1256b485840e280", | ||
"gitHead": "02f8495996d7ecf74be0b7f530cddc6677ef5553", | ||
"dependencies": { | ||
@@ -51,0 +51,0 @@ "@nativescript/hook": "~2.0.0" |
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
196363
1926