Skip to content

Commit

Permalink
feat: improve atoms and snake addons
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Mar 22, 2018
1 parent 1087a71 commit 8eff686
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions addon/atoms.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ var atoms = exports.atoms = {
td: 'text-decoration',
fl: 'float',
w: 'width',
minW: 'min-width',
maxW: 'max-width',
h: 'height',
trs: 'transition',
out: 'outline',
Expand Down
6 changes: 5 additions & 1 deletion addon/snake.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ exports.addon = function (renderer, rules) {

em: function () {
this.fontStyle = 'italic';
}
},

u: function () {
this.textDecoration = 'underline';
},
});

rules = renderer.assign(defaultRules, rules);
Expand Down

0 comments on commit 8eff686

Please sign in to comment.