tailwindcss 0.0.0-oxide-insiders.62bd582 → 0.0.0-oxide-insiders.8dc0e57
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/lib/util/pluginUtils.js
CHANGED
|
@@ -62,7 +62,7 @@ function parseColorFormat(value) {
|
|
|
62
62
|
return "string" == typeof value && value.includes("<alpha-value>") ? ({ opacityValue =1 })=>value.replace("<alpha-value>", opacityValue) : value;
|
|
63
63
|
}
|
|
64
64
|
function unwrapArbitraryModifier(modifier) {
|
|
65
|
-
return (
|
|
65
|
+
return (0, _dataTypes.normalize)(modifier.slice(1, -1));
|
|
66
66
|
}
|
|
67
67
|
function asColor(modifier, options = {}, { tailwindConfig ={} } = {}) {
|
|
68
68
|
var _options_values, _options_values1, _options_values2, _tailwindConfig_theme, _tailwindConfig_theme_opacity, _options_values_color;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss",
|
|
3
|
-
"version": "0.0.0-oxide-insiders.
|
|
3
|
+
"version": "0.0.0-oxide-insiders.8dc0e57",
|
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"postcss": "^8.0.9"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@tailwindcss/oxide": "0.0.0-oxide-insiders.
|
|
73
|
+
"@tailwindcss/oxide": "0.0.0-oxide-insiders.8dc0e57",
|
|
74
74
|
"arg": "^5.0.2",
|
|
75
75
|
"browserslist": "^4.21.5",
|
|
76
76
|
"chokidar": "^3.5.3",
|
package/src/util/pluginUtils.js
CHANGED
|
@@ -115,11 +115,7 @@ export function parseColorFormat(value) {
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
function unwrapArbitraryModifier(modifier) {
|
|
118
|
-
|
|
119
|
-
if (modifier.startsWith('--')) {
|
|
120
|
-
modifier = `var(${modifier})`
|
|
121
|
-
}
|
|
122
|
-
return modifier
|
|
118
|
+
return normalize(modifier.slice(1, -1))
|
|
123
119
|
}
|
|
124
120
|
|
|
125
121
|
export function asColor(modifier, options = {}, { tailwindConfig = {} } = {}) {
|