Comparing version 0.5.2 to 0.5.3
@@ -114,2 +114,14 @@ var mongoose = require('mongoose'), | ||
"background_color": {type: String, required: false} | ||
}, | ||
"margin":{ | ||
"top": {type: String, required: false}, | ||
"right": {type: String, required: false}, | ||
"bottom": {type: String, required: false}, | ||
"left": {type: String, required: false} | ||
}, | ||
"padding":{ | ||
"top": {type: String, required: false}, | ||
"right": {type: String, required: false}, | ||
"bottom": {type: String, required: false}, | ||
"left": {type: String, required: false} | ||
} | ||
@@ -135,3 +147,5 @@ }, {_id : false}); | ||
"border": {type: Boolean, required: true}, | ||
"background": {type: Boolean, required: true} | ||
"background": {type: Boolean, required: true}, | ||
"margin": {type: Boolean, required: true}, | ||
"padding": {type: Boolean, required: true} | ||
}, | ||
@@ -138,0 +152,0 @@ "staticCSS": [staticCSSSchema], |
@@ -12,3 +12,4 @@ var models = require('../common/models.js')(); | ||
"css", | ||
"logo" | ||
"logo", | ||
"structure" | ||
]; | ||
@@ -106,2 +107,3 @@ | ||
var themeCSSResult = themeCSSGenerator(themeJSON).generateThemeCSS(); | ||
var themeCSSStructure = themeCSSGenerator().styleStructure; | ||
var themeCSSGenerationResult = themeCSSResult.generationResult; | ||
@@ -113,2 +115,3 @@ var generatedThemeCSS = themeCSSResult.generatedCSS; | ||
newThemeData.css = generatedThemeCSS; | ||
newThemeData.structure = themeCSSStructure; | ||
return cb(undefined, newThemeData); | ||
@@ -115,0 +118,0 @@ } else { //Css Generation Failed. not saving the data. |
{ | ||
"name": "fh-forms", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Cloud Forms API for form submission", | ||
@@ -5,0 +5,0 @@ "main": "lib/forms.js", |
@@ -1,1 +0,1 @@ | ||
0.5.2-31 | ||
0.5.3-32 |
Sorry, the diff of this file is too big to display
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
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
271594
7193