@trackunit/css-tailwind 0.0.34 → 0.0.35
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/css-tailwind",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"main": "./index.cjs",
|
|
5
5
|
"repository": "https://github.com/Trackunit/manager",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"types": "./src/index.d.ts",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@trackunit/ui-design-tokens": "0.0.56",
|
|
11
|
-
"@trackunit/css-component-tokens": "0.0.
|
|
12
|
-
"@trackunit/css-tailwind-custom-properties-plugin": "0.0.
|
|
11
|
+
"@trackunit/css-component-tokens": "0.0.16",
|
|
12
|
+
"@trackunit/css-tailwind-custom-properties-plugin": "0.0.8",
|
|
13
13
|
"@trackunit/css-core": "0.0.69"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {}
|
|
@@ -827,7 +827,7 @@ function withOpacityValue(variable) {
|
|
|
827
827
|
function fullColorSchemeFromColorName(colorName, keys = ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900"]) {
|
|
828
828
|
const colors = {};
|
|
829
829
|
keys.forEach((key) => {
|
|
830
|
-
colors[key] = withOpacityValue(
|
|
830
|
+
colors[key] = withOpacityValue(keysToCssVariableName(["color", colorName, key]));
|
|
831
831
|
});
|
|
832
832
|
return colors;
|
|
833
833
|
}
|