@superdispatch/ui 0.40.1 → 0.40.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.
@@ -3933,17 +3933,11 @@ function overrideToolbar(theme) {
3933
3933
  }
3934
3934
 
3935
3935
  function overrideTooltip(theme) {
3936
- var mode = theme.palette.type;
3937
- var color = mode === 'dark' ? exports.ColorDark.Silver400 : exports.Color.Dark500;
3938
- theme.props.MuiTooltip = {
3939
- arrow: true
3940
- };
3941
3936
  theme.overrides.MuiTooltip = {
3942
3937
  tooltip: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3943
3938
  padding: theme.spacing(1, 1.5),
3944
- backgroundColor: color,
3945
- color: exports.Color.White,
3946
- '--sd-dark-300': exports.Color.Silver500 //tooltip secondary color(Dark300) is invisible in light mode
3939
+ backgroundColor: exports.ColorDynamic.Dark500,
3940
+ '--sd-dark-300': exports.ColorDynamic.Silver500 //tooltip secondary color(Dark300) is invisible in dark mode
3947
3941
  }),
3948
3942
  popperArrow: {
3949
3943
  '&[x-placement*="top"] $arrow': {
@@ -3968,7 +3962,7 @@ function overrideTooltip(theme) {
3968
3962
  }
3969
3963
  },
3970
3964
  arrow: {
3971
- color,
3965
+ color: exports.ColorDynamic.Silver500,
3972
3966
  fontSize: theme.spacing(1)
3973
3967
  }
3974
3968
  };