@appsemble/react-utils
Advanced tools
Comparing version 0.0.0-alpha.4 to 0.0.0-alpha.5
@@ -32,2 +32,4 @@ 'use strict'; | ||
var _materialUiBackground = require('material-ui-background'); | ||
var _propTypes = require('prop-types'); | ||
@@ -59,2 +61,3 @@ | ||
grey600 = colors.grey600, | ||
grey800 = colors.grey800, | ||
white = colors.white; | ||
@@ -87,3 +90,3 @@ | ||
palette = { | ||
primary1Color: colors[primaryPalette + '700'], | ||
primary1Color: colors[primaryPalette + '500'], | ||
primary2Color: colors[primaryPalette + '700'], | ||
@@ -96,4 +99,4 @@ primary3Color: grey600, | ||
secondaryTextColor: (0, _colorManipulator.fade)(fullWhite, 0.7), | ||
alternateTextColor: '#303030', | ||
canvasColor: '#303030', | ||
alternateTextColor: grey800, | ||
canvasColor: grey800, | ||
borderColor: (0, _colorManipulator.fade)(fullWhite, 0.3), | ||
@@ -124,7 +127,7 @@ disabledColor: (0, _colorManipulator.fade)(fullWhite, 0.3), | ||
return (0, _getMuiTheme2.default)({ | ||
return (0, _materialUiBackground.appendMuiBackground)((0, _getMuiTheme2.default)({ | ||
fontFamily: 'Roboto', | ||
palette: palette, | ||
spacing: _spacing2.default | ||
}); | ||
}), dark ? _materialUiBackground.dark : _materialUiBackground.light); | ||
} | ||
@@ -131,0 +134,0 @@ |
{ | ||
"name": "@appsemble/react-utils", | ||
"version": "0.0.0-alpha.4", | ||
"version": "0.0.0-alpha.5", | ||
"description": "The JavaScript SDK for communication with the Appsemble extension host.", | ||
@@ -57,2 +57,3 @@ "main": "lib/index.js", | ||
"material-ui": "^0.18.3", | ||
"material-ui-background": "^0.1.2", | ||
"mocha": "^3.2.0", | ||
@@ -59,0 +60,0 @@ "react": "^15.6.1", |
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
20976
427
41