Skip to content

Commit

Permalink
fix: add new version of generate
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroreisvieira committed Feb 14, 2020
1 parent 30a9480 commit 04a456b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@commitlint/config-conventional": "^8.3.4",
"@meetio/meetio-colors": "^1.0.4",
"@meetio/meetio-icons": "^1.3.0",
"@meetio/scheme-generator": "^0.3.0",
"@meetio/scheme-generator": "^0.4.0",
"@typescript-eslint/eslint-plugin": "2.15.0",
"@typescript-eslint/parser": "2.15.0",
"babel-eslint": "^10.0.3",
Expand Down
11 changes: 9 additions & 2 deletions src/schemes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { generateScheme, ISchemeSetting, IColors } from '@meetio/scheme-generator';
import {
generateScheme,
ISchemeSetting,
IColors,
} from '@meetio/scheme-generator';
import * as pallete from '@meetio/meetio-colors';

import rules from './schemes/index';
Expand All @@ -23,7 +27,10 @@ interface IScheme {
].map((item: IScheme) => {
const settings: ISchemeSetting = {
colors: item.variables,
rules,
rules: [
...rules,
...[],
],
};
generateScheme(item.name, item.author, item.name, settings, 'schemes');
});

0 comments on commit 04a456b

Please sign in to comment.