@homebound/truss 2.29.1 → 2.29.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/build/index.js +3 -12
- package/build/index.js.map +1 -1
- package/build/plugin/index.js +1953 -2020
- package/build/plugin/index.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/build/index.js
CHANGED
|
@@ -592,25 +592,16 @@ var skins = (config) => {
|
|
|
592
592
|
const { palette } = config;
|
|
593
593
|
const colors = newMethodsForProp(
|
|
594
594
|
"color",
|
|
595
|
-
Object.fromEntries(
|
|
596
|
-
Object.entries(palette).map(([key, value]) => [
|
|
597
|
-
lowerCaseFirst(key),
|
|
598
|
-
value
|
|
599
|
-
])
|
|
600
|
-
)
|
|
595
|
+
Object.fromEntries(Object.entries(palette).map(([key, value]) => [lowerCaseFirst(key), value]))
|
|
601
596
|
);
|
|
602
597
|
const backgroundColors = newMethodsForProp(
|
|
603
598
|
"backgroundColor",
|
|
604
|
-
Object.fromEntries(
|
|
605
|
-
Object.entries(palette).map(([key, value]) => [`bg${key}`, value])
|
|
606
|
-
),
|
|
599
|
+
Object.fromEntries(Object.entries(palette).map(([key, value]) => [`bg${key}`, value])),
|
|
607
600
|
"bgColor"
|
|
608
601
|
);
|
|
609
602
|
const fillColors = newMethodsForProp(
|
|
610
603
|
"fill",
|
|
611
|
-
Object.fromEntries(
|
|
612
|
-
Object.entries(palette).map(([key, value]) => [`f${key}`, value])
|
|
613
|
-
)
|
|
604
|
+
Object.fromEntries(Object.entries(palette).map(([key, value]) => [`f${key}`, value]))
|
|
614
605
|
);
|
|
615
606
|
return [...colors, ...backgroundColors, ...fillColors];
|
|
616
607
|
};
|