diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..669640d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +tab_width = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/lib/stylus-px2rem/border.styl b/lib/stylus-px2rem/border.styl index df93d92..1f14e42 100644 --- a/lib/stylus-px2rem/border.styl +++ b/lib/stylus-px2rem/border.styl @@ -1,5 +1,12 @@ - border() px2rem('border',arguments) +border-top() + px2rem('border-top',arguments) +border-right() + px2rem('border-right',arguments) +border-bottom() + px2rem('border-bottom',arguments) +border-left() + px2rem('border-left',arguments) border-radius() - px2rem('border-radius',arguments) \ No newline at end of file + px2rem('border-radius',arguments) diff --git a/lib/stylus-px2rem/font-size.styl b/lib/stylus-px2rem/font-size.styl index d77a075..2e1179e 100644 --- a/lib/stylus-px2rem/font-size.styl +++ b/lib/stylus-px2rem/font-size.styl @@ -1,3 +1,2 @@ - font-size() - px2rem('font-size',arguments) \ No newline at end of file + px2rem('font-size',arguments) diff --git a/lib/stylus-px2rem/margin.styl b/lib/stylus-px2rem/margin.styl index 7594886..4d7e9b6 100644 --- a/lib/stylus-px2rem/margin.styl +++ b/lib/stylus-px2rem/margin.styl @@ -1,10 +1,10 @@ margin() px2rem('margin',arguments) -margin-bottom() - px2rem('margin-bottom',arguments) margin-top() px2rem('margin-top',arguments) +margin-right() + px2rem('margin-right',arguments) +margin-bottom() + px2rem('margin-bottom',arguments) margin-left() px2rem('margin-left',arguments) -margin-right() - px2rem('margin-right',arguments) \ No newline at end of file diff --git a/lib/stylus-px2rem/padding.styl b/lib/stylus-px2rem/padding.styl index ea21d6d..b6e1ea7 100644 --- a/lib/stylus-px2rem/padding.styl +++ b/lib/stylus-px2rem/padding.styl @@ -1,11 +1,10 @@ - padding() px2rem('padding',arguments) -padding-bottom() - px2rem('padding-bottom',arguments) padding-top() px2rem('padding-top',arguments) padding-right() px2rem('padding-right',arguments) +padding-bottom() + px2rem('padding-bottom',arguments) padding-left() - px2rem('padding-left',arguments) \ No newline at end of file + px2rem('padding-left',arguments) diff --git a/lib/stylus-px2rem/top.styl b/lib/stylus-px2rem/top.styl index 00eff8b..024232f 100644 --- a/lib/stylus-px2rem/top.styl +++ b/lib/stylus-px2rem/top.styl @@ -1,3 +1,2 @@ - top() - px2rem('top',arguments) \ No newline at end of file + px2rem('top',arguments)