@trops/dash-core 0.1.144 → 0.1.146
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/dist/electron/index.js +25 -25
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +54 -15
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +54 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -28705,28 +28705,28 @@ var dashboardConfigValidator$1 = {
|
|
|
28705
28705
|
|
|
28706
28706
|
// Tailwind color family name → representative hex (500 shade)
|
|
28707
28707
|
const TAILWIND_COLORS$1 = {
|
|
28708
|
-
|
|
28709
|
-
|
|
28710
|
-
|
|
28711
|
-
|
|
28712
|
-
|
|
28713
|
-
|
|
28714
|
-
|
|
28715
|
-
|
|
28716
|
-
|
|
28717
|
-
|
|
28718
|
-
|
|
28719
|
-
|
|
28720
|
-
|
|
28721
|
-
|
|
28722
|
-
|
|
28723
|
-
|
|
28724
|
-
|
|
28725
|
-
|
|
28726
|
-
|
|
28727
|
-
|
|
28728
|
-
|
|
28729
|
-
|
|
28708
|
+
slate: "#64748b",
|
|
28709
|
+
gray: "#6b7280",
|
|
28710
|
+
zinc: "#71717a",
|
|
28711
|
+
neutral: "#737373",
|
|
28712
|
+
stone: "#78716c",
|
|
28713
|
+
red: "#ef4444",
|
|
28714
|
+
orange: "#f97316",
|
|
28715
|
+
amber: "#f59e0b",
|
|
28716
|
+
yellow: "#eab308",
|
|
28717
|
+
lime: "#84cc16",
|
|
28718
|
+
green: "#22c55e",
|
|
28719
|
+
emerald: "#10b981",
|
|
28720
|
+
teal: "#14b8a6",
|
|
28721
|
+
cyan: "#06b6d4",
|
|
28722
|
+
sky: "#0ea5e9",
|
|
28723
|
+
blue: "#3b82f6",
|
|
28724
|
+
indigo: "#6366f1",
|
|
28725
|
+
violet: "#8b5cf6",
|
|
28726
|
+
purple: "#a855f7",
|
|
28727
|
+
fuchsia: "#d946ef",
|
|
28728
|
+
pink: "#ec4899",
|
|
28729
|
+
rose: "#f43f5e",
|
|
28730
28730
|
};
|
|
28731
28731
|
|
|
28732
28732
|
/**
|
|
@@ -28735,9 +28735,9 @@ const TAILWIND_COLORS$1 = {
|
|
|
28735
28735
|
* If it already looks like a hex/rgb/hsl value, return as-is.
|
|
28736
28736
|
*/
|
|
28737
28737
|
function toDisplayColor$2(value) {
|
|
28738
|
-
|
|
28739
|
-
|
|
28740
|
-
|
|
28738
|
+
if (!value) return "";
|
|
28739
|
+
const lower = value.toLowerCase().trim();
|
|
28740
|
+
return TAILWIND_COLORS$1[lower] || value;
|
|
28741
28741
|
}
|
|
28742
28742
|
|
|
28743
28743
|
var colorUtils = /*#__PURE__*/Object.freeze({
|