Skip to content

Commit

Permalink
fix(export): `fix non implemented functions
Browse files Browse the repository at this point in the history
  • Loading branch information
morrislaptop committed Apr 23, 2018
1 parent 9e68a17 commit 0a89553
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions src/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,16 +162,30 @@ function styleguideTextStyles(context, styles) {



function exportStyleguideColors(context, colors) {

function comment(context, text) {
return `/* ${text} */`;
}

function exportStyleguideTextStyles(context, colors) {
function exportStyleguideColors(context, colors) {
var codeObject = styleguideColors(context, colors);
var code = codeObject.code;

return {
code: code,
filename: "colors.js",
language: "javascript"
};
}

function comment(context, text) {
function exportStyleguideTextStyles(context, textstyles) {
var codeObject = styleguideTextStyles(context, textstyles);
var code = codeObject.code;

return {
code: code,
filename: "fonts.css",
language: "css"
};
}

module.exports = {
Expand Down

0 comments on commit 0a89553

Please # to comment.