@trops/dash-core 0.1.113 → 0.1.114

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.esm.js CHANGED
@@ -21751,6 +21751,14 @@ var ThemeModel = function ThemeModel() {
21751
21751
  });
21752
21752
  theme["dark"]["name"] = theme.name;
21753
21753
 
21754
+ // Darkest shade (950 dark / 50 light) for stage backgrounds.
21755
+ // Added outside the variant loop to avoid generating invalid text/border
21756
+ // classes (invert(950) would be negative).
21757
+ colorTypes.forEach(function (type) {
21758
+ theme["dark"]["bg-".concat(type, "-darkest")] = "bg-".concat(theme[type], "-950");
21759
+ theme["light"]["bg-".concat(type, "-darkest")] = "bg-".concat(theme[type], "-50");
21760
+ });
21761
+
21754
21762
  // transparent colors
21755
21763
  theme["dark"]["bg-none"] = "bg-transparent";
21756
21764
  theme["dark"]["border-none"] = "border-transparent";
@@ -41136,8 +41144,8 @@ var DashboardHeader = function DashboardHeader(_ref) {
41136
41144
  onChange: onNameChange,
41137
41145
  textSize: "text-lg",
41138
41146
  placeholder: "My Workspace",
41139
- bgColor: "bg-gray-800",
41140
- textColor: "text-gray-400",
41147
+ bgColor: currentTheme["bg-primary-very-dark"],
41148
+ textColor: currentTheme["text-primary-medium"],
41141
41149
  hasBorder: false,
41142
41150
  autoFocus: true
41143
41151
  }), onFolderChange && menuItems.length > 0 && /*#__PURE__*/jsx(SelectInput, {
@@ -41151,9 +41159,9 @@ var DashboardHeader = function DashboardHeader(_ref) {
41151
41159
  }),
41152
41160
  onChange: onFolderChange,
41153
41161
  placeholder: "Folder",
41154
- backgroundColor: "bg-gray-800",
41155
- textColor: "text-gray-400",
41156
- borderColor: "border-gray-700",
41162
+ backgroundColor: currentTheme["bg-primary-very-dark"],
41163
+ textColor: currentTheme["text-primary-medium"],
41164
+ borderColor: currentTheme["border-primary-dark"],
41157
41165
  inputClassName: "py-1 text-sm",
41158
41166
  className: "w-40 shrink-0"
41159
41167
  }), onThemeChange && Object.keys(resolvedThemes).length > 0 && /*#__PURE__*/jsx(SelectInput, {
@@ -41170,9 +41178,9 @@ var DashboardHeader = function DashboardHeader(_ref) {
41170
41178
  }),
41171
41179
  onChange: onThemeChange,
41172
41180
  placeholder: "Theme",
41173
- backgroundColor: "bg-gray-800",
41174
- textColor: "text-gray-400",
41175
- borderColor: "border-gray-700",
41181
+ backgroundColor: currentTheme["bg-primary-very-dark"],
41182
+ textColor: currentTheme["text-primary-medium"],
41183
+ borderColor: currentTheme["border-primary-dark"],
41176
41184
  inputClassName: "py-1 text-sm",
41177
41185
  className: "w-40 shrink-0"
41178
41186
  }), onScrollableChange && /*#__PURE__*/jsx(Toggle, {