From 24b66bc8cdd40a52e08d198c063daa3e1f6be92a Mon Sep 17 00:00:00 2001 From: Young Hahn Date: Wed, 15 Jun 2016 11:38:22 -0400 Subject: Color class (#5361) * Color class * Switch to list initialization --- scripts/generate-style-code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js index 6469cf55fd..7859c65a0e 100644 --- a/scripts/generate-style-code.js +++ b/scripts/generate-style-code.js @@ -63,7 +63,7 @@ global.defaultValue = function (property) { return `${propertyType(property)}::${camelize(property.default)}`; } case 'color': - return `{{ ${parseCSSColor(property.default).join(', ')} }}` + return `{ ${parseCSSColor(property.default).join(', ')} }` case 'array': const defaults = (property.default || []).map((e) => defaultValue({ type: property.value, default: e })); if (property.length) { -- cgit v1.2.1