@trops/dash-core 0.1.768 → 0.1.770

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/index.js CHANGED
@@ -2725,28 +2725,16 @@ var ThemeWrapper = function ThemeWrapper(_ref) {
2725
2725
  }, [chosenTheme, themeVariant]);
2726
2726
 
2727
2727
  // Don't render children until theme is loaded AND splash screen minimum time has passed
2728
+ // The splash has no background of its own: the app's (body) shows
2729
+ // through, so the screen is one colour while it loads — a fill of its
2730
+ // own showed as a mismatched block whenever part of it repainted late.
2731
+ // Just the wordmark — no progress bar.
2728
2732
  if (!chosenTheme || !splashDone) {
2729
2733
  return /*#__PURE__*/jsxRuntime.jsx("div", {
2730
- className: "flex items-center justify-center w-screen h-screen bg-gray-950",
2731
- children: /*#__PURE__*/jsxRuntime.jsxs("div", {
2732
- className: "flex flex-col items-center gap-4",
2733
- children: [/*#__PURE__*/jsxRuntime.jsx("span", {
2734
- className: "text-white text-2xl font-bold tracking-tight opacity-80",
2735
- children: "Dash."
2736
- }), /*#__PURE__*/jsxRuntime.jsx("div", {
2737
- className: "w-16 h-0.5 bg-gray-700 rounded-full overflow-hidden",
2738
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
2739
- className: "h-full bg-gray-500 rounded-full",
2740
- style: {
2741
- width: "100%",
2742
- transform: "scaleX(0)",
2743
- transformOrigin: "left",
2744
- animation: "splashProgress 1.5s ease-out forwards"
2745
- }
2746
- })
2747
- }), /*#__PURE__*/jsxRuntime.jsx("style", {
2748
- children: "\n @keyframes splashProgress {\n 0% { transform: scaleX(0); }\n 100% { transform: scaleX(1); }\n }\n "
2749
- })]
2734
+ className: "flex items-center justify-center w-screen h-screen",
2735
+ children: /*#__PURE__*/jsxRuntime.jsx("span", {
2736
+ className: "text-white text-2xl font-bold tracking-tight opacity-80",
2737
+ children: "Dash."
2750
2738
  })
2751
2739
  });
2752
2740
  }