cf-style-const
Advanced tools
Comparing version 2.7.0 to 2.8.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="2.8.0"></a> | ||
# [2.8.0](http://stash.cfops.it:7999/www/cf-ux/compare/cf-style-const@2.7.0...cf-style-const@2.8.0) (2017-10-19) | ||
### Features | ||
* **cf-component-chart-map:** UI-146 Dedupe multiple versions of polished ([82c9dd1](http://stash.cfops.it:7999/www/cf-ux/commits/82c9dd1)) | ||
<a name="2.7.0"></a> | ||
@@ -8,0 +19,0 @@ # [2.7.0](http://stash.cfops.it:7999/www/cf-ux/compare/cf-style-const@2.6.2...cf-style-const@2.7.0) (2017-10-13) |
'use strict'; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.variables = undefined; | ||
@@ -5,0 +7,0 @@ |
'use strict'; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _color; | ||
var _polished = require('polished'); | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
const colorOffsetLight = 0.15; | ||
const colorOffsetDark = 0.07; | ||
var colorOffsetLight = 0.15; | ||
var colorOffsetDark = 0.07; | ||
var base = { | ||
const base = { | ||
breakpoints: { | ||
@@ -46,3 +44,3 @@ mobile: '13.6em', | ||
}, | ||
color: (_color = { | ||
color: { | ||
//Style guide colors | ||
@@ -77,4 +75,18 @@ grass: '#9BCA3E', | ||
sunrise: '#F69259', | ||
lightning: '#FFDB6F' | ||
}, _defineProperty(_color, 'night', '#404041'), _defineProperty(_color, 'dusk', '#4D4D4F'), _defineProperty(_color, 'storm', '#808285'), _defineProperty(_color, 'hail', '#BCBEC0'), _defineProperty(_color, 'moonshine', '#F7F7F7'), _defineProperty(_color, 'grass50', '#cde49e'), _defineProperty(_color, 'grass10', '#f5faeb'), _defineProperty(_color, 'marine50', '#97bddf'), _defineProperty(_color, 'marine10', '#eaf2f8'), _defineProperty(_color, 'apple50', '#de9293'), _defineProperty(_color, 'apple10', '#f8e9e9'), _defineProperty(_color, 'white', '#fff'), _color), | ||
lightning: '#FFDB6F', | ||
night: '#404041', | ||
dusk: '#4D4D4F', | ||
storm: '#808285', | ||
hail: '#BCBEC0', | ||
moonshine: '#F7F7F7', | ||
//Need to rename these colors, do not use | ||
grass50: '#cde49e', | ||
grass10: '#f5faeb', | ||
marine50: '#97bddf', | ||
marine10: '#eaf2f8', | ||
apple50: '#de9293', | ||
apple10: '#f8e9e9', | ||
white: '#fff' | ||
}, | ||
fontSize: '15px', | ||
@@ -105,4 +117,4 @@ boxShadow: '0 0 20px 0 rgba(136,136,136,0.50)', | ||
colorBlack: '#000', | ||
colorOffsetLight: colorOffsetLight, | ||
colorOffsetDark: colorOffsetDark, | ||
colorOffsetLight, | ||
colorOffsetDark, | ||
colorInfo: '#00a9eb', | ||
@@ -148,6 +160,6 @@ colorSuccess: '#68970f', | ||
var alias = { colors: base.color }; | ||
const alias = { colors: base.color }; | ||
var baseTheme = Object.assign({}, base, alias); | ||
const baseTheme = Object.assign({}, base, alias); | ||
exports.default = baseTheme; |
{ | ||
"name": "cf-style-const", | ||
"description": "Cloudflare Style Constants", | ||
"version": "2.7.0", | ||
"version": "2.8.0", | ||
"main": "lib/index.js", | ||
@@ -14,4 +14,4 @@ "module": "es/index.js", | ||
"dependencies": { | ||
"polished": "^1.2.1" | ||
"polished": "^1.8.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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
451
19548
Updatedpolished@^1.8.1