@crave/farmblocks-theme
Advanced tools
Comparing version 1.4.0-alpha.3d03a09e to 1.4.0-alpha.4f6ad095
@@ -6,10 +6,19 @@ # Change Log | ||
<a name="1.4.0-alpha.3d03a09e"></a> | ||
# [1.4.0-alpha.3d03a09e](https://github.com/CraveFood/farmblocks/compare/@crave/farmblocks-theme@1.3.0...@crave/farmblocks-theme@1.4.0-alpha.3d03a09e) (2017-11-10) | ||
<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) | ||
### 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> | ||
@@ -16,0 +25,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"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = { | ||
module.exports = { | ||
CARBON: "#2f313a", | ||
@@ -8,0 +5,0 @@ OYSTER: "#59636f", |
@@ -6,8 +6,20 @@ "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 = { | ||
HUGE: "24px", | ||
X_LARGE: "20px", | ||
LARGE: "18px", | ||
MEDIUM: "16px", | ||
SMALL: "14px" | ||
keys: keys, | ||
values: values | ||
}; |
@@ -7,11 +7,23 @@ "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 = { | ||
NORMAL: _colors.CARBON, | ||
POSITIVE: _colors.LETTUCE, | ||
NEGATIVE: _colors.STRAWBERRY, | ||
FOCUSED: _colors.INDIGO_MILK_CAP, | ||
SUBTLE: _colors.GREY_32, | ||
WHITE: "white" | ||
keys: keys, | ||
values: values | ||
}; |
@@ -6,5 +6,17 @@ "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 = { | ||
SEMIBOLD: "600", | ||
LIGHT: "300" | ||
keys: keys, | ||
values: values | ||
}; |
{ | ||
"name": "@crave/farmblocks-theme", | ||
"version": "1.4.0-alpha.3d03a09e", | ||
"version": "1.4.0-alpha.4f6ad095", | ||
"description": "Farmblocks theme", | ||
@@ -5,0 +5,0 @@ "author": "Crave Food Services and AUTHORS", |
6479
107