@homebound/truss 2.29.12 → 2.29.13
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/plugin/index.js
CHANGED
|
@@ -592,6 +592,8 @@ import * as t5 from "@babel/types";
|
|
|
592
592
|
|
|
593
593
|
// src/plugin/css-property-abbreviations.ts
|
|
594
594
|
var cssPropertyAbbreviations = {
|
|
595
|
+
// Accent color
|
|
596
|
+
accentColor: "acc",
|
|
595
597
|
// Alignment
|
|
596
598
|
alignContent: "ac",
|
|
597
599
|
alignItems: "ai",
|
|
@@ -1134,7 +1136,7 @@ function computeStaticBaseName(seg, cssProp, cssValue, isMultiProp, mapping) {
|
|
|
1134
1136
|
return canonical ?? `${getPropertyAbbreviation(cssProp)}_${classNameFragmentForResolvedValue(cssValue)}`;
|
|
1135
1137
|
}
|
|
1136
1138
|
if (seg.argResolved !== void 0) {
|
|
1137
|
-
return `${seg.abbr}_${classNameFragmentForResolvedValue(seg.argResolved)}`;
|
|
1139
|
+
return `${getPropertyAbbreviation(seg.abbr)}_${classNameFragmentForResolvedValue(seg.argResolved)}`;
|
|
1138
1140
|
}
|
|
1139
1141
|
return seg.abbr;
|
|
1140
1142
|
}
|