tailwind-to-style 1.0.1 → 1.0.2
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.
- package/index.js +7 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2015,7 +2015,11 @@ function generator$1$(configOptions = {}) {
|
|
|
2015
2015
|
const key = keyTmp.toLowerCase() !== "default" ? `-${keyTmp}` : "";
|
|
2016
2016
|
return `
|
|
2017
2017
|
${prefix}${key} {
|
|
2018
|
-
border-
|
|
2018
|
+
border-style: solid;
|
|
2019
|
+
border-top-width: ${value};
|
|
2020
|
+
border-bottom-width: ${value};
|
|
2021
|
+
border-left-width: ${value};
|
|
2022
|
+
border-right-width: ${value};
|
|
2019
2023
|
}
|
|
2020
2024
|
${prefix}-x${key} {
|
|
2021
2025
|
border-left-width: ${value};
|
|
@@ -5679,7 +5683,7 @@ function replaceAndRemoveCSSVariables(styleString) {
|
|
|
5679
5683
|
return updatedStyleString;
|
|
5680
5684
|
}
|
|
5681
5685
|
|
|
5682
|
-
function
|
|
5686
|
+
function tws(classNames, convertToJson) {
|
|
5683
5687
|
const cssString = generateTailwindCssString().replace(/\s\s+/g, " ");
|
|
5684
5688
|
|
|
5685
5689
|
const cssClasses = generateCssClasses(cssString);
|
|
@@ -5701,4 +5705,4 @@ function twss(classNames, convertToJson) {
|
|
|
5701
5705
|
return cssResult;
|
|
5702
5706
|
}
|
|
5703
5707
|
|
|
5704
|
-
module.exports =
|
|
5708
|
+
module.exports = tws;
|