@crave/farmblocks-theme
Advanced tools
Comparing version 1.4.0-alpha.4f6ad095 to 1.4.0-alpha.6fcad3f3
@@ -6,19 +6,10 @@ # Change Log | ||
<a name="1.4.0-alpha.4f6ad095"></a> | ||
# [1.4.0-alpha.4f6ad095](https://github.com/CraveFood/farmblocks/compare/@crave/farmblocks-theme@1.3.0...@crave/farmblocks-theme@1.4.0-alpha.4f6ad095) (2017-11-10) | ||
<a name="1.4.0-alpha.6fcad3f3"></a> | ||
# [1.4.0-alpha.6fcad3f3](https://github.com/CraveFood/farmblocks/compare/@crave/farmblocks-theme@1.3.0...@crave/farmblocks-theme@1.4.0-alpha.6fcad3f3) (2017-11-13) | ||
### Bug Fixes | ||
* **theme:** fix colors export ([127cbcd](https://github.com/CraveFood/farmblocks/commit/127cbcd)) | ||
**Note:** Version bump only for package @crave/farmblocks-theme | ||
### Features | ||
* **theme:** add NEUTRAL style to fontTypes theme ([4f6ad09](https://github.com/CraveFood/farmblocks/commit/4f6ad09)) | ||
* **theme:** export keys and values of font related contants on theme package ([ed69769](https://github.com/CraveFood/farmblocks/commit/ed69769)) | ||
<a name="1.3.0"></a> | ||
@@ -25,0 +16,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) |
"use strict"; | ||
module.exports = { | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = { | ||
CARBON: "#2f313a", | ||
@@ -5,0 +8,0 @@ OYSTER: "#59636f", |
@@ -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,23 +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", | ||
NEUTRAL: "NEUTRAL", | ||
POSITIVE: "POSITIVE", | ||
NEGATIVE: "NEGATIVE", | ||
FEATURED: "FEATURED", | ||
SUBTLE: "SUBTLE", | ||
WHITE: "WHITE" | ||
}; | ||
var values = (_values = {}, _defineProperty(_values, keys.NORMAL, _colors.CARBON), _defineProperty(_values, keys.NEUTRAL, _colors.OYSTER), _defineProperty(_values, keys.POSITIVE, _colors.LETTUCE), _defineProperty(_values, keys.NEGATIVE, _colors.STRAWBERRY), _defineProperty(_values, keys.FEATURED, _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.4f6ad095", | ||
"version": "1.4.0-alpha.6fcad3f3", | ||
"description": "Farmblocks theme", | ||
@@ -5,0 +5,0 @@ "author": "Crave Food Services and AUTHORS", |
4554
87