@spteck/fluentui-react-charts 1.0.13 → 1.0.14

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.
@@ -789,7 +789,7 @@ var lightenColor = function lightenColor(hex, amount) {
789
789
  var getFluentPalette = function getFluentPalette(theme) {
790
790
  // Check if theme is dark by looking at global color tokens
791
791
  var isDark = theme.colorNeutralBackground1.startsWith('#1') || theme.colorNeutralBackground1 === '#000000';
792
- return isDark ? ['#2899f5', '#ff8c00', '#32cd32', '#f06b71', '#c390f2', '#00b7c3', '#ffb900', '#b4a0ff', '#60cdff', '#92c353'] : ['#0078d4', '#d83b01', '#107c10', '#a4262c', '#5c2d91', '#008272', '#c43148', '#005a9e', '#8764b8', '#498205'];
792
+ return isDark ? ['#2899f5', '#ff8c00', '#32cd32', '#f06b71', '#c390f2', '#00b7c3', '#ffb900', '#b4a0ff', '#60cdff', '#92c353'] : ['#0078d4', '#d83b01', '#097223', '#a4262c', '#3f0c7aff', '#024339ff', '#791d2dff', '#005a9e', '#8764b8', '#376102ff'];
793
793
  };
794
794
  /**
795
795
  * Returns animation configuration for instant interactions.
@@ -816,7 +816,7 @@ function createFluentTooltip(theme) {
816
816
  var fontSize = parseInt(theme.fontSizeBase200.replace('px', '')) || 14;
817
817
  var tooltipBg = theme.colorNeutralBackground1;
818
818
  var tooltipTitleColor = theme.colorNeutralForeground1;
819
- var tooltipBodyColor = theme.colorNeutralForeground1;
819
+ //const tooltipBodyColor = theme.colorNeutralForeground1;
820
820
  var borderColor = theme.colorNeutralStroke2;
821
821
  var callbacks = {
822
822
  title: function title(context) {
@@ -901,7 +901,6 @@ function createFluentTooltip(theme) {
901
901
  cornerRadius: 4,
902
902
  padding: 10,
903
903
  titleColor: tooltipTitleColor,
904
- bodyColor: tooltipBodyColor,
905
904
  titleFont: {
906
905
  family: fontFamily,
907
906
  size: fontSize