@crave/farmblocks-theme
Advanced tools
Comparing version 1.4.0-alpha.ed697695 to 1.4.0-alpha.f927a3cf
@@ -6,13 +6,21 @@ # Change Log | ||
<a name="1.4.0-alpha.ed697695"></a> | ||
# [1.4.0-alpha.ed697695](https://github.com/CraveFood/farmblocks/compare/@crave/farmblocks-theme@1.3.0...@crave/farmblocks-theme@1.4.0-alpha.ed697695) (2017-11-10) | ||
<a name="1.4.0-alpha.f927a3cf"></a> | ||
# [1.4.0-alpha.f927a3cf](https://github.com/CraveFood/farmblocks/compare/@crave/farmblocks-theme@1.3.1...@crave/farmblocks-theme@1.4.0-alpha.f927a3cf) (2017-11-14) | ||
### Features | ||
* **theme:** export keys and values of font related contants on theme package ([ed69769](https://github.com/CraveFood/farmblocks/commit/ed69769)) | ||
**Note:** Version bump only for package @crave/farmblocks-theme | ||
<a name="1.3.1"></a> | ||
## [1.3.1](https://github.com/CraveFood/farmblocks/compare/@crave/farmblocks-theme@1.3.0...@crave/farmblocks-theme@1.3.1) (2017-11-13) | ||
### Bug Fixes | ||
* **docs:** update theme readme ([b27e567](https://github.com/CraveFood/farmblocks/commit/b27e567)) | ||
<a name="1.3.0"></a> | ||
@@ -19,0 +27,0 @@ # [1.3.0](https://github.com/CraveFood/farmblocks/compare/@crave/farmblocks-theme@1.2.0...@crave/farmblocks-theme@1.3.0) (2017-11-09) |
@@ -6,20 +6,8 @@ "use strict"; | ||
}); | ||
var _values; | ||
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; } | ||
var keys = { | ||
HUGE: "HUGE", | ||
X_LARGE: "X_LARGE", | ||
LARGE: "LARGE", | ||
MEDIUM: "MEDIUM", | ||
SMALL: "SMALL" | ||
}; | ||
var values = (_values = {}, _defineProperty(_values, keys.HUGE, "24px"), _defineProperty(_values, keys.X_LARGE, "20px"), _defineProperty(_values, keys.LARGE, "18px"), _defineProperty(_values, keys.MEDIUM, "16px"), _defineProperty(_values, keys.SMALL, "14px"), _values); | ||
exports.default = { | ||
keys: keys, | ||
values: values | ||
HUGE: "24px", | ||
X_LARGE: "20px", | ||
LARGE: "18px", | ||
MEDIUM: "16px", | ||
SMALL: "14px" | ||
}; |
@@ -7,22 +7,11 @@ "use strict"; | ||
var _values; | ||
var _colors = require("./colors"); | ||
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; } | ||
var keys = { | ||
NORMAL: "NORMAL", | ||
POSITIVE: "POSITIVE", | ||
NEGATIVE: "NEGATIVE", | ||
FOCUSED: "FOCUSED", | ||
SUBTLE: "SUBTLE", | ||
WHITE: "WHITE" | ||
}; | ||
var values = (_values = {}, _defineProperty(_values, keys.NORMAL, _colors.CARBON), _defineProperty(_values, keys.POSITIVE, _colors.LETTUCE), _defineProperty(_values, keys.NEGATIVE, _colors.STRAWBERRY), _defineProperty(_values, keys.FOCUSED, _colors.INDIGO_MILK_CAP), _defineProperty(_values, keys.SUBTLE, _colors.GREY_32), _defineProperty(_values, keys.WHITE, "white"), _values); | ||
exports.default = { | ||
keys: keys, | ||
values: values | ||
NORMAL: _colors.CARBON, | ||
POSITIVE: _colors.LETTUCE, | ||
NEGATIVE: _colors.STRAWBERRY, | ||
FOCUSED: _colors.INDIGO_MILK_CAP, | ||
SUBTLE: _colors.GREY_32, | ||
WHITE: "white" | ||
}; |
@@ -6,17 +6,5 @@ "use strict"; | ||
}); | ||
var _values; | ||
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; } | ||
var keys = { | ||
SEMIBOLD: "SEMIBOLD", | ||
LIGHT: "LIGHT" | ||
}; | ||
var values = (_values = {}, _defineProperty(_values, keys.SEMIBOLD, "600"), _defineProperty(_values, keys.LIGHT, "300"), _values); | ||
exports.default = { | ||
keys: keys, | ||
values: values | ||
SEMIBOLD: "600", | ||
LIGHT: "300" | ||
}; |
{ | ||
"name": "@crave/farmblocks-theme", | ||
"version": "1.4.0-alpha.ed697695", | ||
"version": "1.4.0-alpha.f927a3cf", | ||
"description": "Farmblocks theme", | ||
@@ -5,0 +5,0 @@ "author": "Crave Food Services and AUTHORS", |
@@ -19,3 +19,6 @@  | ||
See it in the source | ||
- [colors](https://github.com/CraveFood/farmblocks/blob/master/packages/constants/src/colors.js) | ||
- [colors](https://github.com/CraveFood/farmblocks/blob/master/packages/theme/src/colors.js) | ||
- [fontSizes](https://github.com/CraveFood/farmblocks/blob/master/packages/theme/src/fontSizes.js) | ||
- [fontTypes](https://github.com/CraveFood/farmblocks/blob/master/packages/theme/src/fontTypes.js) | ||
- [fontWeights](https://github.com/CraveFood/farmblocks/blob/master/packages/theme/src/fontWeights.js) | ||
@@ -22,0 +25,0 @@ ## License |
27
5128
87