tailwind-to-style 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2004,10 +2004,12 @@ function generator$20(configOptions = {}) {
2004
2004
  border-spacing: ${value};
2005
2005
  }
2006
2006
  ${prefix}-x${key} {
2007
- border-spacing-x: ${value};
2007
+ --border-spacing-x: ${value};
2008
+ border-spacing: var(--border-spacing-x) var(--border-spacing-y, 0);
2008
2009
  }
2009
2010
  ${prefix}-y${key} {
2010
- border-spacing-y: ${value};
2011
+ --border-spacing-y: ${value};
2012
+ border-spacing: var(--border-spacing-x, 0) var(--border-spacing-y);
2011
2013
  }
2012
2014
  `;
2013
2015
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwind-to-style",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Convert tailwind classes to inline style",
5
5
  "main": "index.js",
6
6
  "scripts": {