Skip to content

Commit

Permalink
Fix negative margin error
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmurphy committed Nov 24, 2017
1 parent f947c1c commit 467f4b6
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 115 deletions.
2 changes: 1 addition & 1 deletion elm-package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.0.0",
"version": "1.1.0",
"summary": "elm-tailwind. A stub of a library for using tailwind.css easily in Elm.",
"repository": "https://github.com/splodingsocks/elm-tailwind.git",
"license": "BSD3",
Expand Down
6 changes: 5 additions & 1 deletion scripts/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@ root.walkRules(rule => {
);

names.forEach(name => {
let elmName = name.replace(/-/g, "_")
if (name.startsWith("-m")) {
elmName = "neg" + elmName
}
const obj = {
name,
elmName: name.replace(/-/g, "_"),
elmName,
def: ruleFormatter(rule)
};

Expand Down
Loading

0 comments on commit 467f4b6

Please sign in to comment.